Project Aristotle - ArisID Attribute Services

org.openliberty.arisid.jaas
Class ArisIdLoginModule

java.lang.Object
  extended by org.openliberty.arisid.jaas.ArisIdLoginModule
All Implemented Interfaces:
javax.security.auth.spi.LoginModule

public class ArisIdLoginModule
extends java.lang.Object
implements javax.security.auth.spi.LoginModule

The ArisIdLoginModule uses the IGF Attribute Services API to implement the JAAS LoginModule interface. TODO To be implemented!


Field Summary
static java.lang.String ARISID_USER
           
static java.lang.String CFG_ROLES
           
static java.lang.String ID_ATTRIBUTE_SERVICE_LOGIN_MODULE
           
static java.lang.String PROP_PROVIDER_HOME
           
static java.lang.String PROP_PROVIDER_STACK
           
 
Constructor Summary
ArisIdLoginModule()
           
 
Method Summary
 boolean abort()
           
 boolean commit()
           
 void initialize(javax.security.auth.Subject userSubject, javax.security.auth.callback.CallbackHandler attrSvcsCallback, java.util.Map sharedState, java.util.Map options)
           
 boolean login()
           
 boolean logout()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARISID_USER

public static final java.lang.String ARISID_USER
See Also:
Constant Field Values

CFG_ROLES

public static final java.lang.String CFG_ROLES
See Also:
Constant Field Values

ID_ATTRIBUTE_SERVICE_LOGIN_MODULE

public static final java.lang.String ID_ATTRIBUTE_SERVICE_LOGIN_MODULE
See Also:
Constant Field Values

PROP_PROVIDER_HOME

public static final java.lang.String PROP_PROVIDER_HOME
See Also:
Constant Field Values

PROP_PROVIDER_STACK

public static final java.lang.String PROP_PROVIDER_STACK
See Also:
Constant Field Values
Constructor Detail

ArisIdLoginModule

public ArisIdLoginModule()
Method Detail

abort

public boolean abort()
              throws javax.security.auth.login.LoginException
Specified by:
abort in interface javax.security.auth.spi.LoginModule
Throws:
javax.security.auth.login.LoginException

commit

public boolean commit()
               throws javax.security.auth.login.LoginException
Specified by:
commit in interface javax.security.auth.spi.LoginModule
Throws:
javax.security.auth.login.LoginException

initialize

public void initialize(javax.security.auth.Subject userSubject,
                       javax.security.auth.callback.CallbackHandler attrSvcsCallback,
                       java.util.Map sharedState,
                       java.util.Map options)
Specified by:
initialize in interface javax.security.auth.spi.LoginModule

login

public boolean login()
              throws javax.security.auth.login.LoginException
Specified by:
login in interface javax.security.auth.spi.LoginModule
Throws:
javax.security.auth.login.LoginException

logout

public boolean logout()
               throws javax.security.auth.login.LoginException
Specified by:
logout in interface javax.security.auth.spi.LoginModule
Throws:
javax.security.auth.login.LoginException

OpenLiberty.org - Licensed under Apache APL 2.0