org.jenkinsci.plugins.authorizeproject.strategy
Class TriggeringUsersAuthorizationStrategy

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<AuthorizeProjectStrategy>
      extended by org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategy
          extended by 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 Class Summary
static class TriggeringUsersAuthorizationStrategy.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
TriggeringUsersAuthorizationStrategy()
           
 
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 org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategy
all, authenticate
 
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
 

Constructor Detail

TriggeringUsersAuthorizationStrategy

@DataBoundConstructor
public TriggeringUsersAuthorizationStrategy()
Method Detail

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.