Class LoginModuleStats
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.LoginModuleStats
-
- All Implemented Interfaces:
LoginModuleMBean
,LoginModuleMonitor
public class LoginModuleStats extends Object implements LoginModuleMBean, LoginModuleMonitor
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.LoginModuleMBean
TYPE
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.LoginModuleMonitor
NOOP
-
-
Constructor Summary
Constructors Constructor Description LoginModuleStats(org.apache.jackrabbit.oak.stats.StatisticsProvider statisticsProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLoginErrors()
CompositeData
getLoginErrorsHistory()
void
loginError()
Event to be called in the case there is an erorr in the login chain.
-
-
-
Method Detail
-
loginError
public void loginError()
Description copied from interface:LoginModuleMonitor
Event to be called in the case there is an erorr 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.- Specified by:
loginError
in interfaceLoginModuleMonitor
-
getLoginErrors
public long getLoginErrors()
- Specified by:
getLoginErrors
in interfaceLoginModuleMBean
-
getLoginErrorsHistory
public CompositeData getLoginErrorsHistory()
- Specified by:
getLoginErrorsHistory
in interfaceLoginModuleMBean
-
-