public class JBossCallbackHandler extends Object implements CallbackHandler, Serializable
| Constructor and Description |
|---|
JBossCallbackHandler() |
JBossCallbackHandler(Principal principal,
Object credential)
Initialize the UsernamePasswordHandler with the principal
and credentials to use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Callback[] callbacks)
Handles SecurityAssociationCallback, ObjectCallback, NameCallback and
PasswordCallback types.
|
protected void |
handleCallBack(Callback c)
Handle a
Callback |
void |
setSecurityInfo(Principal principal,
Object credential) |
public void handle(Callback[] callbacks) throws UnsupportedCallbackException, IOException
handle in interface CallbackHandlerUnsupportedCallbackException - - thrown if any callback of
type other than SecurityAssociationCallback, ObjectCallback, NameCallback
or PasswordCallback are seen.IOExceptiongetPassword()protected void handleCallBack(Callback c) throws UnsupportedCallbackException
Callbackc - callbackUnsupportedCallbackException - If the callback is not supported by this handlerCopyright © 2018 JBoss by Red Hat. All rights reserved.