Spring Web Services Framework

org.springframework.ws.soap.security.xwss.callback
Class SpringUsernamePasswordCallbackHandler

java.lang.Object
  extended by org.springframework.ws.soap.security.callback.AbstractCallbackHandler
      extended by org.springframework.ws.soap.security.xwss.callback.SpringUsernamePasswordCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class SpringUsernamePasswordCallbackHandler
extends AbstractCallbackHandler

Callback handler that adds username/password information to a mesage using an Spring Security SecurityContext.

This class handles UsernameCallbacks and PasswordCallbacks, and throws an UnsupportedCallbackException for others

Since:
1.5.0
Author:
Arjen Poutsma

Field Summary
 
Fields inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler
logger
 
Constructor Summary
SpringUsernamePasswordCallbackHandler()
           
 
Method Summary
protected  void handleInternal(Callback callback)
          Template method that should be implemented by subclasses.
 
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

SpringUsernamePasswordCallbackHandler

public SpringUsernamePasswordCallbackHandler()
Method Detail

handleInternal

protected void handleInternal(Callback callback)
                       throws IOException,
                              UnsupportedCallbackException
Description copied from class: AbstractCallbackHandler
Template method that should be implemented by subclasses.

Specified by:
handleInternal in class AbstractCallbackHandler
Throws:
IOException
UnsupportedCallbackException

Spring Web Services Framework

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