Class WsTrustRenewValidator
java.lang.Object
swiss.trustbroker.wstrust.validator.WsTrustBaseValidator
swiss.trustbroker.wstrust.validator.WsTrustRenewValidator
- All Implemented Interfaces:
WsTrustValidator
Validator for WS-Trust RENEW requests.
-
Constructor Summary
ConstructorsConstructorDescriptionWsTrustRenewValidator(swiss.trustbroker.config.TrustBrokerProperties trustBrokerProperties, swiss.trustbroker.homerealmdiscovery.service.RelyingPartySetupService relyingPartySetupService, Clock clock, swiss.trustbroker.sso.service.SsoService ssoService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplies(org.opensaml.soap.wstrust.RequestType requestType) Check if this validator applies to the given type.protected swiss.trustbroker.federation.xmlconfig.WsTrustBindingvalidate(org.opensaml.soap.wstrust.RequestSecurityToken requestSecurityToken, SoapMessageHeader requestHeader) Perform validation of the RST request.Methods inherited from class swiss.trustbroker.wstrust.validator.WsTrustBaseValidator
correctAssertionForSignatureValidation, enabled, getAllowedSignatureAlgorithms, getClock, getIssuingClaimsParty, getRecipientRelyingParty, getRelyingPartySetupService, getRstRelyingParty, getTrustBrokerProperties, validateAssertion, validateProtocolRestrictions, validateSignature
-
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:WsTrustValidatorCheck if this validator applies to the given type.- Parameters:
requestType-- Returns:
-
getBinding
protected swiss.trustbroker.federation.xmlconfig.WsTrustBinding getBinding()- Specified by:
getBindingin classWsTrustBaseValidator- Returns:
- binding supported by this validator.
-
validate
public WsTrustValidationResult validate(org.opensaml.soap.wstrust.RequestSecurityToken requestSecurityToken, SoapMessageHeader requestHeader) Description copied from interface:WsTrustValidatorPerform validation of the RST request.- Parameters:
requestSecurityToken- requestrequestHeader- stored data from header (not null)- Returns:
- Processed assertion (i.e. headerAssertion or one from the body) plus additional parameters.
-