Package com.microsoft.jenkins.azuread
Class AuthorizationMatrixNodeProperty
- All Implemented Interfaces:
AuthorizationContainer
,AuthorizationProperty
,ExtensionPoint
,Describable<NodeProperty<?>>
,ReconfigurableDescribable<NodeProperty<?>>
- Direct Known Subclasses:
AzureAdAuthorizationMatrixNodeProperty
public class AuthorizationMatrixNodeProperty
extends NodeProperty<Node>
implements AuthorizationProperty
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
PersistAuthorizationMatrixNodeProperty
as a list of IDs that representgetGrantedPermissionEntries()
.static class
static class
Ensure that the user creating a node has Read and Configure permissionsNested classes/interfaces inherited from interface com.microsoft.jenkins.azuread.AuthorizationContainer
AuthorizationContainer.IdStrategyComparator, AuthorizationContainer.PermissionEntryComparator
Nested classes/interfaces inherited from interface com.microsoft.jenkins.azuread.AuthorizationProperty
AuthorizationProperty.DslEntry, AuthorizationProperty.DslGroup, AuthorizationProperty.DslUser, AuthorizationProperty.DslUserOrGroup
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.slaves.NodeProperty
node
-
Constructor Summary
ConstructorDescriptionAuthorizationMatrixNodeProperty
(Map<Permission, Set<PermissionEntry>> grantedPermissions) -
Method Summary
Modifier and TypeMethodDescriptiongetACL()
Returns a live modifiable map of permissions.Internal only: Returns all recorded (possible) group sids to allow populatingAuthorizationStrategy.getGroups()
.org.jenkinsci.plugins.matrixauth.inheritance.InheritanceStrategy
void
recordGroup
(String sid) Internal only: Record use of a (possible) group sid to be later returned inAuthorizationContainer.getGroups()
.void
setInheritanceStrategy
(org.jenkinsci.plugins.matrixauth.inheritance.InheritanceStrategy inheritanceStrategy) Methods inherited from class hudson.slaves.NodeProperty
all, buildEnvVars, canTake, canTake, for_, getDescriptor, reconfigure, setNode, setUp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.jenkins.azuread.AuthorizationContainer
add, add, add, getAllPermissionEntries, getAllSIDs, getDescriptor, getGrantedPermissions, hasExplicitPermission, hasExplicitPermission, hasPermission, hasPermission
Methods inherited from interface com.microsoft.jenkins.azuread.AuthorizationProperty
getEntries, isBlocksInheritance, setBlocksInheritance, setEntries
-
Constructor Details
-
AuthorizationMatrixNodeProperty
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public AuthorizationMatrixNodeProperty() -
AuthorizationMatrixNodeProperty
-
-
Method Details
-
getGroups
Description copied from interface:AuthorizationContainer
Internal only: Returns all recorded (possible) group sids to allow populatingAuthorizationStrategy.getGroups()
.- Specified by:
getGroups
in interfaceAuthorizationContainer
-
recordGroup
Description copied from interface:AuthorizationContainer
Internal only: Record use of a (possible) group sid to be later returned inAuthorizationContainer.getGroups()
.- Specified by:
recordGroup
in interfaceAuthorizationContainer
-
getGrantedPermissionEntries
Description copied from interface:AuthorizationContainer
Returns a live modifiable map of permissions. This return value needs to be treated as unmodifiable from shortly after object construction (even though it isn't for practical reasons).- Specified by:
getGrantedPermissionEntries
in interfaceAuthorizationContainer
-
getEditingPermission
- Specified by:
getEditingPermission
in interfaceAuthorizationContainer
-
setInheritanceStrategy
public void setInheritanceStrategy(org.jenkinsci.plugins.matrixauth.inheritance.InheritanceStrategy inheritanceStrategy) - Specified by:
setInheritanceStrategy
in interfaceAuthorizationProperty
-
getInheritanceStrategy
public org.jenkinsci.plugins.matrixauth.inheritance.InheritanceStrategy getInheritanceStrategy()- Specified by:
getInheritanceStrategy
in interfaceAuthorizationProperty
-
getACL
-