Changeset 24221 for lang/perl/Moxy

Show
Ignore:
Timestamp:
11/19/08 11:55:30 (7 weeks ago)
Author:
tokuhirom
Message:

HTTP::Session 0.20 対応

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Moxy/trunk/lib/Moxy/Session/State/BasicAuth.pm

    r22986 r24221  
    11package Moxy::Session::State::BasicAuth; 
    2 use Moose; 
    3 with 'HTTP::Session::Role::State'; 
     2use HTTP::Session::State::Base; 
    43 
    5 has realm => ( 
    6     is  => 'rw', 
    7     isa => 'Str', 
    8     default => 'Moxy needs basic auth.Only for identification.Password is dummy.', 
    9 ); 
     4sub realm { 'Moxy needs basic auth.Only for identification.Password is dummy.' } 
    105 
    11 has '+permissive' => ( 'default' => 1 ); 
     6sub new { 
     7    bless {permissive => 1}, shift; 
     8} 
    129 
    1310sub get_session_id { 
     
    1815sub response_filter { } 
    1916 
    20 no Moose; 
    21 __PACKAGE__->meta->make_immutable; 
    22171; 
    2318