org.apache.servicemix.soap.handlers.security
Class WSSecurityHandler.DefaultHandler
java.lang.Object
org.apache.servicemix.soap.handlers.security.BaseSecurityCallbackHandler
org.apache.servicemix.soap.handlers.security.WSSecurityHandler.DefaultHandler
- All Implemented Interfaces:
- CallbackHandler
- Enclosing class:
- WSSecurityHandler
protected class WSSecurityHandler.DefaultHandler
- extends BaseSecurityCallbackHandler
|
Method Summary |
protected void |
processSignature(org.apache.ws.security.WSPasswordCallback callback)
Need the password to get the private key of
this identifier (username) from the keystore. |
protected void |
processUsernameTokenUnkown(org.apache.ws.security.WSPasswordCallback callback)
Either a not specified
password type or a password type passwordText. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSSecurityHandler.DefaultHandler
protected WSSecurityHandler.DefaultHandler()
processSignature
protected void processSignature(org.apache.ws.security.WSPasswordCallback callback)
throws IOException,
UnsupportedCallbackException
- Description copied from class:
BaseSecurityCallbackHandler
- Need the password to get the private key of
this identifier (username) from the keystore. WSS4J uses this private
key to produce a signature. The signature verfication uses the public
key to verfiy the signature
- Overrides:
processSignature in class BaseSecurityCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
processUsernameTokenUnkown
protected void processUsernameTokenUnkown(org.apache.ws.security.WSPasswordCallback callback)
throws IOException,
UnsupportedCallbackException
- Description copied from class:
BaseSecurityCallbackHandler
- Either a not specified
password type or a password type passwordText. In these both cases only
the password variable is set>. The callback class now may check if
the username and password match. If they don't match the callback class must
throw an exception. The exception can be a UnsupportedCallbackException or
an IOException.
- Overrides:
processUsernameTokenUnkown in class BaseSecurityCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.