|
||||||||||
| 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 Element |
element
Security context token element |
protected Element |
elementIdentifier
Identifier element |
| Constructor Summary | |
|---|---|
SecurityContextToken(Document doc)
Constructor to create the SCT |
|
SecurityContextToken(Document doc,
String uuid)
Constructor to create the SCT with a given uuid |
|
SecurityContextToken(Element elem)
This is used to create a SecurityContextToken using a DOM Element |
|
SecurityContextToken(int version,
Document doc)
Constructor to create the SCT |
|
SecurityContextToken(int version,
Document doc,
String uuid)
Constructor to create the SCT with a given uuid |
|
| Method Summary | |
|---|---|
Element |
getElement()
Returns the dom element of this SecurityContextToken object. |
String |
getID()
Gets the id. |
String |
getIdentifier()
Get the identifier. |
void |
setElement(Element elem)
|
void |
setID(String id)
Set the id of this security context token. |
void |
setIdentifier(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Element element
protected Element elementIdentifier
| Constructor Detail |
|---|
public SecurityContextToken(Document doc)
throws ConversationException
doc -
ConversationException
public SecurityContextToken(Document doc,
String uuid)
throws ConversationException
doc -
ConversationException
public SecurityContextToken(int version,
Document doc)
throws ConversationException
doc -
ConversationException
public SecurityContextToken(int version,
Document doc,
String uuid)
throws ConversationException
doc -
ConversationException
public SecurityContextToken(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 setIdentifier(Document doc,
String uuid)
public void setIdentifier(String uuid)
public String getIdentifier()
public void setElement(Element elem)
public Element getElement()
SecurityContextToken object.
wsse:UsernameToken elementpublic String toString()
toString in class Objectpublic String getID()
wsu:Id attribute of this
SecurityContextTokenpublic void setID(String id)
id - the value for the wsu:Id attribute of this
SecurityContextToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||