Class AuthorizationFilter

  • All Implemented Interfaces:

    public class AuthorizationFilter
    extends java.lang.Object
    Filter that performs authorization checks on all incoming REST API requests. Methods with modify semantics require 'admin' role; all others require 'viewer' role.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void disableForTests()  
      void filter​( requestContext)  
      • Methods inherited from class java.lang.Object

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

      • AuthorizationFilter

        public AuthorizationFilter()
    • Method Detail

      • filter

        public void filter​( requestContext)
        Specified by:
        filter in interface
      • disableForTests

        public static void disableForTests()