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:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class HttpsToken
extends Token

Author:
Ruchith Fernando (ruchith.fernando@gmail.com)

Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
HttpsToken(SPConstants version)
           
 
Method Summary
 QName getName()
           
 QName getRealName()
           
 boolean isHttpBasicAuthentication()
           
 boolean isHttpDigestAuthentication()
           
 boolean isRequireClientCertificate()
           
 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, getIssuerName, isDerivedKeys, isExplicitDerivedKeys, isImpliedDerivedKeys, setDerivedKeys, setExplicitDerivedKeys, setImpliedDerivedKeys, setInclusion, setIssuerName
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getSPConstants, getType, isIgnorable, isNormalized, isOptional, normalize, setIgnorable, 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

getRealName

public QName getRealName()

getName

public QName getName()

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

Apache CXF API

Apache CXF