public class AuthorizeProjectProperty
extends hudson.model.JobProperty<hudson.model.Job<?,?>>
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthorizeProjectProperty.DescriptorImpl
Descriptor for
AuthorizeProjectProperty. |
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTYNAME
Property name used for job configuration page.
|
| Constructor and Description |
|---|
AuthorizeProjectProperty(AuthorizeProjectStrategy strategy)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.acegisecurity.Authentication |
authenticate(hudson.model.Queue.Item item)
Return the authorization for a build.
|
AuthorizeProjectStrategy |
getEnabledStrategy() |
AuthorizeProjectStrategy |
getStrategy() |
static void |
setStrategyCritical() |
public static final String PROPERTYNAME
public AuthorizeProjectProperty(AuthorizeProjectStrategy strategy)
DataBoundConstructor for instantiating
explicitly in AuthorizeProjectProperty.DescriptorImpl.newInstance(StaplerRequest, JSONObject).
It is required to call newInstance of AuthorizeProjectProperty.strategy - public AuthorizeProjectStrategy getStrategy()
public AuthorizeProjectStrategy getEnabledStrategy()
public org.acegisecurity.Authentication authenticate(hudson.model.Queue.Item item)
item - the item in queue, which will be a build.AuthorizeProjectStrategy.authenticate(hudson.model.Job, hudson.model.Queue.Item)@Initializer(after=PLUGINS_STARTED) public static void setStrategyCritical()
Copyright © 2004-2016. All Rights Reserved.