view Lib/DOM/Providers/Security.pm @ 3:2e546a5175dd

in developing
author Sergey
date Tue, 11 Aug 2009 17:45:52 +0400
parents 03e58a454b20
children 16ada169ca75
line wrap: on
line source

use strict;

package DOM::Providers::Security;
use Security;

sub GetProviderInfo {
    return {
        Name => 'Security',
        Host => 'DOM::Site',
        Objects => {
            Session => \&GetSession
        }
    }
}

sub GetSession {
    return Security->CurrentSession;
}
1;