public abstract class AbstractSupportingTokenPolicyValidator extends AbstractSecurityPolicyValidator
Constructor and Description |
---|
AbstractSupportingTokenPolicyValidator() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertDerivedKeys(org.apache.wss4j.policy.model.AbstractToken token,
AssertionInfoMap aim) |
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() |
boolean |
isEnforceEncryptedTokens() |
protected static boolean |
isSamlTokenRequiredForIssuedToken(org.apache.wss4j.policy.model.IssuedToken issuedToken) |
protected abstract boolean |
isSigned() |
protected boolean |
isTLSInUse(Message message) |
protected boolean |
processKerberosTokens(PolicyValidatorParameters parameters,
boolean derived)
Process Kerberos Tokens.
|
protected boolean |
processKeyValueTokens(PolicyValidatorParameters parameters)
Process KeyValue Tokens.
|
protected boolean |
processSAMLTokens(PolicyValidatorParameters parameters,
boolean derived)
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 |
setEnforceEncryptedTokens(boolean enforceEncryptedTokens) |
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, boolean derived)
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)
protected boolean isTLSInUse(Message message)
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)
public boolean isEnforceEncryptedTokens()
public void setEnforceEncryptedTokens(boolean enforceEncryptedTokens)
protected void assertDerivedKeys(org.apache.wss4j.policy.model.AbstractToken token, AssertionInfoMap aim)
protected static boolean isSamlTokenRequiredForIssuedToken(org.apache.wss4j.policy.model.IssuedToken issuedToken)
Apache CXF