Class AnonymousAuthorizationStrategy
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<AuthorizeProjectStrategy>
-
- org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategy
-
- org.jenkinsci.plugins.authorizeproject.strategy.AnonymousAuthorizationStrategy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<AuthorizeProjectStrategy>
public class AnonymousAuthorizationStrategy extends AuthorizeProjectStrategy
Run builds as anonymous.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnonymousAuthorizationStrategy.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description AnonymousAuthorizationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authentication
authenticate(Job<?,?> project, Queue.Item item)
Authorize builds as anonymous.-
Methods inherited from class org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategy
all, authenticate, checkAuthorizationConfigurePermission, checkJobConfigurePermission, getDescriptor, hasAuthorizationConfigurePermission, hasJobConfigurePermission, readResolve
-
-
-
-
Method Detail
-
authenticate
public Authentication authenticate(Job<?,?> project, Queue.Item item)
Authorize builds as anonymous.- Overrides:
authenticate
in classAuthorizeProjectStrategy
- Parameters:
project
- the project to run.item
- the item in queue, which will be a build.- Returns:
- anonymous authorization
- See Also:
AuthorizeProjectStrategy.authenticate(hudson.model.Job, hudson.model.Queue.Item)
-
-