Changeset 4309 for TI12-security/trunk


Ignore:
Timestamp:
08/10/08 14:24:26 (11 years ago)
Author:
pjkersha
Message:

Fleshed out MyProxyClient? AuthNService interface implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/authnservice/session_mgr_my_proxy_client.py

    r4157 r4309  
    1515 
    1616from ndg.security.server.SessionMgr import AbstractAutheNService 
     17from ndg.security.common.myproxy import MyProxyClient 
    1718 
    18 class SessionMgrMyProxyClient(AbstractAutheNService): 
     19class MyProxyAuthN(AbstractAuthNService): 
     20    '''Provide an Authentication interface to the Session Manager utilising 
     21    MyProxy''' 
     22     
     23    def __init__(self, propFilePath=None, **prop): 
     24        '''Instantiate MyProxy client object taking in settings from the  
     25        properties file''' 
     26        self._myProxyClnt = MyProxyClient(propFilePath=propFilePath) 
     27         
     28    def logon(self, username, passphrase): 
     29        '''Implementation of AbstractAuthNService logon for a MyProxy client 
     30        @type username: basestring 
     31        @param username: username for account login 
     32        @type passphrase: basestring 
     33        @param passphrase: passphrase (or password) for user account 
     34        ''' 
     35        self._myProxyClnt.logon(username, password) 
Note: See TracChangeset for help on using the changeset viewer.