view Lib/DOM/Providers/Security.pm @ 76:b1652a158b2b

Web::DOM
author wizard
date Wed, 31 Mar 2010 16:17:13 +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;