org.ogf.graap.wsag.api.security
Class KeystoreLoginModule

java.lang.Object
  extended by org.ogf.graap.wsag.api.security.KeystoreLoginModule
All Implemented Interfaces:
LoginModule

public class KeystoreLoginModule
extends Object
implements LoginModule

KeystoreLoginModule

Author:
Oliver Waeldrich

Constructor Summary
KeystoreLoginModule()
           
 
Method Summary
 boolean abort()
          
 boolean commit()
          
 void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
          
 boolean login()
          
 boolean logout()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeystoreLoginModule

public KeystoreLoginModule()
Method Detail

initialize

public void initialize(Subject subject,
                       CallbackHandler callbackHandler,
                       Map sharedState,
                       Map options)

Specified by:
initialize in interface LoginModule
See Also:
LoginModule.initialize(javax.security.auth.Subject, javax.security.auth.callback.CallbackHandler, java.util.Map, java.util.Map)

login

public boolean login()
              throws LoginException

Specified by:
login in interface LoginModule
Throws:
LoginException
See Also:
LoginModule.login()

commit

public boolean commit()
               throws LoginException

Specified by:
commit in interface LoginModule
Throws:
LoginException
See Also:
LoginModule.commit()

abort

public boolean abort()
              throws LoginException

Specified by:
abort in interface LoginModule
Throws:
LoginException
See Also:
LoginModule.abort()

logout

public boolean logout()
               throws LoginException

Specified by:
logout in interface LoginModule
Throws:
LoginException
See Also:
LoginModule.logout()


Copyright © 2008-2012. All Rights Reserved.