public interface SecureRequester extends ExtensionPoint
Api| Modifier and Type | Interface and Description |
|---|---|
static class |
SecureRequester.Default |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Method and Description |
|---|---|
boolean |
permit(org.kohsuke.stapler.StaplerRequest req,
Object bean)
Checks if a Jenkins object can be accessed by a given REST request.
|
boolean permit(org.kohsuke.stapler.StaplerRequest req,
Object bean)
StaplerRequest.getReferer() matches a given host, or
anonymous read is allowed for the given object.req - a request going through the REST APIbean - an exported object of some kindCopyright © 2019. All rights reserved.