Class PentahoLoggerListener
- java.lang.Object
-
- org.pentaho.platform.engine.security.event.PentahoLoggerListener
-
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener
public class PentahoLoggerListener extends Object implements org.springframework.context.ApplicationListener
org.pentaho.platform.engine.security.event.PentahoLoggerListener wraps org.springframework.security.authentication.event.LoggerListener and safeguards onApplicationEvent() calls This is because on the later spring security, LoggerListener has changed its method signature from void onApplicationEvent( ApplicationEvent event ) to void onApplicationEvent(AbstractAuthenticationEvent event)
-
-
Constructor Summary
Constructors Constructor Description PentahoLoggerListener()
PentahoLoggerListener(org.springframework.security.authentication.event.LoggerListener loggerListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLogInteractiveAuthenticationSuccessEvents()
void
onApplicationEvent(org.springframework.context.ApplicationEvent event)
void
setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents)
-
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener
-
isLogInteractiveAuthenticationSuccessEvents
public boolean isLogInteractiveAuthenticationSuccessEvents()
-
setLogInteractiveAuthenticationSuccessEvents
public void setLogInteractiveAuthenticationSuccessEvents(boolean logInteractiveAuthenticationSuccessEvents)
-
-