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