com.liferay.portal.security.jaas.ext
Class BasicLoginModule
java.lang.Object
com.liferay.portal.security.jaas.ext.BasicLoginModule
- All Implemented Interfaces:
- LoginModule
- Direct Known Subclasses:
- PortalLoginModule, PortalLoginModule, PortalLoginModule, PortalLoginModule, PortalLoginModule, PortalLoginModule
public class BasicLoginModule
- extends Object
- implements LoginModule
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicLoginModule
public BasicLoginModule()
abort
public boolean abort()
- Specified by:
abort in interface LoginModule
commit
public boolean commit()
- Specified by:
commit in interface LoginModule
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> 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()
- Specified by:
logout in interface LoginModule
getSubject
protected Subject getSubject()
getPrincipal
protected Principal getPrincipal()
setPrincipal
protected void setPrincipal(Principal principal)
getPortalPrincipal
protected Principal getPortalPrincipal(String name)
getPassword
protected String getPassword()
setPassword
protected void setPassword(String password)
authenticate
protected String[] authenticate()
throws IOException,
UnsupportedCallbackException
- Throws:
IOException
UnsupportedCallbackException