Package swiss.trustbroker.sso.controller
Class SsoController
java.lang.Object
swiss.trustbroker.saml.controller.AbstractSamlController
swiss.trustbroker.sso.controller.SsoController
@Controller
@ConditionalOnBooleanProperty("trustbroker.config.sso.enabled")
public class SsoController
extends AbstractSamlController
SSO services
-
Field Summary
Fields inherited from class swiss.trustbroker.saml.controller.AbstractSamlController
samlValidator, trustBrokerProperties -
Constructor Summary
ConstructorsConstructorDescriptionSsoController(TrustBrokerProperties trustBrokerProperties, SamlValidator samlValidator, SsoService ssoService, ApiSupport apiSupport) -
Method Summary
Modifier and TypeMethodDescriptiongetSsoParticipants(jakarta.servlet.http.HttpServletRequest request) getSsoParticipantsForGroup(jakarta.servlet.http.HttpServletRequest request, String ssoGroupName) voidlogoutSsoParticipant(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String ssoGroupName, String rpId, String cpId, String subjId) logoutSsoParticipantIfOnlyGroup(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String rpId) Methods inherited from class swiss.trustbroker.saml.controller.AbstractSamlController
decodeSamlMessage, handleUnsupportedMessage, validateSamlIssuer, validateSamlMessage, validateSamlSchema
-
Constructor Details
-
SsoController
public SsoController(TrustBrokerProperties trustBrokerProperties, SamlValidator samlValidator, SsoService ssoService, ApiSupport apiSupport)
-
-
Method Details
-
getSsoParticipantsForGroup
@GetMapping(path="/api/v1/sso/participants/{ssoGroupName}") @ResponseBody public List<SsoParticipants> getSsoParticipantsForGroup(jakarta.servlet.http.HttpServletRequest request, @PathVariable(name="ssoGroupName") String ssoGroupName) -
getSsoParticipants
@GetMapping(path="/api/v1/sso/participants") @ResponseBody public List<SsoParticipants> getSsoParticipants(jakarta.servlet.http.HttpServletRequest request) -
logoutSsoParticipantIfOnlyGroup
@DeleteMapping(path="/api/v1/sso/rp/{rpId}") @ResponseBody public List<SsoParticipants> logoutSsoParticipantIfOnlyGroup(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @PathVariable(name="rpId") String rpId) -
logoutSsoParticipant
@DeleteMapping(path="/api/v1/sso/group/{ssoGroupName}/{rpId}/{cpId}/{subjectNameId}") public void logoutSsoParticipant(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @PathVariable(name="ssoGroupName") String ssoGroupName, @PathVariable(name="rpId") String rpId, @PathVariable(name="cpId") String cpId, @PathVariable(name="subjectNameId") String subjId)
-