org.jenkinsci.plugins.authorizeproject
Class ProjectQueueItemAuthenticator

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<jenkins.security.QueueItemAuthenticator>
      extended by jenkins.security.QueueItemAuthenticator
          extended by 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 Class Summary
static class ProjectQueueItemAuthenticator.DescriptorImpl
           
static class ProjectQueueItemAuthenticator.DescriptorVisibilityFilterImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
ProjectQueueItemAuthenticator()
          Deprecated. 
ProjectQueueItemAuthenticator(Map<String,Boolean> strategyEnabledMap)
           
 
Method Summary
 org.acegisecurity.Authentication authenticate(hudson.model.Queue.Item item)
           
static ProjectQueueItemAuthenticator getConfigured()
           
 Map<String,Boolean> getStrategyEnabledMap()
           
static boolean isConfigured()
           
 boolean isStrategyEnabled(hudson.model.Descriptor<?> d)
           
 Object readResolve()
           
 
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
 

Constructor Detail

ProjectQueueItemAuthenticator

@Deprecated
public ProjectQueueItemAuthenticator()
Deprecated. 


ProjectQueueItemAuthenticator

public ProjectQueueItemAuthenticator(Map<String,Boolean> strategyEnabledMap)
Method Detail

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.