Interface LoginModuleMonitor
-
- All Superinterfaces:
Monitor<LoginModuleMonitor>
- All Known Implementing Classes:
LoginModuleStats
@ProviderType public interface LoginModuleMonitor extends Monitor<LoginModuleMonitor>
-
-
Field Summary
Fields Modifier and Type Field Description static LoginModuleMonitor
NOOP
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NotNull java.lang.Class<LoginModuleMonitor>
getMonitorClass()
default @NotNull java.util.Map<java.lang.Object,java.lang.Object>
getMonitorProperties()
void
loginError()
Event to be called in the case there is an error in the login chain.
-
-
-
Field Detail
-
NOOP
static final LoginModuleMonitor NOOP
-
-
Method Detail
-
loginError
void loginError()
Event to be called in the case there is an error in the login chain. This is not covering failed logins, but actual operational errors that probably need to be investigated. Any triggered even should have a corresponding error logged to make this investigation possible.
-
getMonitorClass
@NotNull default @NotNull java.lang.Class<LoginModuleMonitor> getMonitorClass()
- Specified by:
getMonitorClass
in interfaceMonitor<LoginModuleMonitor>
- Returns:
- The type to be passed to
Whiteboard.register(Class, Object, Map)
-
getMonitorProperties
@NotNull default @NotNull java.util.Map<java.lang.Object,java.lang.Object> getMonitorProperties()
- Specified by:
getMonitorProperties
in interfaceMonitor<LoginModuleMonitor>
- Returns:
- The properties to be passed to
Whiteboard.register(Class, Object, Map)
-
-