org.apache.ws.security.common
Class SecretKeyCallbackHandler
java.lang.Object
org.apache.ws.security.common.SecretKeyCallbackHandler
- All Implemented Interfaces:
- javax.security.auth.callback.CallbackHandler
public class SecretKeyCallbackHandler
- extends java.lang.Object
- implements javax.security.auth.callback.CallbackHandler
A Callback Handler implementation for the case of storing a secret key.
|
Method Summary |
void |
addSecretKey(java.lang.String identifier,
byte[] secretKey)
|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
|
void |
setOutboundSecret(byte[] secret)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecretKeyCallbackHandler
public SecretKeyCallbackHandler()
handle
public void handle(javax.security.auth.callback.Callback[] callbacks)
throws java.io.IOException,
javax.security.auth.callback.UnsupportedCallbackException
- Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
- Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
addSecretKey
public void addSecretKey(java.lang.String identifier,
byte[] secretKey)
setOutboundSecret
public void setOutboundSecret(byte[] secret)
throws WSSecurityException
- Throws:
WSSecurityException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.