Class ProjectQueueItemAuthenticator
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<QueueItemAuthenticator>
-
- jenkins.security.QueueItemAuthenticator
-
- org.jenkinsci.plugins.authorizeproject.ProjectQueueItemAuthenticator
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<QueueItemAuthenticator>
public class ProjectQueueItemAuthenticator extends QueueItemAuthenticator
Authorize builds of projects configured withAuthorizeProjectProperty
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectQueueItemAuthenticator.DescriptorImpl
static class
ProjectQueueItemAuthenticator.DescriptorVisibilityFilterImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ProjectQueueItemAuthenticator()
Deprecated.ProjectQueueItemAuthenticator(Map<String,Boolean> strategyEnabledMap)
Deprecated.ProjectQueueItemAuthenticator(Set<String> enabledStrategies, Set<String> disabledStrategies)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Authentication
authenticate(Queue.Item item)
static ProjectQueueItemAuthenticator
getConfigured()
Set<String>
getDisabledStrategies()
Set<String>
getEnabledStrategies()
Map<String,Boolean>
getStrategyEnabledMap()
Deprecated.static boolean
isConfigured()
boolean
isStrategyEnabled(Descriptor<?> d)
protected Object
readResolve()
-
Methods inherited from class jenkins.security.QueueItemAuthenticator
authenticate, authenticate2, authenticate2, getDescriptor
-
-
-
-
Constructor Detail
-
ProjectQueueItemAuthenticator
@Deprecated public ProjectQueueItemAuthenticator()
Deprecated.
-
ProjectQueueItemAuthenticator
@Deprecated public ProjectQueueItemAuthenticator(Map<String,Boolean> strategyEnabledMap)
Deprecated.
-
-
Method Detail
-
readResolve
protected Object readResolve()
-
authenticate
@CheckForNull public Authentication authenticate(Queue.Item item)
- Overrides:
authenticate
in classQueueItemAuthenticator
- See Also:
QueueItemAuthenticator.authenticate(hudson.model.Queue.Item)
-
getStrategyEnabledMap
@Deprecated public Map<String,Boolean> getStrategyEnabledMap()
Deprecated.
-
isStrategyEnabled
public boolean isStrategyEnabled(Descriptor<?> d)
-
getConfigured
public static ProjectQueueItemAuthenticator getConfigured()
- Returns:
- instance configured in Global Security configuration.
-
isConfigured
public static boolean isConfigured()
- Returns:
- whether Jenkins is configured to use
ProjectQueueItemAuthenticator
.
-
-