view Lib/DOM/Providers/Security.pm @ 88:0d2337e203c0

minor changes
author wizard
date Tue, 20 Apr 2010 20:25:29 +0400
parents 16ada169ca75
children
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;