Mercurial > pub > Impl
comparison Lib/IMPL/Web/Handler/SecureCookie.pm @ 233:3cebcf6fdb9b
refactoring, cleaning code
author | sergey |
---|---|
date | Thu, 11 Oct 2012 04:53:08 +0400 |
parents | ff1e8fa932f2 |
children | b8c724f6de36 |
comparison
equal
deleted
inserted
replaced
232:5c82eec23bb6 | 233:3cebcf6fdb9b |
---|---|
93 }) | 93 }) |
94 | 94 |
95 my $context = $this->$manager->CreateSession( | 95 my $context = $this->$manager->CreateSession( |
96 sessionId => $sid, | 96 sessionId => $sid, |
97 principal => $user, | 97 principal => $user, |
98 auth => AuthSimple->new(password => $cookie), | 98 auth => AuthSimple->Create(password => $cookie), |
99 authority => $this, | 99 authority => $this, |
100 assignedRoles => $roles | 100 assignedRoles => $roles |
101 ); | 101 ); |
102 | 102 |
103 $context->Apply(); | 103 $context->Apply(); |
150 | 150 |
151 =head2 C<[get,set] salt> | 151 =head2 C<[get,set] salt> |
152 | 152 |
153 Скаляр, использующийся для подписи данных. | 153 Скаляр, использующийся для подписи данных. |
154 | 154 |
155 =head2 C<[get,set] manager> | |
156 | |
157 Реализация менеджера безопасности, отвечающая за реализацию взаимодействия с | |
158 моделью безопасности. | |
159 | |
155 =head2 C<InitSession($user,$auth,$roles)> | 160 =head2 C<InitSession($user,$auth,$roles)> |
156 | 161 |
157 =cut | 162 =cut |