org.apache.cxf.ws.security.policy.builders
Class HttpsTokenBuilder

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.builders.HttpsTokenBuilder
All Implemented Interfaces:
org.apache.cxf.ws.policy.AssertionBuilder

public class HttpsTokenBuilder
extends Object
implements org.apache.cxf.ws.policy.AssertionBuilder

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

alternatives in the HttpsToken considering both cases whether the policy is normalized or not.


Constructor Summary
HttpsTokenBuilder(org.apache.cxf.ws.policy.PolicyBuilder b)
           
 
Method Summary
 org.apache.cxf.ws.policy.PolicyAssertion build(Element element)
          
 org.apache.cxf.ws.policy.PolicyAssertion buildCompatible(org.apache.cxf.ws.policy.PolicyAssertion a, org.apache.cxf.ws.policy.PolicyAssertion b)
           
 List<QName> getKnownElements()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsTokenBuilder

public HttpsTokenBuilder(org.apache.cxf.ws.policy.PolicyBuilder b)
Method Detail

build

public org.apache.cxf.ws.policy.PolicyAssertion build(Element element)

Specified by:
build in interface org.apache.cxf.ws.policy.AssertionBuilder

getKnownElements

public List<QName> getKnownElements()

Specified by:
getKnownElements in interface org.apache.cxf.ws.policy.AssertionBuilder

buildCompatible

public org.apache.cxf.ws.policy.PolicyAssertion buildCompatible(org.apache.cxf.ws.policy.PolicyAssertion a,
                                                                org.apache.cxf.ws.policy.PolicyAssertion b)
Specified by:
buildCompatible in interface org.apache.cxf.ws.policy.AssertionBuilder


Apache CXF