public final class MockQueueItemAuthenticator
extends jenkins.security.QueueItemAuthenticator
QueueItemAuthenticator
.
To use, call QueueItemAuthenticatorConfiguration.get()
(or Inject
it),
then call QueueItemAuthenticatorConfiguration.getAuthenticators()
and add an instance of this.Modifier and Type | Class and Description |
---|---|
static class |
MockQueueItemAuthenticator.DescriptorImpl |
Constructor and Description |
---|
MockQueueItemAuthenticator(Map<String,org.acegisecurity.Authentication> jobsToUsers)
Creates a new authenticator.
|
Modifier and Type | Method and Description |
---|---|
org.acegisecurity.Authentication |
authenticate(hudson.model.Queue.Item item) |
Copyright © 2004–2022. All rights reserved.