|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.security.message.token.SecurityContextToken
public class SecurityContextToken
| Field Summary | |
|---|---|
protected org.w3c.dom.Element |
element
Security context token element |
protected org.w3c.dom.Element |
elementIdentifier
Identifier element |
| Constructor Summary | |
|---|---|
SecurityContextToken(org.w3c.dom.Document doc)
Constructor to create the SCT |
|
SecurityContextToken(org.w3c.dom.Document doc,
java.lang.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,
java.lang.String uuid)
Constructor to create the SCT with a given uuid |
|
| Method Summary | |
|---|---|
void |
addWSUNamespace()
Add the WSU Namespace to this SCT. |
boolean |
equals(java.lang.Object object)
|
org.w3c.dom.Element |
getElement()
Returns the dom element of this SecurityContextToken object. |
java.lang.String |
getID()
Gets the id. |
java.lang.String |
getIdentifier()
Get the identifier. |
java.lang.String |
getTokenType()
Get the WS-Trust tokenType String associated with this token |
int |
hashCode()
|
void |
setElement(org.w3c.dom.Element elem)
|
void |
setID(java.lang.String id)
Set the id of this security context token. |
void |
setIdentifier(java.lang.String uuid)
Set the identifier. |
java.lang.String |
toString()
Returns the string representation of the token. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.w3c.dom.Element element
protected org.w3c.dom.Element elementIdentifier
| Constructor Detail |
|---|
public SecurityContextToken(org.w3c.dom.Document doc)
throws ConversationException
doc -
ConversationException
public SecurityContextToken(org.w3c.dom.Document doc,
java.lang.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,
java.lang.String uuid)
throws ConversationException
doc -
ConversationException
public SecurityContextToken(org.w3c.dom.Element elem)
throws WSSecurityException
elem - The DOM element: The security context token
WSSecurityException - If the element passed in in not a security context token| Method Detail |
|---|
public void addWSUNamespace()
public void setIdentifier(java.lang.String uuid)
public java.lang.String getIdentifier()
public java.lang.String getTokenType()
public void setElement(org.w3c.dom.Element elem)
public org.w3c.dom.Element getElement()
SecurityContextToken object.
wsse:SecurityContextToken elementpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getID()
wsu:Id attribute of this
SecurityContextTokenpublic void setID(java.lang.String id)
id - the value for the wsu:Id attribute of this
SecurityContextTokenpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||