|
||||||||||
| 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 String |
BASE64_ENCODING
|
protected Element |
element
|
static QName |
TOKEN_BST
|
static QName |
TOKEN_KI
|
| Constructor Summary | |
|---|---|
BinarySecurity(CallbackHandler callbackHandler)
Create a BinarySecurityToken via a CallbackHandler |
|
BinarySecurity(Document doc)
Constructor. |
|
BinarySecurity(Element elem)
Constructor. |
|
BinarySecurity(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(Object object)
|
Element |
getElement()
return the dom element. |
String |
getEncodingType()
get the encoding type. |
protected Text |
getFirstNode()
return the first text node. |
String |
getID()
get the id. |
byte[] |
getToken()
get the byte array containing token information. |
String |
getValueType()
get the value type. |
int |
hashCode()
|
void |
setEncodingType(String encoding)
set the encoding type. |
void |
setID(String id)
set the id. |
void |
setToken(byte[] data)
set the token information. |
void |
setValueType(String type)
set the value type. |
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 QName TOKEN_BST
public static final QName TOKEN_KI
public static final String BASE64_ENCODING
protected Element element
| Constructor Detail |
|---|
public BinarySecurity(Element elem)
throws WSSecurityException
elem - The BinarySecurityToken element to process
WSSecurityException
public BinarySecurity(Element elem,
boolean bspCompliant)
throws WSSecurityException
elem - The BinarySecurityToken element to processbspCompliant - whether the processing conforms to the BSP spec
WSSecurityExceptionpublic BinarySecurity(Document doc)
doc -
public BinarySecurity(CallbackHandler callbackHandler)
throws WSSecurityException
callbackHandler -
WSSecurityException| Method Detail |
|---|
public void addWSSENamespace()
public void addWSUNamespace()
public String getValueType()
public void setValueType(String type)
type - public String getEncodingType()
public void setEncodingType(String encoding)
encoding - public byte[] getToken()
public void setToken(byte[] data)
data - protected Text getFirstNode()
public Element getElement()
public String getID()
public void setID(String id)
id - public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||