view Lib/DOM/Providers/Security.pm @ 80:f017c0d7527c

minor changes + docs
author wizard
date Wed, 07 Apr 2010 01:05:02 +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;