Class DefaultSecurityServiceChannelInterceptor
- java.lang.Object
-
- com.anaptecs.jeaf.core.servicechannel.base.DefaultSecurityServiceChannelInterceptor
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
public class DefaultSecurityServiceChannelInterceptor extends java.lang.Object implements com.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
Class provides a default implementation of a security channel interceptor. However this interceptor does not ensure that a service is only called if the calling user has the sufficient rights. That's why this implementation should only be used for testing or if security does not matter.- Version:
- JEAF Release 1.2
- Author:
- JEAF Development Team
-
-
Constructor Summary
Constructors Constructor Description DefaultSecurityServiceChannelInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, com.anaptecs.jeaf.xfun.api.errorhandling.ApplicationException pApplicationException)
void
postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, com.anaptecs.jeaf.xfun.api.errorhandling.SystemException pSystemException)
void
postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, java.lang.Error pError)
void
postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, java.lang.Object pResult)
void
postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, java.lang.RuntimeException pRuntimeException)
void
preServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall)
-
-
-
Method Detail
-
preServiceCall
public void preServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall)
- Specified by:
preServiceCall
in interfacecom.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
-
postServiceCall
public void postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, java.lang.Object pResult)
- Specified by:
postServiceCall
in interfacecom.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
-
postServiceCall
public void postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, java.lang.RuntimeException pRuntimeException)
- Specified by:
postServiceCall
in interfacecom.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
-
postServiceCall
public void postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, java.lang.Error pError)
- Specified by:
postServiceCall
in interfacecom.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
-
postServiceCall
public void postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, com.anaptecs.jeaf.xfun.api.errorhandling.ApplicationException pApplicationException)
- Specified by:
postServiceCall
in interfacecom.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
-
postServiceCall
public void postServiceCall(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall, com.anaptecs.jeaf.xfun.api.errorhandling.SystemException pSystemException)
- Specified by:
postServiceCall
in interfacecom.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
-
-