Class HttpsTokenBuilder

java.lang.Object
org.apache.ws.secpolicy12.builders.HttpsTokenBuilder
All Implemented Interfaces:
org.apache.neethi.builders.AssertionBuilder<org.apache.axiom.om.OMElement>

public class HttpsTokenBuilder extends Object implements org.apache.neethi.builders.AssertionBuilder<org.apache.axiom.om.OMElement>
This is a standard assertion builder implementation for the https token as specified by the ws security policy 1.2 specification. In order for this builder to be used it is required that the security policy namespace uri is SP12Constants.SP_NS The builder will handle
  • HttpBasicAuthentication
  • HttpDigestAuthentication
  • RequireClientCertificate
alternatives in the HttpsToken considering both cases whether the policy is normalized or not.
  • Constructor Details

    • HttpsTokenBuilder

      public HttpsTokenBuilder()
  • Method Details

    • build

      public org.apache.neethi.Assertion build(org.apache.axiom.om.OMElement element, org.apache.neethi.AssertionBuilderFactory factory) throws IllegalArgumentException
      Specified by:
      build in interface org.apache.neethi.builders.AssertionBuilder<org.apache.axiom.om.OMElement>
      Throws:
      IllegalArgumentException
    • getKnownElements

      public QName[] getKnownElements()
      Specified by:
      getKnownElements in interface org.apache.neethi.builders.AssertionBuilder<org.apache.axiom.om.OMElement>