Spring Web Services Framework

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

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.JaasPlainTextPasswordValidationCallbackHandler
All Implemented Interfaces:
CallbackHandler, InitializingBean

public class JaasPlainTextPasswordValidationCallbackHandler
extends AbstractJaasValidationCallbackHandler

Provides basic support for integrating with JAAS and plain text passwords.

This class only handles PasswordValidationCallbacks that contain a PlainTextPasswordRequest, and throws an UnsupportedCallbackException for others.

Since:
1.0.0
Author:
Arjen Poutsma
See Also:
AbstractJaasValidationCallbackHandler.getLoginContextName()

Field Summary
 
Fields inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler
logger
 
Constructor Summary
JaasPlainTextPasswordValidationCallbackHandler()
           
 
Method Summary
protected  void handleInternal(Callback callback)
          Handles PasswordValidationCallbacks that contain a PlainTextPasswordRequest, 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

JaasPlainTextPasswordValidationCallbackHandler

public JaasPlainTextPasswordValidationCallbackHandler()
Method Detail

handleInternal

protected final void handleInternal(Callback callback)
                             throws UnsupportedCallbackException
Handles PasswordValidationCallbacks that contain a PlainTextPasswordRequest, 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.