org.springframework.ws.soap.security.xwss.callback.jaas
Class JaasCertificateValidationCallbackHandler
java.lang.Object
org.springframework.ws.soap.security.callback.AbstractCallbackHandler
org.springframework.ws.soap.security.xwss.callback.jaas.AbstractJaasValidationCallbackHandler
org.springframework.ws.soap.security.xwss.callback.jaas.JaasCertificateValidationCallbackHandler
- All Implemented Interfaces:
- CallbackHandler, org.springframework.beans.factory.InitializingBean
public class JaasCertificateValidationCallbackHandler
- extends AbstractJaasValidationCallbackHandler
Provides basic support for integrating with JAAS and certificates. Requires the loginContextName to be
set.Requires a LoginContext which handles X500Principals.
This class only handles CertificateValidationCallbacks, and throws an
UnsupportedCallbackException for others.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
X500Principal,
AbstractJaasValidationCallbackHandler.setLoginContextName(String)
|
Method Summary |
protected void |
handleInternal(Callback callback)
Handles CertificateValidationCallbacks, and throws an UnsupportedCallbackException for
others |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaasCertificateValidationCallbackHandler
public JaasCertificateValidationCallbackHandler()
handleInternal
protected final void handleInternal(Callback callback)
throws UnsupportedCallbackException
- Handles
CertificateValidationCallbacks, and throws an UnsupportedCallbackException for
others
- Specified by:
handleInternal in class AbstractCallbackHandler
- Throws:
UnsupportedCallbackException - when the callback is not supported
Copyright © 2011. All Rights Reserved.