Class SecurityContextToken13

    • Constructor Detail

      • SecurityContextToken13

        public SecurityContextToken13​(URI identifier,
                                      String instance,
                                      String wsuId,
                                      com.sun.xml.ws.api.SOAPVersion sv)
      • SecurityContextToken13

        public SecurityContextToken13​(SecurityContextTokenType sTokenType,
                                      com.sun.xml.ws.api.SOAPVersion sv)
    • Method Detail

      • getIdentifier

        public URI getIdentifier()
        Specified by:
        getIdentifier in interface com.sun.xml.ws.security.SecurityContextToken
      • setIdentifier

        public void setIdentifier​(URI identifier)
      • getInstance

        public String getInstance()
        Specified by:
        getInstance in interface com.sun.xml.ws.security.SecurityContextToken
      • setInstance

        public void setInstance​(String instance)
      • setWsuId

        public void setWsuId​(String wsuId)
      • getWsuId

        public String getWsuId()
        Specified by:
        getWsuId in interface com.sun.xml.ws.security.SecurityContextToken
      • getType

        public String getType()
        Specified by:
        getType in interface com.sun.xml.ws.security.Token
      • getTokenValue

        public Object getTokenValue()
        Specified by:
        getTokenValue in interface com.sun.xml.ws.security.Token
      • getExtElements

        public List getExtElements()
        Specified by:
        getExtElements in interface com.sun.xml.ws.security.SecurityContextToken
      • getAttribute

        public String getAttribute​(QName name)
      • readHeader

        public XMLStreamReader readHeader()
                                   throws XMLStreamException
        Description copied from interface: SecurityElement
        Reads the header as a XMLStreamReader.

        The returned parser points at the start element of this header. (IOW, XMLStreamReader.getEventType() would return XMLStreamConstants.START_ELEMENT.

        Performance Expectation

        For some Header implementations, this operation is a non-trivial operation. Therefore, use of this method is discouraged unless the caller is interested in reading the whole header.

        Similarly, if the caller wants to use this method only to do the API conversion (such as simply firing SAX events from XMLStreamReader), then the JAX-WS team requests that you talk to us.

        Messages that come from tranport usually provides a reasonably efficient implementation of this method.

        Specified by:
        readHeader in interface SecurityElement
        Returns:
        must not null.
        Throws:
        XMLStreamException
      • isCanonicalized

        public boolean isCanonicalized()