Class Reference


  • public class Reference
    extends Object
    This class Reference represents the Direct Reference of the security token.
    • Constructor Detail

      • Reference

        public Reference​(String uri)
        Constructor
        Parameters:
        uri - the URI of the security token.
    • Method Detail

      • getURI

        public String getURI()
        Returns the URI set in the Reference.
        Returns:
        the URI
      • setURI

        public void setURI​(String uri)
        Sets the URI to the Reference.
        Parameters:
        uri - the refence URI
      • 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.