Class AuthorizedUserFilter

java.lang.Object
org.apache.storm.daemon.ui.filters.AuthorizedUserFilter
All Implemented Interfaces:
javax.ws.rs.container.ContainerRequestFilter

@Provider public class AuthorizedUserFilter extends Object implements javax.ws.rs.container.ContainerRequestFilter
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
    • conf

      public static Map<String,Object> conf
    • uiImpersonationHandler

      public static IAuthorizer uiImpersonationHandler
    • uiAclHandler

      public static IAuthorizer uiAclHandler
  • Constructor Details

    • AuthorizedUserFilter

      public AuthorizedUserFilter()
  • Method Details

    • makeResponse

      public static javax.ws.rs.core.Response makeResponse(Exception ex, javax.ws.rs.container.ContainerRequestContext request, int statusCode)
      makeResponse.
      Parameters:
      ex - ex
      request - request
      statusCode - statusCode
      Returns:
      error response
    • filter

      public void filter(javax.ws.rs.container.ContainerRequestContext containerRequestContext)
      Specified by:
      filter in interface javax.ws.rs.container.ContainerRequestFilter