|
||||||||||
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
Binary Security Token.
Field Summary | |
static java.lang.String |
BASE64_BINARY
|
protected org.w3c.dom.Element |
element
|
static java.lang.String |
TOKEN
|
protected WSSConfig |
wssConfig
|
Constructor Summary | |
BinarySecurity(WSSConfig wssConfig,
org.w3c.dom.Document doc)
Constructor. |
|
BinarySecurity(WSSConfig wssConfig,
org.w3c.dom.Element elem)
Constructor. |
Method Summary | |
static java.lang.String |
getBase64EncodingValue(WSSConfig wssConfig)
|
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. |
protected void |
setEncodingType(java.lang.String encoding)
set the encoding type. |
void |
setID(java.lang.String id)
set the id. |
protected void |
setToken(byte[] data)
set the token information. |
protected 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String BASE64_BINARY
protected org.w3c.dom.Element element
protected WSSConfig wssConfig
public static java.lang.String TOKEN
Constructor Detail |
public BinarySecurity(WSSConfig wssConfig, org.w3c.dom.Element elem) throws WSSecurityException
elem
-
WSSecurityException
public BinarySecurity(WSSConfig wssConfig, org.w3c.dom.Document doc)
doc
- Method Detail |
public java.lang.String getValueType()
protected void setValueType(java.lang.String type)
type
- public java.lang.String getEncodingType()
protected void setEncodingType(java.lang.String encoding)
encoding
- public byte[] getToken()
protected 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()
public static java.lang.String getBase64EncodingValue(WSSConfig wssConfig)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |