org.springframework.ws.soap.security.callback
Class CallbackHandlerChain

java.lang.Object
  extended by org.springframework.ws.soap.security.callback.AbstractCallbackHandler
      extended by org.springframework.ws.soap.security.callback.CallbackHandlerChain
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
Direct Known Subclasses:
XwssCallbackHandlerChain

public class CallbackHandlerChain
extends AbstractCallbackHandler

Represents a chain of CallbackHandlers. For each callback, each of the handlers is called in term. If a handler throws a UnsupportedCallbackException, the next handler is tried.

Since:
1.5.0
Author:
Arjen Poutsma

Field Summary
 
Fields inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler
logger
 
Constructor Summary
CallbackHandlerChain(javax.security.auth.callback.CallbackHandler[] callbackHandlers)
           
 
Method Summary
 javax.security.auth.callback.CallbackHandler[] getCallbackHandlers()
           
protected  void handleInternal(javax.security.auth.callback.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

CallbackHandlerChain

public CallbackHandlerChain(javax.security.auth.callback.CallbackHandler[] callbackHandlers)
Method Detail

getCallbackHandlers

public javax.security.auth.callback.CallbackHandler[] getCallbackHandlers()

handleInternal

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

Specified by:
handleInternal in class AbstractCallbackHandler
Throws:
IOException
javax.security.auth.callback.UnsupportedCallbackException


Copyright © 2010. All Rights Reserved.