Class ProjectBasedMatrixAuthorizationStrategy

All Implemented Interfaces:
CapybaraPortingLayer, Control.Owner, PageArea

public class ProjectBasedMatrixAuthorizationStrategy extends MatrixAuthorizationStrategy
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • ProjectBasedMatrixAuthorizationStrategy

      public ProjectBasedMatrixAuthorizationStrategy(GlobalSecurityConfig context, String path)
  • Method Details

    • authorizeUserAsAdmin

      public static GlobalSecurityConfig authorizeUserAsAdmin(String user, GlobalSecurityConfig security)
      Add and authorize given user admin role under "Project-based Matrix Authorization Strategy"
      Parameters:
      user - user to be added and authorized as admin
      security - page object
      Returns:
      security page object