org.pentaho.platform.engine.security
Class LoggingInterceptor
java.lang.Object
org.pentaho.platform.engine.security.LoggingInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.springframework.aop.AfterAdvice, org.springframework.aop.AfterReturningAdvice, org.springframework.aop.BeforeAdvice, org.springframework.aop.MethodBeforeAdvice, org.springframework.aop.ThrowsAdvice
public class LoggingInterceptor
- extends Object
- implements org.springframework.aop.MethodBeforeAdvice, org.springframework.aop.AfterReturningAdvice, org.springframework.aop.ThrowsAdvice
Logger that uses AOP to log debugging information.
Do not use this in production! It logs passwords in plain text!
- Author:
- mlowery
LoggingInterceptor
public LoggingInterceptor()
before
public void before(Method method,
Object[] args,
Object target)
throws Throwable
- Specified by:
before
in interface org.springframework.aop.MethodBeforeAdvice
- Throws:
Throwable
afterReturning
public void afterReturning(Object returnValue,
Method method,
Object[] args,
Object target)
throws Throwable
- Specified by:
afterReturning
in interface org.springframework.aop.AfterReturningAdvice
- Throws:
Throwable
afterThrowing
public void afterThrowing(Method method,
Object[] args,
Object target,
Throwable exception)