|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.rsa.swsj.profiles.wss.Token
A Security Token is used to carry Key Information. This abstract class is the base class for X509Token and UsernameToken that hold Token security objects defined in the WS-Security specification.
| Constructor Summary | |
Token(SWSJContext context)
Creates an empty |
|
| Method Summary | |
getContext()
Gets the SWSJContext, that is used to carry a number of common parameters and state variables. |
|
java.lang.String |
getId()
Gets the Identifier value. |
java.lang.String |
getNamespacePrefix()
Returns the XML namespace prefix of the Token element as a
|
void |
setId(java.lang.String id)
Sets the Identifier value. |
void |
setNamespacePrefix(java.lang.String prefix)
Sets the XML namespace prefix of this Token element to prefix. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Token(SWSJContext context)
throws InvalidParameterException
Token object that is initialized only with
a context.
context - An object that collects a number of common parameters and
state variables; for example, JCE provider.
InvalidParameterException - If context is invalid.| Method Detail |
public SWSJContext getContext()
public java.lang.String getId()
public void setId(java.lang.String id)
throws InvalidParameterException
id - A String object that specifies the identifier
value.
InvalidParameterException - If an invalid value is set.public void setNamespacePrefix(java.lang.String prefix)
prefix - A String holding the prefix to set.public java.lang.String getNamespacePrefix()
String object.
String
object.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||