Spring Web Services Framework

org.springframework.ws.soap.security.xwss.callback.jaas
Class JaasCertificateValidationCallbackHandler

java.lang.Object
  extended by org.springframework.ws.soap.security.callback.AbstractCallbackHandler
      extended by org.springframework.ws.soap.security.xwss.callback.jaas.AbstractJaasValidationCallbackHandler
          extended by 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 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)

Field Summary
 
Fields inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler
logger
 
Constructor Summary
JaasCertificateValidationCallbackHandler()
           
 
Method Summary
protected  void handleInternal(Callback callback)
          Handles CertificateValidationCallbacks, and throws an UnsupportedCallbackException for others
 
Methods inherited from class org.springframework.ws.soap.security.xwss.callback.jaas.AbstractJaasValidationCallbackHandler
afterPropertiesSet, getLoginContextName, setLoginContextName
 
Methods inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler
handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaasCertificateValidationCallbackHandler

public JaasCertificateValidationCallbackHandler()
Method Detail

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

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.