Package com.microsoft.jenkins.azuread
Class AzureAdAuthorizationMatrixFolderProperty
java.lang.Object
hudson.model.AbstractDescribableImpl<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<com.cloudbees.hudson.plugins.folder.AbstractFolder<?>>
com.microsoft.jenkins.azuread.folder.properties.AuthorizationMatrixProperty
com.microsoft.jenkins.azuread.AzureAdAuthorizationMatrixFolderProperty
- All Implemented Interfaces:
AuthorizationContainer,AuthorizationProperty,ExtensionPoint,Describable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>,ReconfigurableDescribable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.microsoft.jenkins.azuread.folder.properties.AuthorizationMatrixProperty
AuthorizationMatrixProperty.ItemListenerImplNested classes/interfaces inherited from interface com.microsoft.jenkins.azuread.AuthorizationContainer
AuthorizationContainer.IdStrategyComparator, AuthorizationContainer.PermissionEntryComparatorNested classes/interfaces inherited from interface com.microsoft.jenkins.azuread.AuthorizationProperty
AuthorizationProperty.DslEntry, AuthorizationProperty.DslGroup, AuthorizationProperty.DslUser, AuthorizationProperty.DslUserOrGroupNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty
owner -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Permission permission, PermissionEntry entry) booleanhasExplicitPermission(PermissionEntry entry, Permission p) Return true if and only if the exact permission entry is explicitly granted the specified permission, ignoring compatible types (e.g.booleanhasPermission(String sid, Permission p, boolean principal) Checks if the given SID has the given permission.Methods inherited from class com.microsoft.jenkins.azuread.folder.properties.AuthorizationMatrixProperty
getACL, getEditingPermission, getEntries, getGrantedPermissionEntries, getGroups, getInheritanceStrategy, recordGroup, setInheritanceStrategy, setOwnerMethods inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty
getDescriptor, getHealthMetrics, getHealthReports, getItemContainerOverrides, getOwner, reconfigure, reconfigureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.jenkins.azuread.AuthorizationContainer
add, add, getAllPermissionEntries, getAllSIDs, getDescriptor, getGrantedPermissions, hasExplicitPermission, hasPermissionMethods inherited from interface com.microsoft.jenkins.azuread.AuthorizationProperty
isBlocksInheritance, setBlocksInheritance, setEntries
-
Constructor Details
-
AzureAdAuthorizationMatrixFolderProperty
protected AzureAdAuthorizationMatrixFolderProperty() -
AzureAdAuthorizationMatrixFolderProperty
@DataBoundConstructor @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public AzureAdAuthorizationMatrixFolderProperty(List<AuthorizationProperty.DslEntry> entries)
-
-
Method Details
-
add
Description copied from interface:AuthorizationContainerAdds toAuthorizationContainer.getGrantedPermissionEntries(). Use of this method should be limited during construction, as this object itself is considered immutable once populated. -
hasExplicitPermission
Description copied from interface:AuthorizationContainerReturn true if and only if the exact permission entry is explicitly granted the specified permission, ignoring compatible types (e.g. passing USER will not match an EITHER entry) and implications.- Parameters:
entry- the entry to check forp- the permission to check for- Returns:
- true if and only if the exact entry matches
-
hasPermission
Description copied from interface:AuthorizationContainerChecks if the given SID has the given permission.
-