org.apache.ws.security.processor
Class SecurityContextTokenProcessor

java.lang.Object
  extended byorg.apache.ws.security.processor.SecurityContextTokenProcessor
All Implemented Interfaces:
Processor

public class SecurityContextTokenProcessor
extends java.lang.Object
implements Processor

The processor to process wsc:SecurityContextToken.

Author:
Ruchith Fernando (ruchith.fernando@gmail.com)

Constructor Summary
SecurityContextTokenProcessor()
           
 
Method Summary
 java.lang.String getId()
          Return the id of the
 java.lang.String getIdentifier()
           
 byte[] getSecret()
           
 void handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityContextTokenProcessor

public SecurityContextTokenProcessor()
Method Detail

handleToken

public void handleToken(org.w3c.dom.Element elem,
                        Crypto crypto,
                        Crypto decCrypto,
                        javax.security.auth.callback.CallbackHandler cb,
                        WSDocInfo wsDocInfo,
                        java.util.Vector returnResults,
                        WSSConfig config)
                 throws WSSecurityException
Specified by:
handleToken in interface Processor
Throws:
WSSecurityException

getId

public java.lang.String getId()
Return the id of the

Specified by:
getId in interface Processor
Returns:
The Id string

getIdentifier

public java.lang.String getIdentifier()
Returns:
Returns the identifier.

getSecret

public byte[] getSecret()
Returns:
Returns the secret.


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.