Class UserAuthenticatedWorkflowEventProvider
java.lang.Object
org.keycloak.models.workflow.AbstractWorkflowEventProvider
org.keycloak.models.workflow.events.UserAuthenticatedWorkflowEventProvider
- All Implemented Interfaces:
WorkflowEventProvider,Provider
-
Field Summary
Fields inherited from class org.keycloak.models.workflow.AbstractWorkflowEventProvider
configParameter, providerId, session -
Constructor Summary
ConstructorsConstructorDescriptionUserAuthenticatedWorkflowEventProvider(KeycloakSession session, String configParameter, String providerId) -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(WorkflowExecutionContext context) Evaluates whether the event in the workflow execution context matches this provider's criteria.Returns theResourceTypethat this event provider is capable of handling.booleanDetermines whether this provider supports the given userEvent.Methods inherited from class org.keycloak.models.workflow.AbstractWorkflowEventProvider
create, create, create, resolveResourceId, supports, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.workflow.WorkflowEventProvider
close
-
Constructor Details
-
UserAuthenticatedWorkflowEventProvider
public UserAuthenticatedWorkflowEventProvider(KeycloakSession session, String configParameter, String providerId)
-
-
Method Details
-
getSupportedResourceType
Description copied from interface:WorkflowEventProviderReturns theResourceTypethat this event provider is capable of handling.- Returns:
- the supported ResourceType for this event provider implementation
-
supports
Description copied from interface:WorkflowEventProviderDetermines whether this provider supports the given userEvent.- Specified by:
supportsin interfaceWorkflowEventProvider- Overrides:
supportsin classAbstractWorkflowEventProvider- Parameters:
event- the user event to check- Returns:
trueif the event is supported,falseotherwise
-
evaluate
Description copied from interface:WorkflowEventProviderEvaluates whether the event in the workflow execution context matches this provider's criteria. Implementations should inspect the workflow event in the providedcontextand returntruewhen the event matches the provider's specific conditions.- Specified by:
evaluatein interfaceWorkflowEventProvider- Overrides:
evaluatein classAbstractWorkflowEventProvider- Parameters:
context- the execution context for the workflow evaluation- Returns:
trueif the event matches the criteria,falseotherwise
-