Class AbstractAuthorizingInInterceptor

    • Constructor Detail

      • AbstractAuthorizingInInterceptor

        public AbstractAuthorizingInInterceptor()
      • AbstractAuthorizingInInterceptor

        public AbstractAuthorizingInInterceptor​(boolean uniqueId)
    • Method Detail

      • handleMessage

        public void handleMessage​(Message message)
        Description copied from interface: Interceptor
        Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
      • isMethodProtected

        protected boolean isMethodProtected​(Method method)
      • getExpectedRoles

        protected abstract List<String> getExpectedRoles​(Method method)
        Returns a list of expected roles for a given method.
        Parameters:
        method - Method
        Returns:
        list, empty if no roles are available
      • getDenyRoles

        protected List<String> getDenyRoles​(Method method)
        Returns a list of roles to be denied for a given method.
        Parameters:
        method - Method
        Returns:
        list, empty if no roles are available
      • isAllowAnonymousUsers

        public boolean isAllowAnonymousUsers()
      • setAllowAnonymousUsers

        public void setAllowAnonymousUsers​(boolean allowAnonymousUsers)