public class PicketBoxCallbackHandler extends Object implements CallbackHandler, HandlerContract
Constructor and Description |
---|
PicketBoxCallbackHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks) |
void |
setSecurityInfo(Principal principal,
Object credential)
Set the security context.
|
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
CallbackHandler.handle(Callback[])
public void setSecurityInfo(Principal principal, Object credential)
HandlerContract
Set the security context.
For X509 Certificates, they can be passed as the Credential.
setSecurityInfo
in interface HandlerContract
principal
- Principal to be usedcredential
- Credential to be usedHandlerContract.setSecurityInfo(Principal, Object)
Copyright © 2017 JBoss by Red Hat. All rights reserved.