Package com.sun.identity.wss.security
Class Reference
- java.lang.Object
-
- com.sun.identity.wss.security.Reference
-
public class Reference extends Object
This classReferencerepresents the Direct Reference of the security token.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToParent(Element parent)Adds the reference to parent element.StringgetURI()Returns theURIset in the Reference.StringgetValueType()Returns the value type of the security token.voidsetURI(String uri)Sets theURIto the Reference.voidsetValueType(String valueType)Sets the value type of the token.
-
-
-
Constructor Detail
-
Reference
public Reference(String uri)
Constructor- Parameters:
uri- theURIof the security token.
-
Reference
public Reference(Element element) throws SecurityException
Constructor- Parameters:
element- the reference element- Throws:
SecurityException- if parsing is failed.
-
-
Method Detail
-
getURI
public String getURI()
Returns theURIset in the Reference.- Returns:
- the
URI
-
setURI
public void setURI(String uri)
Sets theURIto the Reference.- Parameters:
uri- the refenceURI
-
getValueType
public String getValueType()
Returns the value type of the security token.- Returns:
- the value type of the security token.
-
setValueType
public void setValueType(String valueType)
Sets the value type of the token.- Parameters:
valueType- value type of the token.
-
addToParent
public void addToParent(Element parent) throws SecurityException
Adds the reference to parent element.- Parameters:
parent- the parent node that reference needs to be added.- Throws:
SecurityException- if there is a failure.
-
-