Ignore:
Timestamp:
03/12/08 17:14:46 (12 years ago)
Author:
pjkersha
Message:

Added an Authentication interface for the OpenID Provider to enable authentication method to be customised. TODO:

  • add plugin for link Session Manager WSGI based Authentication
  • Provide capability for defining OpenID identifier from authentication interface.
File:
1 edited

Legend:

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

    r4520 r4528  
    11401140        given by propFilePath 
    11411141         
    1142         @param propertiesFile:   set properties via a configuration file 
    1143         @param **prop:         set properties via keywords - see __validKeys 
     1142        @type propertiesFile: basestring 
     1143        @param propertiesFile: set properties via a configuration file 
     1144        @type **prop: dict 
     1145        @param **prop: set properties via keywords - see __validKeys 
    11441146        class variable for a list of these 
    11451147        @raise AuthNServiceInitError: error with initialisation 
     
    11481150        specific exception types. 
    11491151        """ 
    1150         pass 
    11511152     
    11521153    def setProperties(self, **prop): 
     
    11561157                            self.setProperties.__doc__.replace('\n       ','')) 
    11571158         
    1158     def logon(self, username, passphrase, lifetime=None): 
    1159         """ 
    1160         Retrieve a proxy credential from a proxy server 
     1159    def logon(self, username, passphrase): 
     1160        """Interface login method 
    11611161         
    11621162        @type username: basestring 
     
    11641164         
    11651165        @type passphrase: basestring 
    1166         @param passphrase: pass-phrase for private key of credential held on 
    1167         server 
    1168          
    1169         @type lifetime: int 
    1170         @param lifetime: lifetime for generated certificate 
    1171          
     1166        @param passphrase: passphrase corresponding to username  
    11721167        @raise AuthNServiceInvalidCredentials: invalid username/passphrase 
    11731168        @raise AuthNServiceError: error  
Note: See TracChangeset for help on using the changeset viewer.