public abstract class AbstractSupportingTokenPolicyValidator extends AbstractSecurityPolicyValidator
Constructor and Description |
---|
AbstractSupportingTokenPolicyValidator() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertSecurePartsIfTokenNotRequired(org.apache.wss4j.policy.model.AbstractSecurityAssertion securedPart,
QName name,
AssertionInfoMap aim) |
protected void |
assertSecurePartsIfTokenNotRequired(org.apache.wss4j.policy.model.SupportingTokens supportingToken,
AssertionInfoMap aim) |
protected abstract boolean |
isEncrypted() |
protected abstract boolean |
isEndorsing() |
protected abstract boolean |
isSigned() |
protected boolean |
processKerberosTokens(PolicyValidatorParameters parameters,
boolean derived)
Process Kerberos Tokens.
|
protected boolean |
processKeyValueTokens(PolicyValidatorParameters parameters)
Process KeyValue Tokens.
|
protected boolean |
processSAMLTokens(PolicyValidatorParameters parameters)
Process SAML Tokens.
|
protected boolean |
processSCTokens(PolicyValidatorParameters parameters,
boolean derived)
Process Security Context Tokens.
|
protected boolean |
processUsernameTokens(PolicyValidatorParameters parameters,
boolean derived)
Process UsernameTokens.
|
protected boolean |
processX509Tokens(PolicyValidatorParameters parameters,
boolean derived)
Process X509 Tokens.
|
void |
setEncryptedElements(org.apache.wss4j.policy.model.EncryptedElements encryptedElements) |
void |
setEncryptedParts(org.apache.wss4j.policy.model.EncryptedParts encryptedParts) |
void |
setSignedElements(org.apache.wss4j.policy.model.SignedElements signedElements) |
void |
setSignedParts(org.apache.wss4j.policy.model.SignedParts signedParts) |
isTokenRequired
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canValidatePolicy, validatePolicies
public AbstractSupportingTokenPolicyValidator()
protected abstract boolean isSigned()
protected abstract boolean isEncrypted()
protected abstract boolean isEndorsing()
protected boolean processUsernameTokens(PolicyValidatorParameters parameters, boolean derived)
protected boolean processSAMLTokens(PolicyValidatorParameters parameters)
protected boolean processKerberosTokens(PolicyValidatorParameters parameters, boolean derived)
protected boolean processX509Tokens(PolicyValidatorParameters parameters, boolean derived)
protected boolean processKeyValueTokens(PolicyValidatorParameters parameters)
protected boolean processSCTokens(PolicyValidatorParameters parameters, boolean derived)
public void setSignedElements(org.apache.wss4j.policy.model.SignedElements signedElements)
public void setEncryptedElements(org.apache.wss4j.policy.model.EncryptedElements encryptedElements)
public void setSignedParts(org.apache.wss4j.policy.model.SignedParts signedParts)
public void setEncryptedParts(org.apache.wss4j.policy.model.EncryptedParts encryptedParts)
protected void assertSecurePartsIfTokenNotRequired(org.apache.wss4j.policy.model.SupportingTokens supportingToken, AssertionInfoMap aim)
protected void assertSecurePartsIfTokenNotRequired(org.apache.wss4j.policy.model.AbstractSecurityAssertion securedPart, QName name, AssertionInfoMap aim)
Apache CXF