public abstract class AbstractLoginModule extends Object implements LoginModule
Modifier and Type | Field and Description |
---|---|
protected CallbackHandler |
callBackHandler |
Constructor and Description |
---|
AbstractLoginModule() |
Modifier and Type | Method and Description |
---|---|
protected String |
getUsernameFromCallBack()
Get the user's name from the callback.
|
protected Object[] |
getUsernamePasswordFromCallBack()
Get username and password from the callback.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abort, commit, initialize, login, logout
protected CallbackHandler callBackHandler
protected Object[] getUsernamePasswordFromCallBack() throws LoginException
LoginException
- if the retrieval fails (e.g. no callback is available).protected String getUsernameFromCallBack() throws LoginException
LoginException
- if the retrieval fails (e.g. no callback is available).Copyright © 2013. All Rights Reserved.