Class RestSecuredInterceptor


  • public class RestSecuredInterceptor
    extends java.lang.Object
    The type RestSecuredInterceptor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object interceptShiroSecurity​(javax.interceptor.InvocationContext context)
      Intercept shiro security object.
      • Methods inherited from class java.lang.Object

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

      • RestSecuredInterceptor

        public RestSecuredInterceptor()
    • Method Detail

      • interceptShiroSecurity

        public java.lang.Object interceptShiroSecurity​(javax.interceptor.InvocationContext context)
                                                throws java.lang.Exception
        Intercept shiro security object. If class which uses this interceptor is annotated with @NotSecured, it is not checked by this interceptor.
        Parameters:
        context - the context
        Returns:
        the object
        Throws:
        java.lang.Exception - the exception