Apache CXF API

org.apache.cxf.ws.security.wss4j
Class AbstractUsernameTokenAuthenticatingInterceptor.CustomUsernameTokenProcessor

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.UsernameTokenProcessorWithoutCallbacks
      extended by org.apache.cxf.ws.security.wss4j.AbstractUsernameTokenAuthenticatingInterceptor.CustomUsernameTokenProcessor
All Implemented Interfaces:
org.apache.ws.security.processor.Processor
Enclosing class:
AbstractUsernameTokenAuthenticatingInterceptor

protected class AbstractUsernameTokenAuthenticatingInterceptor.CustomUsernameTokenProcessor
extends UsernameTokenProcessorWithoutCallbacks

Custom UsernameTokenProcessor Unfortunately, WSS4J UsernameTokenProcessor makes it impossible to override its handleUsernameToken only.


Constructor Summary
protected AbstractUsernameTokenAuthenticatingInterceptor.CustomUsernameTokenProcessor()
           
 
Method Summary
protected  org.apache.ws.security.WSUsernameTokenPrincipal createPrincipal(String user, String password, boolean isHashed, String nonce, String createdTime, String pwType)
           
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.UsernameTokenProcessorWithoutCallbacks
getId, handleToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUsernameTokenAuthenticatingInterceptor.CustomUsernameTokenProcessor

protected AbstractUsernameTokenAuthenticatingInterceptor.CustomUsernameTokenProcessor()
Method Detail

createPrincipal

protected org.apache.ws.security.WSUsernameTokenPrincipal createPrincipal(String user,
                                                                          String password,
                                                                          boolean isHashed,
                                                                          String nonce,
                                                                          String createdTime,
                                                                          String pwType)
                                                                   throws org.apache.ws.security.WSSecurityException
Overrides:
createPrincipal in class UsernameTokenProcessorWithoutCallbacks
Throws:
org.apache.ws.security.WSSecurityException

Apache CXF API

Apache CXF