@StableMinor(version="12.3", sinceVersion="4.0") public class LumisLoginModule extends Object implements LoginModule
Modifier and Type | Field and Description |
---|---|
protected CallbackHandler |
callbackHandler |
protected boolean |
commitSucceeded |
protected boolean |
debug |
protected String |
login |
protected Map |
options |
protected char[] |
password |
protected Subject |
subject |
protected boolean |
succeeded |
protected LumisPrincipal |
userPrincipal |
Constructor and Description |
---|
LumisLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort() |
boolean |
commit() |
protected String |
getLogin()
Returns the login provided by the user
|
protected String |
getModuleName()
Returns the Login module name used to display information to standard out.
|
protected char[] |
getPassword()
Returns the password provided by the user
|
void |
initialize(Subject arg0,
CallbackHandler arg1,
Map<String,?> arg2,
Map<String,?> arg3) |
protected String |
localize(String stringToLocalize) |
boolean |
login() |
boolean |
logout() |
protected boolean |
validateLogin() |
protected Subject subject
protected CallbackHandler callbackHandler
protected Map options
protected boolean debug
protected boolean succeeded
protected boolean commitSucceeded
protected String login
protected char[] password
protected LumisPrincipal userPrincipal
protected String getLogin()
protected char[] getPassword()
protected String getModuleName()
public void initialize(Subject arg0, CallbackHandler arg1, Map<String,?> arg2, Map<String,?> arg3)
initialize
in interface LoginModule
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
protected boolean validateLogin() throws LoginException
LoginException
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.