Package org.opensaml.profile.action
Class ActionSupport
java.lang.Object
org.opensaml.profile.action.ActionSupport
Helper class for
ProfileAction
operations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
buildEvent
(ProfileRequestContext profileRequestContext, Object event) Builds an event from the given object.static void
buildEvent
(ProfileRequestContext profileRequestContext, String eventId) Builds an event with a given ID.static void
buildProceedEvent
(ProfileRequestContext profileRequestContext) Signals a successful outcome by an action.
-
Constructor Details
-
ActionSupport
private ActionSupport()Constructor.
-
-
Method Details
-
buildProceedEvent
Signals a successful outcome by an action.- Parameters:
profileRequestContext
- the context to carry the event
-
buildEvent
public static void buildEvent(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull @NotEmpty String eventId) Builds an event with a given ID.- Parameters:
profileRequestContext
- the context to carry the eventeventId
- the ID of the event
-
buildEvent
public static void buildEvent(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull Object event) Builds an event from the given object.- Parameters:
profileRequestContext
- the context to carry the eventevent
- the event
-