Class X509Token

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

public class X509Token extends Token
  • Constructor Details

    • X509Token

      public X509Token(int version)
  • Method Details

    • getEncryptionUser

      public String getEncryptionUser()
    • setEncryptionUser

      public void setEncryptionUser(String encryptionUser)
    • getUserCertAlias

      public String getUserCertAlias()
    • setUserCertAlias

      public void setUserCertAlias(String userCertAlias)
    • isRequireEmbeddedTokenReference

      public boolean isRequireEmbeddedTokenReference()
      Returns:
      Returns the requireEmbeddedTokenReference.
    • setRequireEmbeddedTokenReference

      public void setRequireEmbeddedTokenReference(boolean requireEmbeddedTokenReference)
      Parameters:
      requireEmbeddedTokenReference - The requireEmbeddedTokenReference to set.
    • isRequireIssuerSerialReference

      public boolean isRequireIssuerSerialReference()
      Returns:
      Returns the requireIssuerSerialReference.
    • setRequireIssuerSerialReference

      public void setRequireIssuerSerialReference(boolean requireIssuerSerialReference)
      Parameters:
      requireIssuerSerialReference - The requireIssuerSerialReference to set.
    • isRequireKeyIdentifierReference

      public boolean isRequireKeyIdentifierReference()
      Returns:
      Returns the requireKeyIdentifierReference.
    • setRequireKeyIdentifierReference

      public void setRequireKeyIdentifierReference(boolean requireKeyIdentifierReference)
      Parameters:
      requireKeyIdentifierReference - The requireKeyIdentifierReference to set.
    • isRequireThumbprintReference

      public boolean isRequireThumbprintReference()
      Returns:
      Returns the requireThumbprintReference.
    • setRequireThumbprintReference

      public void setRequireThumbprintReference(boolean requireThumbprintReference)
      Parameters:
      requireThumbprintReference - The requireThumbprintReference to set.
    • isRequireX509V3KeyIdentifierReference

      public boolean isRequireX509V3KeyIdentifierReference()
      Returns:
      Returns the requireX509V3KeyIdentifierReference
    • setRequireX509V3KeyIdentifierReference

      public void setRequireX509V3KeyIdentifierReference(boolean requireX509V3KeyIdentifierReference)
      Parameters:
      requireX509V3KeyIdentifierReference - The requireX509V3KeyIdentifierReference to set
    • getTokenVersionAndType

      public String getTokenVersionAndType()
      Returns:
      Returns the tokenVersionAndType.
    • setTokenVersionAndType

      public void setTokenVersionAndType(String tokenVersionAndType)
      Parameters:
      tokenVersionAndType - The tokenVersionAndType to set.
    • getName

      public QName getName()
    • normalize

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

      public void serialize(XMLStreamWriter writer) throws XMLStreamException
      Throws:
      XMLStreamException