Class DefaultIdentityCheckHandler
- java.lang.Object
-
- de.xima.fc.gui.common.event.handler.DefaultIdentityCheckHandler
-
- All Implemented Interfaces:
IApplicationEventHandler,ISessionEventHandler,Serializable
public class DefaultIdentityCheckHandler extends Object implements ISessionEventHandler
Default identity check handler that executes a Java method if the tokens match.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(IdentityCheckCallbackEvent event)static DefaultIdentityCheckHandlerof(String token, Consumer<IdentityCheckCallbackEvent> callback)Create a newDefaultIdentityCheckHandlerfor the given token and callback handler.
-
-
-
Method Detail
-
of
public static DefaultIdentityCheckHandler of(String token, Consumer<IdentityCheckCallbackEvent> callback)
Create a newDefaultIdentityCheckHandlerfor the given token and callback handler.- Parameters:
token- for which to handle the callback.callback- callback handler.- Returns:
- the a new session event handler for handling callbacks for a given token.
-
handle
public void handle(IdentityCheckCallbackEvent event)
-
-