|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.security.message.token.BinarySecurity
public class BinarySecurity
Binary Security Token.
Field Summary | |
---|---|
static java.lang.String |
BASE64_ENCODING
|
protected org.w3c.dom.Element |
element
|
static javax.xml.namespace.QName |
TOKEN_BST
|
static javax.xml.namespace.QName |
TOKEN_KI
|
Constructor Summary | |
---|---|
BinarySecurity(javax.security.auth.callback.CallbackHandler callbackHandler)
Create a BinarySecurityToken via a CallbackHandler |
|
BinarySecurity(org.w3c.dom.Document doc)
Constructor. |
|
BinarySecurity(org.w3c.dom.Element elem)
Constructor. |
|
BinarySecurity(org.w3c.dom.Element elem,
boolean bspCompliant)
Constructor. |
Method Summary | |
---|---|
void |
addWSSENamespace()
Add the WSSE Namespace to this BST. |
void |
addWSUNamespace()
Add the WSU Namespace to this BST. |
boolean |
equals(java.lang.Object object)
|
org.w3c.dom.Element |
getElement()
return the dom element. |
java.lang.String |
getEncodingType()
get the encoding type. |
protected org.w3c.dom.Text |
getFirstNode()
return the first text node. |
java.lang.String |
getID()
get the id. |
byte[] |
getToken()
get the byte array containing token information. |
java.lang.String |
getValueType()
get the value type. |
int |
hashCode()
|
void |
setEncodingType(java.lang.String encoding)
set the encoding type. |
void |
setID(java.lang.String id)
set the id. |
void |
setToken(byte[] data)
set the token information. |
void |
setValueType(java.lang.String type)
set the value type. |
java.lang.String |
toString()
return the string representation of the token. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final javax.xml.namespace.QName TOKEN_BST
public static final javax.xml.namespace.QName TOKEN_KI
public static final java.lang.String BASE64_ENCODING
protected org.w3c.dom.Element element
Constructor Detail |
---|
public BinarySecurity(org.w3c.dom.Element elem) throws WSSecurityException
elem
- The BinarySecurityToken element to process
WSSecurityException
public BinarySecurity(org.w3c.dom.Element elem, boolean bspCompliant) throws WSSecurityException
elem
- The BinarySecurityToken element to processbspCompliant
- whether the processing conforms to the BSP spec
WSSecurityException
public BinarySecurity(org.w3c.dom.Document doc)
doc
- public BinarySecurity(javax.security.auth.callback.CallbackHandler callbackHandler) throws WSSecurityException
callbackHandler
-
WSSecurityException
Method Detail |
---|
public void addWSSENamespace()
public void addWSUNamespace()
public java.lang.String getValueType()
public void setValueType(java.lang.String type)
type
- public java.lang.String getEncodingType()
public void setEncodingType(java.lang.String encoding)
encoding
- public byte[] getToken()
public void setToken(byte[] data)
data
- protected org.w3c.dom.Text getFirstNode()
public org.w3c.dom.Element getElement()
public java.lang.String getID()
public void setID(java.lang.String id)
id
- public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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 |