Apache CXF API

org.apache.cxf.ws.security.wss4j
Class UsernameTokenProcessorWithoutCallbacks

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

public class UsernameTokenProcessorWithoutCallbacks
extends Object
implements org.apache.ws.security.processor.Processor

UsernameToken processor which creates Principal without delegating to CallbackHandlers


Constructor Summary
UsernameTokenProcessorWithoutCallbacks()
           
 
Method Summary
protected  org.apache.ws.security.WSUsernameTokenPrincipal createPrincipal(String user, String password, boolean isHashed, String nonce, String createdTime, String pwType)
           
 String getId()
           
 void handleToken(Element elem, org.apache.ws.security.components.crypto.Crypto crypto, org.apache.ws.security.components.crypto.Crypto decCrypto, CallbackHandler cb, org.apache.ws.security.WSDocInfo wsDocInfo, Vector returnResults, org.apache.ws.security.WSSConfig wsc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernameTokenProcessorWithoutCallbacks

public UsernameTokenProcessorWithoutCallbacks()
Method Detail

handleToken

public void handleToken(Element elem,
                        org.apache.ws.security.components.crypto.Crypto crypto,
                        org.apache.ws.security.components.crypto.Crypto decCrypto,
                        CallbackHandler cb,
                        org.apache.ws.security.WSDocInfo wsDocInfo,
                        Vector returnResults,
                        org.apache.ws.security.WSSConfig wsc)
                 throws org.apache.ws.security.WSSecurityException
Specified by:
handleToken in interface org.apache.ws.security.processor.Processor
Throws:
org.apache.ws.security.WSSecurityException

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
Throws:
org.apache.ws.security.WSSecurityException

getId

public String getId()
Specified by:
getId in interface org.apache.ws.security.processor.Processor

Apache CXF API

Apache CXF