electric.soap.security.tokens
Class SecurityTokenFactory

java.lang.Object
  extended byelectric.soap.security.tokens.SecurityTokenFactory
All Implemented Interfaces:
IWSSConstants

public class SecurityTokenFactory
extends java.lang.Object
implements IWSSConstants

SecurityTokenFactory

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.soap.security.IWSSConstants
PASSWORD_DIGEST, PASSWORD_TEXT, SECURITY, SECURITY_TOKEN_REFERENCE, URI_ATTRIBUTE, WSSE_NAMESPACE, WSSE_PREFIX, WSU_NAMESPACE, WSU_PREFIX, X509_ENCODING_TYPE
 
Constructor Summary
SecurityTokenFactory()
           
 
Method Summary
 SecurityToken createToken(Element tokenElement)
          Given an XML Element, create a new WSS_CONTEXT SecurityToken that corresponds to the element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityTokenFactory

public SecurityTokenFactory()
Method Detail

createToken

public SecurityToken createToken(Element tokenElement)
                          throws java.lang.Exception
Given an XML Element, create a new WSS_CONTEXT SecurityToken that corresponds to the element.

Parameters:
tokenElement -
Returns:
a new token, or null if one could not be constructed
Throws:
java.lang.Exception


copyright© 2001-2004 by webMethods All Rights Reserved.