Apache CXF API

org.apache.cxf.ws.security.policy.model
Class HttpsToken

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
      extended by org.apache.cxf.ws.security.policy.model.Token
          extended by org.apache.cxf.ws.security.policy.model.HttpsToken
All Implemented Interfaces:
PolicyAssertion, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class HttpsToken
extends Token

Author:
Ruchith Fernando ([email protected])

Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
HttpsToken(SPConstants version)
           
 
Method Summary
 javax.xml.namespace.QName getName()
           
 boolean isHttpBasicAuthentication()
           
 boolean isHttpDigestAuthentication()
           
 boolean isRequireClientCertificate()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setHttpBasicAuthentication(boolean httpBasicAuthentication)
           
 void setHttpDigestAuthentication(boolean httpDigestAuthentication)
           
 void setRequireClientCertificate(boolean requireClientCertificate)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.Token
getInclusion, isDerivedKeys, isExplicitDerivedKeys, isImpliedDerivedKeys, setDerivedKeys, setExplicitDerivedKeys, setImpliedDerivedKeys, setInclusion
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getPolicy, getType, isAsserted, isNormalized, isOptional, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsToken

public HttpsToken(SPConstants version)
Method Detail

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 javax.xml.namespace.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(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

Apache CXF API

Apache CXF