com.stratelia.webactiv.jaas
Class SilverpeasLoginModule
java.lang.Object
com.stratelia.webactiv.jaas.SilverpeasLoginModule
- All Implemented Interfaces:
- LoginModule
public class SilverpeasLoginModule
- extends Object
- implements LoginModule
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SilverpeasLoginModule
public SilverpeasLoginModule()
getUserId
public String getUserId()
getSubject
public Subject getSubject()
setAuthenticator
public void setAuthenticator(AuthenticationService authenticator)
setController
public void setController(OrganisationController controller)
setAdministrator
public void setAdministrator(Admin administrator)
abort
public boolean abort()
throws LoginException
- Specified by:
abort
in interface LoginModule
- Throws:
LoginException
commit
public boolean commit()
throws LoginException
- Specified by:
commit
in interface LoginModule
- Throws:
LoginException
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
- Specified by:
initialize
in interface LoginModule
login
public boolean login()
throws LoginException
- Specified by:
login
in interface LoginModule
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Specified by:
logout
in interface LoginModule
- Throws:
LoginException
fillPrincipal
protected void fillPrincipal(SilverpeasUserPrincipal principal)
validateDigestUser
public boolean validateDigestUser(SilverpeasUserPrincipal principal,
DigestCredentials sc)
throws AdminException
- Throws:
AdminException
Copyright © 2016 Silverpeas. All Rights Reserved.