Class HttpsToken

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

public class HttpsToken extends Token
Author:
Ruchith Fernando (ruchith.fernando@gmail.com)
  • Constructor Details

    • HttpsToken

      public HttpsToken(int version)
  • Method Details

    • isRequireClientCertificate

      public boolean isRequireClientCertificate()
    • setRequireClientCertificate

      public void setRequireClientCertificate(boolean requireClientCertificate)
    • isHttpBasicAuthentication

      public boolean isHttpBasicAuthentication()
      Returns:
      the httpBasicAuthentication
    • setHttpBasicAuthentication

      public void setHttpBasicAuthentication(boolean httpBasicAuthentication)
      Parameters:
      httpBasicAuthentication - the httpBasicAuthentication to set
    • isHttpDigestAuthentication

      public boolean isHttpDigestAuthentication()
      Returns:
      the httpDigestAuthentication
    • setHttpDigestAuthentication

      public void setHttpDigestAuthentication(boolean httpDigestAuthentication)
      Parameters:
      httpDigestAuthentication - the httpDigestAuthentication 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