org.apache.ws.sandbox.security.trust.message.token
Class Entropy
java.lang.Object
org.apache.ws.sandbox.security.trust.message.token.AbstractToken
org.apache.ws.sandbox.security.trust.message.token.CompositeElement
org.apache.ws.sandbox.security.trust.message.token.Entropy
- public class Entropy
- extends CompositeElement
- Author:
- Dimuthu Leelarathne. (muthulee@yahoo.com), Ruchith Fernando
Field Summary |
static javax.xml.namespace.QName |
TOKEN
|
Constructor Summary |
Entropy(org.w3c.dom.Document doc)
Create a new wst:Entropy element |
Entropy(org.w3c.dom.Element elem)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TOKEN
public static final javax.xml.namespace.QName TOKEN
Entropy
public Entropy(org.w3c.dom.Element elem)
throws WSTrustException
- Constructor.
- Parameters:
elem
-
- Throws:
WSSecurityException
WSTrustException
Entropy
public Entropy(org.w3c.dom.Document doc)
- Create a new
wst:Entropy
element
- Parameters:
doc
-
setBinarySecret
public void setBinarySecret(BinarySecret secret)
- TODO: IMPORTANT : This method should be removed
set the BinarySecret.
- Parameters:
secret
-
setBinarySecret
public void setBinarySecret(java.lang.String type,
java.lang.String secretValue)
- Sets the binary secret value
- Parameters:
type
- The type uri of the binary secret as a String
secretValue
- The binary secret value as a String
getBinarySecret
public BinarySecret getBinarySecret()
throws WSTrustException
- Returns:
-
- Throws:
WSTrustException
getToken
protected javax.xml.namespace.QName getToken()
- Returns the QName of this type
- Specified by:
getToken
in class AbstractToken
- Returns:
- See Also:
AbstractToken.getToken()
deserializeChildElement
protected void deserializeChildElement(org.w3c.dom.Element elem)
throws WSTrustException
- Description copied from class:
AbstractToken
- This is called for each of the immediate
child elements of type
Node.ELEMENT_NODE
of this token
- Specified by:
deserializeChildElement
in class AbstractToken
- Parameters:
elem
- The child element
- Throws:
WSTrustException
Copyright © 2004-2008 Apache Web Services. All Rights Reserved.