public abstract class AbstractSupportingTokenPolicyValidator extends AbstractSecurityPolicyValidator
Constructor and Description |
---|
AbstractSupportingTokenPolicyValidator() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertDerivedKeys(AbstractToken token,
org.apache.cxf.ws.policy.AssertionInfoMap aim) |
protected void |
assertSecurePartsIfTokenNotRequired(AbstractSecurityAssertion securedPart,
QName name,
org.apache.cxf.ws.policy.AssertionInfoMap aim) |
protected void |
assertSecurePartsIfTokenNotRequired(SupportingTokens supportingToken,
org.apache.cxf.ws.policy.AssertionInfoMap aim) |
protected abstract boolean |
isEncrypted() |
protected abstract boolean |
isEndorsing() |
boolean |
isEnforceEncryptedTokens() |
protected static boolean |
isSamlTokenRequiredForIssuedToken(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(EncryptedElements encryptedElements) |
void |
setEncryptedParts(EncryptedParts encryptedParts) |
void |
setEnforceEncryptedTokens(boolean enforceEncryptedTokens) |
void |
setSignedElements(SignedElements signedElements) |
void |
setSignedParts(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(SignedElements signedElements)
public void setEncryptedElements(EncryptedElements encryptedElements)
public void setSignedParts(SignedParts signedParts)
public void setEncryptedParts(EncryptedParts encryptedParts)
protected void assertSecurePartsIfTokenNotRequired(SupportingTokens supportingToken, org.apache.cxf.ws.policy.AssertionInfoMap aim)
protected void assertSecurePartsIfTokenNotRequired(AbstractSecurityAssertion securedPart, QName name, org.apache.cxf.ws.policy.AssertionInfoMap aim)
public boolean isEnforceEncryptedTokens()
public void setEnforceEncryptedTokens(boolean enforceEncryptedTokens)
protected void assertDerivedKeys(AbstractToken token, org.apache.cxf.ws.policy.AssertionInfoMap aim)
protected static boolean isSamlTokenRequiredForIssuedToken(IssuedToken issuedToken)
Copyright © 2021 JBoss by Red Hat. All rights reserved.