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
FieldsModifier and TypeFieldDescriptionprotected final ClientModelprotected final Stringprotected final T -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSamlRequestContext(T request, ClientModel client, String protocolBinding) -
Method Summary
Modifier and TypeMethodDescriptionGetter for the client model doing the request.abstract ClientPolicyEventgetEvent()returnsClientPolicyEventof 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
returnsClientPolicyEventof client policy related events.- Specified by:
getEventin 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.
-