org.apache.ws.security.policy.parser.processors
Class UsernameTokenProcessor

java.lang.Object
  extended byorg.apache.ws.security.policy.parser.processors.UsernameTokenProcessor

public class UsernameTokenProcessor
extends java.lang.Object

Author:
Werner Dittmann (werner@apache.org)

Constructor Summary
UsernameTokenProcessor()
           
 
Method Summary
 java.lang.Object doUsernameToken(SecurityProcessorContext spc)
           
 java.lang.Object doWssUsernameToken10(SecurityProcessorContext spc)
           
 java.lang.Object doWssUsernameToken11(SecurityProcessorContext spc)
           
 void initializeUsernameToken(SecurityPolicyToken spt)
          Intialize the UsernameToken complex token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernameTokenProcessor

public UsernameTokenProcessor()
Method Detail

initializeUsernameToken

public void initializeUsernameToken(SecurityPolicyToken spt)
                             throws java.lang.NoSuchMethodException
Intialize the UsernameToken complex token. This method creates copies of the child tokens that are allowed for UsernameToken. These tokens are WssUsernameToken10 and WssUsernameToken11. These copies are also initialized with the handler object and then set as child tokens of UsernameToken.

The handler object must define the methods doWssUsernameToken10, doWssUsernameToken11.

Parameters:
spt - The token that will hold the child tokens.
Throws:
java.lang.NoSuchMethodException

doUsernameToken

public java.lang.Object doUsernameToken(SecurityProcessorContext spc)

doWssUsernameToken10

public java.lang.Object doWssUsernameToken10(SecurityProcessorContext spc)

doWssUsernameToken11

public java.lang.Object doWssUsernameToken11(SecurityProcessorContext spc)


Copyright © 2004-2008 Apache Web Services. All Rights Reserved.