org.jenkinsci.plugins.authorizeproject
Class ProjectQueueItemAuthenticator
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.security.QueueItemAuthenticator>
jenkins.security.QueueItemAuthenticator
org.jenkinsci.plugins.authorizeproject.ProjectQueueItemAuthenticator
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<jenkins.security.QueueItemAuthenticator>
public class ProjectQueueItemAuthenticator
- extends jenkins.security.QueueItemAuthenticator
Authorize builds of projects configured with AuthorizeProjectProperty.
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class jenkins.security.QueueItemAuthenticator |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectQueueItemAuthenticator
@Deprecated
public ProjectQueueItemAuthenticator()
- Deprecated.
ProjectQueueItemAuthenticator
public ProjectQueueItemAuthenticator(Map<String,Boolean> strategyEnabledMap)
readResolve
public Object readResolve()
authenticate
@CheckForNull
public org.acegisecurity.Authentication authenticate(hudson.model.Queue.Item item)
- Specified by:
authenticate in class jenkins.security.QueueItemAuthenticator
- Parameters:
item -
- Returns:
- See Also:
QueueItemAuthenticator.authenticate(hudson.model.Queue.Item)
getStrategyEnabledMap
public Map<String,Boolean> getStrategyEnabledMap()
isStrategyEnabled
public boolean isStrategyEnabled(hudson.model.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.
Copyright © 2004-2015. All Rights Reserved.