Package net.shibboleth.idp.profile
Class ActionSupport
java.lang.Object
net.shibboleth.idp.profile.ActionSupport
public final class ActionSupport extends Object
Helper class for
Action
operations.-
Constructor Summary
Constructors Modifier Constructor Description private
ActionSupport()
Constructor. -
Method Summary
Modifier and Type Method Description static Event
buildEvent(Object source, String eventId)
Builds an event with a given ID but no related attributes.static Event
buildEvent(Object source, String eventId, AttributeMap<Object> eventAttributes)
Builds an event, to be returned by the given component.static Event
buildProceedEvent(Object source)
Signals a successful outcome by an action.
-
Constructor Details
-
ActionSupport
private ActionSupport()Constructor.
-
-
Method Details
-
buildProceedEvent
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
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
-