public class TriggeringUsersAuthorizationStrategy extends AuthorizeProjectStrategy
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggeringUsersAuthorizationStrategy.DescriptorImpl
Our descriptor.
|
| Constructor and Description |
|---|
TriggeringUsersAuthorizationStrategy()
Our constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.acegisecurity.Authentication |
authenticate(hudson.model.Job<?,?> project,
hudson.model.Queue.Item item)
Returns the
Authentication for the build. |
boolean |
hasJobConfigurePermission(hudson.security.AccessControlled context)
Tests if the job can be reconfigured by the current user when this strategy is the configured strategy.
|
all, authenticate, checkAuthorizationConfigurePermission, checkJobConfigurePermission, getDescriptor, hasAuthorizationConfigurePermission, readResolve@DataBoundConstructor public TriggeringUsersAuthorizationStrategy()
public org.acegisecurity.Authentication authenticate(hudson.model.Job<?,?> project,
hudson.model.Queue.Item item)
Authentication for the build.authenticate in class AuthorizeProjectStrategyproject - the project to run.item - the item in queue, which will be a build.true if authentication was successfulpublic boolean hasJobConfigurePermission(hudson.security.AccessControlled context)
Jenkins.ADMINISTER permission skips this check.hasJobConfigurePermission in class AuthorizeProjectStrategycontext - the context of the jobtrue if and only if the current user is allowed to reconfigure the specified job.Copyright © 2016–2017. All rights reserved.