public class SecurityContextToken extends Object
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element |
element
Security context token element
|
protected org.w3c.dom.Element |
elementIdentifier
Identifier element
|
Constructor and Description |
---|
SecurityContextToken(org.w3c.dom.Document doc)
Constructor to create the SCT
|
SecurityContextToken(org.w3c.dom.Document doc,
String uuid)
Constructor to create the SCT with a given uuid
|
SecurityContextToken(org.w3c.dom.Element elem)
This is used to create a SecurityContextToken using a DOM Element
|
SecurityContextToken(int version,
org.w3c.dom.Document doc)
Constructor to create the SCT
|
SecurityContextToken(int version,
org.w3c.dom.Document doc,
String uuid)
Constructor to create the SCT with a given uuid
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
getElement()
Returns the dom element of this
SecurityContextToken object. |
String |
getID()
Gets the id.
|
String |
getIdentifier()
Get the identifier.
|
void |
setElement(org.w3c.dom.Element elem) |
void |
setID(String id)
Set the id of this security context token.
|
void |
setIdentifier(org.w3c.dom.Document doc,
String uuid)
Deprecated.
use {#link SecurityContextToken.setIdentifier(String)} instead
|
void |
setIdentifier(String uuid)
Set the identifier.
|
String |
toString()
Returns the string representation of the token.
|
protected org.w3c.dom.Element element
protected org.w3c.dom.Element elementIdentifier
public SecurityContextToken(org.w3c.dom.Document doc) throws ConversationException
doc
- ConversationException
public SecurityContextToken(org.w3c.dom.Document doc, String uuid) throws ConversationException
doc
- ConversationException
public SecurityContextToken(int version, org.w3c.dom.Document doc) throws ConversationException
doc
- ConversationException
public SecurityContextToken(int version, org.w3c.dom.Document doc, String uuid) throws ConversationException
doc
- ConversationException
public SecurityContextToken(org.w3c.dom.Element elem) throws WSSecurityException
elem
- The DOM element: The security context tokenWSSecurityException
- If the element passed in in not a security context tokenpublic void setIdentifier(org.w3c.dom.Document doc, String uuid)
public void setIdentifier(String uuid)
public String getIdentifier()
public void setElement(org.w3c.dom.Element elem)
public org.w3c.dom.Element getElement()
SecurityContextToken
object.wsse:UsernameToken
elementpublic String toString()
public String getID()
wsu:Id
attribute of this
SecurityContextTokenpublic void setID(String id)
id
- the value for the wsu:Id
attribute of this
SecurityContextTokenCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.