Package com.linecorp.armeria.server.saml
Interface SamlSingleLogoutHandler
public interface SamlSingleLogoutHandler
A callback which is invoked when a SAML single logout request is received.
-
Method Summary
Modifier and TypeMethodDescriptionlogoutFailed
(ServiceRequestContext ctx, AggregatedHttpRequest req, Throwable cause) Invoked when the single logout request is failed.logoutSucceeded
(ServiceRequestContext ctx, AggregatedHttpRequest req, org.opensaml.messaging.context.MessageContext<org.opensaml.saml.saml2.core.LogoutRequest> message) Invoked when the single logout request is succeeded.
-
Method Details
-
logoutSucceeded
CompletionStage<Void> logoutSucceeded(ServiceRequestContext ctx, AggregatedHttpRequest req, org.opensaml.messaging.context.MessageContext<org.opensaml.saml.saml2.core.LogoutRequest> message) Invoked when the single logout request is succeeded. It can do the local logout using session indexes containing in theLogoutRequest
.- Parameters:
ctx
- theServiceRequestContext
ofreq
req
- theAggregatedHttpRequest
being handledmessage
- theMessageContext
of theLogoutRequest
received from the identity
-
logoutFailed
CompletionStage<Void> logoutFailed(ServiceRequestContext ctx, AggregatedHttpRequest req, Throwable cause) Invoked when the single logout request is failed.- Parameters:
ctx
- theServiceRequestContext
ofreq
req
- theAggregatedHttpRequest
being handledcause
- the reason of the failure
-