Package net.shibboleth.idp.profile
Class ActionSupport
- java.lang.Object
-
- net.shibboleth.idp.profile.ActionSupport
-
-
Constructor Summary
Constructors Modifier Constructor Description privateActionSupport()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventbuildEvent(Object source, String eventId)Builds an event with a given ID but no related attributes.static EventbuildEvent(Object source, String eventId, AttributeMap<Object> eventAttributes)Builds an event, to be returned by the given component.static EventbuildProceedEvent(Object source)Signals a successful outcome by an action.
-
-
-
Method Detail
-
buildProceedEvent
@Nullable public static Event buildProceedEvent(@Nonnull Object source)
Signals a successful outcome by an action.- Parameters:
source- the source of the event- Returns:
- the proceed event (which may be null, based on implementation details)
-
buildEvent
@Nonnull public static Event buildEvent(@Nonnull Object source, @Nonnull String eventId)
Builds an event with a given ID but no related attributes.- Parameters:
source- the source of the eventeventId- the ID of the event- Returns:
- the constructed event
-
buildEvent
@Nonnull public static Event buildEvent(@Nonnull Object source, @Nonnull String eventId, @Nonnull AttributeMap<Object> eventAttributes)
Builds an event, to be returned by the given component.- Parameters:
source- IdP component that will return the constructed eventeventId- ID of the eventeventAttributes- attributes associated with the event- Returns:
- the constructed
Event
-
-