Spring Web Services Framework

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

java.lang.Object
  extended by org.springframework.ws.soap.security.callback.AbstractCallbackHandler
All Implemented Interfaces:
CallbackHandler
Direct Known Subclasses:
AbstractJaasValidationCallbackHandler, AbstractWsPasswordCallbackHandler, CallbackHandlerChain, CryptographyCallbackHandler, MockValidationCallbackHandler, SimplePasswordValidationCallbackHandler, SimpleUsernamePasswordCallbackHandler, SpringCertificateValidationCallbackHandler, SpringDigestPasswordValidationCallbackHandler, SpringPlainTextPasswordValidationCallbackHandler, SpringUsernamePasswordCallbackHandler

public abstract class AbstractCallbackHandler
extends Object
implements CallbackHandler

Abstract implementation of a CallbackHandler.

Since:
1.0.0
Author:
Arjen Poutsma

Field Summary
protected  Log logger
          Logger available to subclasses.
 
Constructor Summary
protected AbstractCallbackHandler()
           
 
Method Summary
 void handle(Callback[] callbacks)
          Iterates over the given callbacks, and calls handleInternal for each of them.
protected abstract  void handleInternal(Callback callback)
          Template method that should be implemented by subclasses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger
Logger available to subclasses.

Constructor Detail

AbstractCallbackHandler

protected AbstractCallbackHandler()
Method Detail

handle

public final void handle(Callback[] callbacks)
                  throws IOException,
                         UnsupportedCallbackException
Iterates over the given callbacks, and calls handleInternal for each of them.

Specified by:
handle in interface CallbackHandler
Parameters:
callbacks - the callbacks
Throws:
IOException
UnsupportedCallbackException
See Also:
handleInternal(javax.security.auth.callback.Callback)

handleInternal

protected abstract void handleInternal(Callback callback)
                                throws IOException,
                                       UnsupportedCallbackException
Template method that should be implemented by subclasses.

Throws:
IOException
UnsupportedCallbackException

Spring Web Services Framework

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