Interface WsTrustValidator

All Known Implementing Classes:
WsTrustBaseValidator, WsTrustIssueValidator, WsTrustRenewValidator

public interface WsTrustValidator
Validator for WS-Trust requests.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    applies(org.opensaml.soap.wstrust.RequestType requestType)
    Check if this validator applies to the given type.
    validate(org.opensaml.soap.wstrust.RequestSecurityToken requestSecurityToken, SoapMessageHeader requestHeader)
    Perform validation of the RST request.
  • Method Details

    • applies

      boolean applies(org.opensaml.soap.wstrust.RequestType requestType)
      Check if this validator applies to the given type.
      Parameters:
      requestType -
      Returns:
    • validate

      WsTrustValidationResult validate(org.opensaml.soap.wstrust.RequestSecurityToken requestSecurityToken, SoapMessageHeader requestHeader)
      Perform validation of the RST request.
      Parameters:
      requestSecurityToken - request
      requestHeader - stored data from header (not null)
      Returns:
      Processed assertion (i.e. headerAssertion or one from the body) plus additional parameters.
      Throws:
      swiss.trustbroker.common.exception.RequestDeniedException - if validation fails