org.jenkinsci.plugins.authorizeproject
Class AuthorizeProjectStrategy
java.lang.Object
hudson.model.AbstractDescribableImpl<AuthorizeProjectStrategy>
org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategy
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<AuthorizeProjectStrategy>
- Direct Known Subclasses:
- AnonymousAuthorizationStrategy, SpecificUsersAuthorizationStrategy, TriggeringUsersAuthorizationStrategy
public abstract class AuthorizeProjectStrategy
- extends hudson.model.AbstractDescribableImpl<AuthorizeProjectStrategy>
- implements hudson.ExtensionPoint
Extension point to define a new strategy to authorize builds configured in project configuration pages.
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizeProjectStrategy
public AuthorizeProjectStrategy()
all
public static hudson.DescriptorExtensionList<AuthorizeProjectStrategy,hudson.model.Descriptor<AuthorizeProjectStrategy>> all()
- Returns:
- all the registered
AuthorizeProjectStrategy.
authenticate
public org.acegisecurity.Authentication authenticate(hudson.model.Job<?,?> project,
hudson.model.Queue.Item item)
- Returns the
Authentication for the build.
- Parameters:
project - the project to run.item - the item in queue, which will be a build.
- Returns:
authenticate
@Deprecated
public org.acegisecurity.Authentication authenticate(hudson.model.AbstractProject<?,?> project,
hudson.model.Queue.Item item)
- Deprecated. use
authenticate(hudson.model.Job, Queue.Item) instead.
Copyright © 2004-2015. All Rights Reserved.