| 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
Roles 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 |
| 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 |
DangerousPermissionHelper.hasPotentiallyDangerousPermissions(Role r)
Checks if the role is potentially dangerous.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DangerousPermissionHelper.hasDangerousPermissions(Iterable<Role> roles) |
static String |
DangerousPermissionHelper.reportDangerousPermissions(Iterable<Role> roles)
Prepare the report string about dangerous roles.
|
Copyright © 2016–2017. All rights reserved.