org.apache.axis2.security.trust.token
Class Claims
java.lang.Object
org.apache.axis2.security.trust.token.AbstractToken
org.apache.axis2.security.trust.token.CompositeToken
org.apache.axis2.security.trust.token.Claims
- public class Claims
- extends CompositeToken
- Author:
- Ruchith Fernando (ruchith.fernando@gmail.com)
|
Field Summary |
static javax.xml.namespace.QName |
TOKEN
|
|
Method Summary |
void |
addToken(OMElement token)
Add a token as a child
This is provided as an extensibility mechanism to add any
child element to the wst:Claims element |
protected void |
deserializeChildElement(OMElement element)
This is called for each of the immediate
child elements of type OMNode.ELEMENT_NODE of this token |
java.util.Iterator |
getChildTokens()
Retuns an interator of child elements |
java.lang.String |
getDialectAttribute()
Returns the value of the wst:Claims/@Dialect |
protected javax.xml.namespace.QName |
getToken()
|
void |
setDialectAttribute(java.lang.String value)
Sets the value of the wst:Claims/@Dialect
Dialect attribute specifies a URI to indicate the syntax of the claims |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN
public static final javax.xml.namespace.QName TOKEN
Claims
public Claims()
Claims
public Claims(OMElement elem)
throws TrustException
- Parameters:
elem -
- Throws:
TrustException
setDialectAttribute
public void setDialectAttribute(java.lang.String value)
- Sets the value of the wst:Claims/@Dialect
Dialect attribute specifies a URI to indicate the syntax of the claims
- Parameters:
value -
getDialectAttribute
public java.lang.String getDialectAttribute()
- Returns the value of the wst:Claims/@Dialect
- Returns:
addToken
public void addToken(OMElement token)
- Add a token as a child
This is provided as an extensibility mechanism to add any
child element to the
wst:Claims element
- Parameters:
token -
getChildTokens
public java.util.Iterator getChildTokens()
- Retuns an interator of child elements
- Returns:
getToken
protected javax.xml.namespace.QName getToken()
- Specified by:
getToken in class AbstractToken
deserializeChildElement
protected void deserializeChildElement(OMElement element)
throws TrustException
- Description copied from class:
AbstractToken
- This is called for each of the immediate
child elements of type
OMNode.ELEMENT_NODE of this token
- Specified by:
deserializeChildElement in class AbstractToken
- Parameters:
element -
- Throws:
TrustException