Package com.sun.identity.wss.security
Class Reference
- java.lang.Object
-
- com.sun.identity.wss.security.Reference
-
public class Reference extends Object
This classReference
represents the Direct Reference of the security token.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToParent(Element parent)
Adds the reference to parent element.String
getURI()
Returns theURI
set in the Reference.String
getValueType()
Returns the value type of the security token.void
setURI(String uri)
Sets theURI
to the Reference.void
setValueType(String valueType)
Sets the value type of the token.
-
-
-
Constructor Detail
-
Reference
public Reference(String uri)
Constructor- Parameters:
uri
- theURI
of 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 theURI
set in the Reference.- Returns:
- the
URI
-
setURI
public void setURI(String uri)
Sets theURI
to 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.
-
-