Class LoginModuleStats
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.LoginModuleStats
-
- All Implemented Interfaces:
LoginModuleMBean
,LoginModuleMonitor
,Monitor<LoginModuleMonitor>
@Deprecated public class LoginModuleStats extends java.lang.Object implements LoginModuleMBean, LoginModuleMonitor
Deprecated.Since Oak 1.40.0. A full implementation ofLoginModuleMonitor
andLoginModuleMBean
has been added to oak-core.
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.LoginModuleMBean
NAME, TYPE
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.LoginModuleMonitor
NOOP
-
-
Constructor Summary
Constructors Constructor Description LoginModuleStats(StatisticsProvider statisticsProvider)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getLoginErrors()
Deprecated.javax.management.openmbean.CompositeData
getLoginErrorsHistory()
Deprecated.void
loginError()
Deprecated.Event to be called in the case there is an error in the login chain.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.LoginModuleMonitor
getMonitorClass, getMonitorProperties, loginFailed, principalsCollected
-
-
-
-
Constructor Detail
-
LoginModuleStats
public LoginModuleStats(StatisticsProvider statisticsProvider)
Deprecated.
-
-
Method Detail
-
loginError
public void loginError()
Deprecated.Description copied from interface:LoginModuleMonitor
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 event should have a corresponding error logged to make this investigation possible.- Specified by:
loginError
in interfaceLoginModuleMonitor
- See Also:
LoginModuleMonitor.loginFailed(LoginException, Credentials)
-
getLoginErrors
public long getLoginErrors()
Deprecated.- Specified by:
getLoginErrors
in interfaceLoginModuleMBean
-
getLoginErrorsHistory
public javax.management.openmbean.CompositeData getLoginErrorsHistory()
Deprecated.- Specified by:
getLoginErrorsHistory
in interfaceLoginModuleMBean
-
-