Class SecurityContextToken


  • public class SecurityContextToken
    extends Object
    • Method Detail

      • addWSUNamespace

        public void addWSUNamespace()
        Add the WSU Namespace to this SCT. The namespace is not added by default for efficiency purposes.
      • setIdentifier

        public void setIdentifier​(String uuid)
        Set the identifier.
      • getIdentifier

        public String getIdentifier()
        Get the identifier.
        Returns:
        the data from the identifier element.
      • getInstance

        public String getInstance()
        Get the instance.
        Returns:
        the data from the instance element.
      • getTokenType

        public String getTokenType()
        Get the WS-Trust tokenType String associated with this token
      • setElement

        public void setElement​(Element elem)
      • getElement

        public Element getElement()
        Returns the dom element of this SecurityContextToken object.
        Returns:
        the wsse:SecurityContextToken element
      • toString

        public String toString()
        Returns the string representation of the token.
        Overrides:
        toString in class Object
        Returns:
        a XML string representation
      • getID

        public String getID()
        Gets the id.
        Returns:
        the value of the wsu:Id attribute of this SecurityContextToken
      • setID

        public void setID​(String id)
        Set the id of this security context token.
        Parameters:
        id - the value for the wsu:Id attribute of this SecurityContextToken
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object