Class AbstractSamlRequestContext<T>
java.lang.Object
org.keycloak.services.clientpolicy.context.AbstractSamlRequestContext<T>
- Type Parameters:
T
- The saml request type
- All Implemented Interfaces:
ClientPolicyContext
- Direct Known Subclasses:
SamlAuthnRequestContext
,SamlLogoutRequestContext
Abstract saml request context for any SAML request received. The context will have the type object received, the client model and binding type the client used to connect.
- Author:
- rmartinc
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ClientModel
protected final String
protected final T
-
Constructor Summary
ConstructorDescriptionAbstractSamlRequestContext
(T request, ClientModel client, String protocolBinding) -
Method Summary
Modifier and TypeMethodDescriptionGetter for the client model doing the request.abstract ClientPolicyEvent
getEvent()
returnsClientPolicyEvent
of client policy related events.Getter for the protocol binding type that is processing the request.Getter for the SAML request received.
-
Field Details
-
request
-
client
-
protocolBinding
-
-
Constructor Details
-
AbstractSamlRequestContext
-
-
Method Details
-
getEvent
returnsClientPolicyEvent
of client policy related events.- Specified by:
getEvent
in interfaceClientPolicyContext
- Returns:
ClientPolicyEvent
-
getRequest
Getter for the SAML request received.- Returns:
- The SAML request type
-
getClient
Getter for the client model doing the request.- Returns:
- The client model
-
getProtocolBinding
Getter for the protocol binding type that is processing the request.- Returns:
- The keycloak protocol binding type.
-