Class AzureAdAuthorizationMatrixProperty

    • Constructor Detail

      • AzureAdAuthorizationMatrixProperty

        public AzureAdAuthorizationMatrixProperty()
      • AzureAdAuthorizationMatrixProperty

        public AzureAdAuthorizationMatrixProperty​(Map<Permission,​Set<org.jenkinsci.plugins.matrixauth.PermissionEntry>> grantedPermissions,
                                                  org.jenkinsci.plugins.matrixauth.inheritance.InheritanceStrategy inheritanceStrategy)
      • AzureAdAuthorizationMatrixProperty

        @DataBoundConstructor
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public AzureAdAuthorizationMatrixProperty​(List<String> permissions)
    • Method Detail

      • add

        public void add​(Permission p,
                        org.jenkinsci.plugins.matrixauth.PermissionEntry entry)
      • hasExplicitPermission

        public boolean hasExplicitPermission​(org.jenkinsci.plugins.matrixauth.PermissionEntry entry,
                                             Permission p)
      • hasPermission

        public boolean hasPermission​(String sid,
                                     Permission p,
                                     boolean principal)