public class SecurityAssociationHandler extends Object implements CallbackHandler
CallbackHandler
,
handle(Callback[])
Constructor and Description |
---|
SecurityAssociationHandler() |
SecurityAssociationHandler(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.
|
void |
setSecurityInfo(Principal principal,
Object credential) |
public void handle(Callback[] callbacks) throws UnsupportedCallbackException, IOException
handle
in interface CallbackHandler
UnsupportedCallbackException
- - thrown if any callback of
type other than SecurityAssociationCallback, ObjectCallback, NameCallback
or PasswordCallback are seen.IOException
getPassword()
Copyright © 2018 JBoss by Red Hat. All rights reserved.