Class TransportToken

All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, TokenWrapper

public class TransportToken extends AbstractSecurityAssertion implements TokenWrapper
  • Constructor Details

    • TransportToken

      public TransportToken(int version)
  • Method Details

    • getTransportToken

      public Token getTransportToken()
      Returns:
      Returns the transportToken.
    • getName

      public QName getName()
      Specified by:
      getName in interface org.apache.neethi.Assertion
    • isOptional

      public boolean isOptional()
      Specified by:
      isOptional in interface org.apache.neethi.Assertion
      Overrides:
      isOptional in class AbstractSecurityAssertion
    • normalize

      public org.apache.neethi.PolicyComponent normalize()
      Specified by:
      normalize in interface org.apache.neethi.Assertion
      Overrides:
      normalize in class AbstractSecurityAssertion
    • getType

      public short getType()
      Specified by:
      getType in interface org.apache.neethi.PolicyComponent
      Overrides:
      getType in class AbstractSecurityAssertion
    • serialize

      public void serialize(XMLStreamWriter writer) throws XMLStreamException
      Specified by:
      serialize in interface org.apache.neethi.Assertion
      Specified by:
      serialize in interface org.apache.neethi.PolicyComponent
      Throws:
      XMLStreamException
    • setToken

      public void setToken(Token tok)
      Specified by:
      setToken in interface TokenWrapper