Mercurial > pub > Impl
comparison Lib/DOM/Providers/Security.pm @ 0:03e58a454b20
Создан репозитарий
| author | Sergey |
|---|---|
| date | Tue, 14 Jul 2009 12:54:37 +0400 |
| parents | |
| children | 16ada169ca75 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:03e58a454b20 |
|---|---|
| 1 use strict; | |
| 2 | |
| 3 package DOM::Providers::Security; | |
| 4 use Security; | |
| 5 | |
| 6 sub GetProviderInfo { | |
| 7 return { | |
| 8 Name => 'Security', | |
| 9 Host => 'DOM::Site', | |
| 10 Objects => { | |
| 11 Session => \&GetSession | |
| 12 } | |
| 13 } | |
| 14 } | |
| 15 | |
| 16 sub GetSession { | |
| 17 return Security->CurrentSession; | |
| 18 } | |
| 19 1; |
