lumis.portal.authentication
Class LumisLoginModule
java.lang.Object
lumis.portal.authentication.LumisLoginModule
- All Implemented Interfaces:
- LoginModule
@StableMinor(version="6.2",
sinceVersion="4.0")
public class LumisLoginModule
- extends Object
- implements LoginModule
Login Module used to login users registered in Lumis Portal.
- Since:
- 4.0.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subject
protected Subject subject
callbackHandler
protected CallbackHandler callbackHandler
options
protected Map options
debug
protected boolean debug
succeeded
protected boolean succeeded
commitSucceeded
protected boolean commitSucceeded
login
protected String login
password
protected char[] password
userPrincipal
protected LumisPrincipal userPrincipal
LumisLoginModule
public LumisLoginModule()
getLogin
protected String getLogin()
- Returns the login provided by the user
- Returns:
- Since:
- 4.0.10
getPassword
protected char[] getPassword()
- Returns the password provided by the user
- Returns:
- Since:
- 4.0.10
getModuleName
protected String getModuleName()
- Returns the Login module name used to display information to standard out.
- Returns:
- The login module name
- Since:
- 4.0.10
initialize
public void initialize(Subject arg0,
CallbackHandler arg1,
Map<String,?> arg2,
Map<String,?> arg3)
- Specified by:
initialize
in interface LoginModule
login
public boolean login()
throws LoginException
- Specified by:
login
in interface LoginModule
- Throws:
LoginException
validateLogin
protected boolean validateLogin()
throws LoginException
- Throws:
LoginException
commit
public boolean commit()
throws LoginException
- Specified by:
commit
in interface LoginModule
- Throws:
LoginException
abort
public boolean abort()
throws LoginException
- Specified by:
abort
in interface LoginModule
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Specified by:
logout
in interface LoginModule
- Throws:
LoginException
localize
protected String localize(String stringToLocalize)
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.