Uses of Class
com.michelin.cio.hudson.plugins.rolestrategy.PermissionEntry
Package
Description
-
Uses of PermissionEntry in com.michelin.cio.hudson.plugins.rolestrategy
Modifier and TypeMethodDescriptionCreate PermissionEntry.static PermissionEntry
PermissionEntry.fromString
(String permissionEntryString) Creates aPermissionEntry
from a string.static PermissionEntry
static PermissionEntry
Modifier and TypeMethodDescriptionRoleBasedAuthorizationStrategy.getGrantedRolesEntries
(RoleType type) RoleBasedAuthorizationStrategy.getGrantedRolesEntries
(String type) RoleMap.getGrantedRolesEntries()
Get an unmodifiable sorted map containingRole
s and their assigned sids.RoleBasedAuthorizationStrategy.getSidEntries
(String type) Get all the SIDs referenced by specifiedRoleMap
type.RoleMap.getSidEntries()
Get all the sids referenced in thisRoleMap
, minus theAnonymous
sid.RoleMap.getSidEntries
(Boolean includeAnonymous) Get all the sids referenced in thisRoleMap
.RoleMap.getSidEntriesForRole
(String roleName) Get all the permission entries assigned to theRole
named after theroleName
param.Modifier and TypeMethodDescriptionvoid
RoleMap.assignRole
(Role role, PermissionEntry sid) Assign the sid to the givenRole
.int
PermissionEntry.compareTo
(PermissionEntry o) void
RoleMap.deleteRoleSid
(PermissionEntry sid, String rolename) Clear specific role associated to the given sid.void
RoleMap.deleteSids
(PermissionEntry sid) Clear all the roles associated to the given sid.boolean
RoleMap.hasPermission
(PermissionEntry sid, Permission permission, RoleType roleType, AccessControlled controlledItem) Check if the given sid has the providedPermission
.void
RoleMap.unAssignRole
(Role role, PermissionEntry sid) unAssign the sid from the givenRole
.Modifier and TypeMethodDescriptionvoid
RoleMap.addRole
(Role role, Set<PermissionEntry> sids) Add the given role to thisRoleMap
and assign the sids to it.boolean
RoleBasedAuthorizationStrategy.DescriptorImpl.hasAmbiguousEntries
(SortedMap<Role, Set<PermissionEntry>> grantedRoles) ModifierConstructorDescriptionRoleMap
(SortedMap<Role, Set<PermissionEntry>> grantedRoles) Constructor. -
Uses of PermissionEntry in com.synopsys.arc.jenkins.plugins.rolestrategy
Modifier and TypeMethodDescriptionboolean
IMacroExtension.hasPermission
(PermissionEntry sid, Permission p, RoleType type, AccessControlled item, Macro macro) Check if user belongs to specified Macro. -
Uses of PermissionEntry in com.synopsys.arc.jenkins.plugins.rolestrategy.macros
Modifier and TypeMethodDescriptionboolean
BuildableJobMacro.hasPermission
(PermissionEntry sid, Permission p, RoleType type, AccessControlled item, Macro macro) boolean
ContainedInViewMacro.hasPermission
(PermissionEntry sid, Permission p, RoleType type, AccessControlled accessControlledItem, Macro macro) boolean
FolderMacro.hasPermission
(PermissionEntry sid, Permission p, RoleType type, AccessControlled item, Macro macro) boolean
StubMacro.hasPermission
(PermissionEntry sid, Permission p, RoleType type, AccessControlled item, Macro macro) -
Uses of PermissionEntry in org.jenkinsci.plugins.rolestrategy
Modifier and TypeMethodDescriptionvoid
AmbiguousSidsAdminMonitor.updateEntries
(Collection<PermissionEntry> entries) To be called everytime Permission Entries are updated. -
Uses of PermissionEntry in org.jenkinsci.plugins.rolestrategy.casc
Modifier and TypeMethodDescriptionRoleDefinition.RoleDefinitionEntry.fromPermissionEntry
(PermissionEntry entry) Creates a RoleDefinitionEntry from a PermissionNetry.