Package swiss.trustbroker.saml.service
Class ClaimsProviderService
java.lang.Object
swiss.trustbroker.saml.service.ClaimsProviderService
-
Constructor Summary
ConstructorsConstructorDescriptionClaimsProviderService(StateCacheService stateCacheService, TrustBrokerProperties trustBrokerProperties, RelyingPartySetupService relyingPartySetupService, AuditService auditService, ScriptService scriptService, QoaMappingService qoaMappingService, SamlOutputService samlOutputService, AuthorizationCodeFlowService authorizationCodeFlowService) -
Method Summary
Modifier and TypeMethodDescriptionsendAuthnRequestToCp(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, StateData stateData, ClaimsParty claimsParty) For SAML: Sends SAML POST response automatically.sendSamlToCpWithMandatoryIds(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, StateData stateData, String cpIssuerId)
-
Constructor Details
-
ClaimsProviderService
public ClaimsProviderService(StateCacheService stateCacheService, TrustBrokerProperties trustBrokerProperties, RelyingPartySetupService relyingPartySetupService, AuditService auditService, ScriptService scriptService, QoaMappingService qoaMappingService, SamlOutputService samlOutputService, AuthorizationCodeFlowService authorizationCodeFlowService)
-
-
Method Details
-
sendSamlToCpWithMandatoryIds
-
sendAuthnRequestToCp
public String sendAuthnRequestToCp(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, StateData stateData, ClaimsParty claimsParty) For SAML: Sends SAML POST response automatically. For OIDC: Returns redirect URL.- Returns:
- redirect URL
-