Class WsTrustRenewValidator

java.lang.Object
swiss.trustbroker.wstrust.validator.WsTrustBaseValidator
swiss.trustbroker.wstrust.validator.WsTrustRenewValidator
All Implemented Interfaces:
WsTrustValidator

@Component public class WsTrustRenewValidator extends WsTrustBaseValidator
Validator for WS-Trust RENEW requests.
  • Constructor Details

    • WsTrustRenewValidator

      public WsTrustRenewValidator(swiss.trustbroker.config.TrustBrokerProperties trustBrokerProperties, swiss.trustbroker.homerealmdiscovery.service.RelyingPartySetupService relyingPartySetupService, Clock clock, swiss.trustbroker.sso.service.SsoService ssoService)
  • Method Details

    • applies

      public boolean applies(org.opensaml.soap.wstrust.RequestType requestType)
      Description copied from interface: WsTrustValidator
      Check if this validator applies to the given type.
      Parameters:
      requestType -
      Returns:
    • getBinding

      protected swiss.trustbroker.federation.xmlconfig.WsTrustBinding getBinding()
      Specified by:
      getBinding in class WsTrustBaseValidator
      Returns:
      binding supported by this validator.
    • validate

      public WsTrustValidationResult validate(org.opensaml.soap.wstrust.RequestSecurityToken requestSecurityToken, SoapMessageHeader requestHeader)
      Description copied from interface: WsTrustValidator
      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.