Package org.apache.ws.secpolicy.model
Class HttpsToken
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.Token
org.apache.ws.secpolicy.model.HttpsToken
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
- Author:
- Ruchith Fernando (ruchith.fernando@gmail.com)
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
boolean
boolean
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setHttpBasicAuthentication
(boolean httpBasicAuthentication) void
setHttpDigestAuthentication
(boolean httpDigestAuthentication) void
setRequireClientCertificate
(boolean requireClientCertificate) Methods inherited from class org.apache.ws.secpolicy.model.Token
getInclusion, isDerivedKeys, isExplicitDerivedKeys, isImpliedDerivedKeys, setDerivedKeys, setExplicitDerivedKeys, setImpliedDerivedKeys, setInclusion
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
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
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-