Apache CXF API

org.apache.cxf.ws.security.wss4j.policyvalidators
Class AbstractSupportingTokenPolicyValidator

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator
      extended by org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractSupportingTokenPolicyValidator
All Implemented Interfaces:
SupportingTokenPolicyValidator
Direct Known Subclasses:
EncryptedTokenPolicyValidator, EndorsingEncryptedTokenPolicyValidator, EndorsingTokenPolicyValidator, SignedEncryptedTokenPolicyValidator, SignedEndorsingEncryptedTokenPolicyValidator, SignedEndorsingTokenPolicyValidator, SignedTokenPolicyValidator

public abstract class AbstractSupportingTokenPolicyValidator
extends AbstractTokenPolicyValidator
implements SupportingTokenPolicyValidator

A base class to use to validate various SupportingToken policies.


Constructor Summary
AbstractSupportingTokenPolicyValidator()
           
 
Method Summary
protected  boolean processKerberosTokens()
          Process Kerberos Tokens.
protected  boolean processSAMLTokens()
          Process SAML Tokens.
protected  boolean processSCTokens()
          Process Security Context Tokens.
protected  boolean processUsernameTokens()
          Process UsernameTokens.
protected  boolean processX509Tokens()
          Process X509 Tokens.
 void setDerived(boolean derived)
           
 void setEncrypted(boolean encrypted)
           
 void setEncryptedResults(List<org.apache.ws.security.WSSecurityEngineResult> encryptedResults)
           
 void setEndorsed(boolean endorsed)
           
 void setMessage(Message msg)
           
 void setResults(List<org.apache.ws.security.WSSecurityEngineResult> results)
           
 void setSAMLTokenResults(List<org.apache.ws.security.WSSecurityEngineResult> samlResultsList)
          Set the list of SAMLToken results
 void setSigned(boolean signed)
           
 void setSignedResults(List<org.apache.ws.security.WSSecurityEngineResult> signedResults)
           
 void setTimestampElement(Element timestampElement)
          Set the Timestamp element
 void setUsernameTokenResults(List<org.apache.ws.security.WSSecurityEngineResult> utResultsList, boolean valUsernameToken)
          Set the list of UsernameToken results
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator
isTokenRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.ws.security.wss4j.policyvalidators.SupportingTokenPolicyValidator
validatePolicy
 

Constructor Detail

AbstractSupportingTokenPolicyValidator

public AbstractSupportingTokenPolicyValidator()
Method Detail

setUsernameTokenResults

public void setUsernameTokenResults(List<org.apache.ws.security.WSSecurityEngineResult> utResultsList,
                                    boolean valUsernameToken)
Set the list of UsernameToken results

Specified by:
setUsernameTokenResults in interface SupportingTokenPolicyValidator

setSAMLTokenResults

public void setSAMLTokenResults(List<org.apache.ws.security.WSSecurityEngineResult> samlResultsList)
Set the list of SAMLToken results

Specified by:
setSAMLTokenResults in interface SupportingTokenPolicyValidator

setTimestampElement

public void setTimestampElement(Element timestampElement)
Set the Timestamp element

Specified by:
setTimestampElement in interface SupportingTokenPolicyValidator

setMessage

public void setMessage(Message msg)

setResults

public void setResults(List<org.apache.ws.security.WSSecurityEngineResult> results)

setSignedResults

public void setSignedResults(List<org.apache.ws.security.WSSecurityEngineResult> signedResults)

setEncryptedResults

public void setEncryptedResults(List<org.apache.ws.security.WSSecurityEngineResult> encryptedResults)

setSigned

public void setSigned(boolean signed)

setEncrypted

public void setEncrypted(boolean encrypted)

setDerived

public void setDerived(boolean derived)

setEndorsed

public void setEndorsed(boolean endorsed)

processUsernameTokens

protected boolean processUsernameTokens()
Process UsernameTokens. Only SignedSupportingTokens are currently enforced.


processSAMLTokens

protected boolean processSAMLTokens()
Process SAML Tokens. Only SignedSupportingTokens are currently enforced.


processKerberosTokens

protected boolean processKerberosTokens()
Process Kerberos Tokens.


processX509Tokens

protected boolean processX509Tokens()
Process X509 Tokens.


processSCTokens

protected boolean processSCTokens()
Process Security Context Tokens.


Apache CXF API

Apache CXF