org.springframework.ws.soap.security.xwss.callback.jaas
Class JaasCertificateValidationCallbackHandler
java.lang.Object
org.springframework.ws.soap.security.xwss.callback.AbstractCallbackHandler
org.springframework.ws.soap.security.xwss.callback.jaas.AbstractJaasValidationCallbackHandler
org.springframework.ws.soap.security.xwss.callback.jaas.JaasCertificateValidationCallbackHandler
- All Implemented Interfaces:
- CallbackHandler, 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 X500Principal
s.
This class only handles CertificateValidationCallback
s, 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 CertificateValidationCallback s, 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
CertificateValidationCallback
s, and throws an UnsupportedCallbackException
for
others
- Specified by:
handleInternal
in class AbstractCallbackHandler
- Throws:
UnsupportedCallbackException
- when the callback is not supported
Copyright � 2005-2008 The Spring Web Services Framework. All Rights Reserved.