Package org.apache.wss4j.common.token
Class Reference
java.lang.Object
org.apache.wss4j.common.token.Reference
Reference.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the WSSE Namespace to this reference.booleanGet the DOM element.getURI()Get the URI.Get the ValueType attribute.inthashCode()voidSet the URI.voidsetValueType(String valueType) Set the Value type.toString()Return the string representation.
-
Field Details
-
TOKEN
-
-
Constructor Details
-
Reference
Constructor.- Parameters:
elem- The Reference element- Throws:
WSSecurityException
-
Reference
Constructor.- Parameters:
doc-
-
-
Method Details
-
addWSSENamespace
public void addWSSENamespace()Add the WSSE Namespace to this reference. The namespace is not added by default for efficiency purposes, as the reference is embedded in a wsse:SecurityTokenReference. -
getElement
Get the DOM element.- Returns:
- the DOM element
-
getValueType
Get the ValueType attribute.- Returns:
- the ValueType attribute
-
getURI
Get the URI.- Returns:
- the URI
-
setValueType
Set the Value type.- Parameters:
valueType- the ValueType attribute to set
-
setURI
Set the URI.- Parameters:
uri- the URI to set
-
toString
Return the string representation. -
hashCode
public int hashCode() -
equals
-