Class 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
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSecurityServiceChannelInterceptor

        public DefaultSecurityServiceChannelInterceptor()
    • Method Detail

      • preServiceCall

        public void preServiceCall​(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall)
        Specified by:
        preServiceCall in interface com.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
      • postServiceCall

        public void postServiceCall​(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall,
                                    java.lang.Object pResult)
        Specified by:
        postServiceCall in interface com.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
      • postServiceCall

        public void postServiceCall​(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall,
                                    java.lang.RuntimeException pRuntimeException)
        Specified by:
        postServiceCall in interface com.anaptecs.jeaf.core.spi.ServiceChannelInterceptor
      • postServiceCall

        public void postServiceCall​(com.anaptecs.jeaf.core.spi.ServiceCall pServiceCall,
                                    java.lang.Error pError)
        Specified by:
        postServiceCall in interface com.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 interface com.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 interface com.anaptecs.jeaf.core.spi.ServiceChannelInterceptor