org.jenkinsci.plugins.authorizeproject.strategy
Class TriggeringUsersAuthorizationStrategy
java.lang.Object
hudson.model.AbstractDescribableImpl<AuthorizeProjectStrategy>
org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategy
org.jenkinsci.plugins.authorizeproject.strategy.TriggeringUsersAuthorizationStrategy
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<AuthorizeProjectStrategy>
public class TriggeringUsersAuthorizationStrategy
- extends AuthorizeProjectStrategy
Run builds as a user who triggered the build.
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
org.acegisecurity.Authentication |
authenticate(hudson.model.Job<?,?> project,
hudson.model.Queue.Item item)
Returns the Authentication for the build. |
| 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 |
TriggeringUsersAuthorizationStrategy
@DataBoundConstructor
public TriggeringUsersAuthorizationStrategy()
authenticate
public org.acegisecurity.Authentication authenticate(hudson.model.Job<?,?> project,
hudson.model.Queue.Item item)
- Description copied from class:
AuthorizeProjectStrategy
- Returns the
Authentication for the build.
- Overrides:
authenticate in class AuthorizeProjectStrategy
- Parameters:
project - item -
- Returns:
- See Also:
AuthorizeProjectStrategy.authenticate(hudson.model.Job, hudson.model.Queue.Item)
Copyright © 2004-2015. All Rights Reserved.