Package org.apache.ws.secpolicy.model
Class Trust10
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.Trust10
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
Model bean to capture Trust10 assertion info
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
short
getType()
boolean
boolean
boolean
boolean
boolean
boolean
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setMustSupportClientChallenge
(boolean mustSupportClientChallenge) void
setMustSupportIssuedTokens
(boolean mustSupportIssuedTokens) void
setMustSupportServerChallenge
(boolean mustSupportServerChallenge) void
setRequireClientEntropy
(boolean requireClientEntropy) void
setRequireServerEntropy
(boolean requireServerEntropy) Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getVersion, isIgnorable, isNormalized, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
Trust10
public Trust10(int version)
-
-
Method Details
-
isMustSupportClientChallenge
public boolean isMustSupportClientChallenge()- Returns:
- Returns the mustSupportClientChallenge.
-
setMustSupportClientChallenge
public void setMustSupportClientChallenge(boolean mustSupportClientChallenge) - Parameters:
mustSupportClientChallenge
- The mustSupportClientChallenge to set.
-
isMustSupportIssuedTokens
public boolean isMustSupportIssuedTokens()- Returns:
- Returns the mustSupportIssuedTokens.
-
setMustSupportIssuedTokens
public void setMustSupportIssuedTokens(boolean mustSupportIssuedTokens) - Parameters:
mustSupportIssuedTokens
- The mustSupportIssuedTokens to set.
-
isMustSupportServerChallenge
public boolean isMustSupportServerChallenge()- Returns:
- Returns the mustSupportServerChallenge.
-
setMustSupportServerChallenge
public void setMustSupportServerChallenge(boolean mustSupportServerChallenge) - Parameters:
mustSupportServerChallenge
- The mustSupportServerChallenge to set.
-
isRequireClientEntropy
public boolean isRequireClientEntropy()- Returns:
- Returns the requireClientEntropy.
-
setRequireClientEntropy
public void setRequireClientEntropy(boolean requireClientEntropy) - Parameters:
requireClientEntropy
- The requireClientEntropy to set.
-
isRequireServerEntropy
public boolean isRequireServerEntropy()- Returns:
- Returns the requireServerEntropy.
-
setRequireServerEntropy
public void setRequireServerEntropy(boolean requireServerEntropy) - Parameters:
requireServerEntropy
- The requireServerEntropy to set.
-
getName
-
isOptional
public boolean isOptional()- Specified by:
isOptional
in interfaceorg.apache.neethi.Assertion
- Overrides:
isOptional
in classAbstractSecurityAssertion
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-
getType
public short getType()- Specified by:
getType
in interfaceorg.apache.neethi.PolicyComponent
- Overrides:
getType
in classAbstractSecurityAssertion
-