|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.auth.callback.AppCallbackHandler
public class AppCallbackHandler
JBAS-3109:AppCallbackHandler as the default CallbackHandler in the security module An implementation of the JAAS CallbackHandler interface that handles NameCallbacks, PasswordCallback, TextInputCallback and the JBoss ByteArrayCallback. All JBoss Callbacks must be handled. - MapCallback
CallbackHandler
,
handle(Callback[])
Constructor Summary | |
---|---|
AppCallbackHandler(boolean isConsoleHandler)
Create a new AppCallbackHandler. |
|
AppCallbackHandler(Map mapOfValues)
Create a new AppCallbackHandler. |
|
AppCallbackHandler(String prompt)
Create a new AppCallbackHandler. |
|
AppCallbackHandler(String username,
char[] password)
|
|
AppCallbackHandler(String username,
char[] password,
byte[] data)
|
|
AppCallbackHandler(String username,
char[] password,
byte[] data,
String text)
|
Method Summary | |
---|---|
void |
clearCredential()
|
Object |
getCredential()
|
String |
getPrompt()
|
void |
handle(Callback[] callbacks)
|
void |
setCredential(Object credential)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppCallbackHandler(String username, char[] password)
public AppCallbackHandler(String username, char[] password, byte[] data)
public AppCallbackHandler(String username, char[] password, byte[] data, String text)
public AppCallbackHandler(boolean isConsoleHandler)
isConsoleHandler
- Denotes whether the input is from
the console.public AppCallbackHandler(String prompt)
prompt
- Prompt meaningful to the LoginModulepublic AppCallbackHandler(Map mapOfValues)
mapOfValues
- Key Value PairMethod Detail |
---|
public String getPrompt()
public Object getCredential()
public void setCredential(Object credential)
public void clearCredential()
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |