Package | Description |
---|---|
com.michelin.cio.hudson.plugins.rolestrategy | |
com.synopsys.arc.jenkins.plugins.rolestrategy | |
org.jenkinsci.plugins.rolestrategy.permissions |
Modifier and Type | Method and Description |
---|---|
Role |
RoleMap.getRole(String name)
Get the
Role object named after the given param. |
Modifier and Type | Method and Description |
---|---|
SortedMap<Role,Set<String>> |
RoleMap.getGrantedRoles()
Get an unmodifiable sorted map containing
Role s and their assigned sids. |
SortedMap<Role,Set<String>> |
RoleBasedAuthorizationStrategy.getGrantedRoles(String type)
Get the roles from the global
RoleMap . |
Set<Role> |
RoleMap.getRoles()
|
Modifier and Type | Method and Description |
---|---|
void |
RoleMap.addRole(Role role)
Add the given role to this
RoleMap . |
void |
RoleMap.assignRole(Role role,
String sid)
Assign the sid to the given
Role . |
void |
RoleMap.clearSidsForRole(Role role)
Clear all the sids associated to the given
Role . |
boolean |
RoleMap.hasRole(Role role)
|
void |
RoleMap.removeRole(Role role)
Removes a
Role |
void |
RoleMap.unAssignRole(Role role,
String sid)
unAssign the sid to the given
Role . |
Constructor and Description |
---|
RoleMap(SortedMap<Role,Set<String>> grantedRoles)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Macro.isMacro(Role role)
Check if role is a macro.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PermissionHelper.hasPotentiallyDangerousPermissions(Role r)
Checks if the role is potentially dangerous.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PermissionHelper.hasDangerousPermissions(Iterable<Role> roles) |
static String |
PermissionHelper.reportDangerousPermissions(Iterable<Role> roles)
Prepare the report string about dangerous roles.
|
Copyright © 2016–2018. All rights reserved.