Package hudson.model
Class BuildAuthorizationToken
java.lang.Object
hudson.model.BuildAuthorizationToken
Deprecated.
Authorization token to allow projects to trigger themselves under the secured environment.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkPermission
(AbstractProject<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Deprecated.static void
checkPermission
(Job<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Deprecated.static void
checkPermission
(Job<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) static BuildAuthorizationToken
create
(org.kohsuke.stapler.StaplerRequest req) Deprecated.static BuildAuthorizationToken
create
(org.kohsuke.stapler.StaplerRequest2 req) Deprecated.getToken()
Deprecated.
-
Constructor Details
-
BuildAuthorizationToken
Deprecated.
-
-
Method Details
-
create
Deprecated.- Since:
- 2.475
-
create
Deprecated. -
checkPermission
@Deprecated public static void checkPermission(AbstractProject<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOExceptionDeprecated.- Throws:
IOException
-
checkPermission
public static void checkPermission(Job<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOExceptionDeprecated.- Throws:
IOException
- Since:
- 2.475
-
checkPermission
@Deprecated public static void checkPermission(Job<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException- Throws:
IOException
-
getToken
Deprecated.
-
ACL
andItem.BUILD
. This code is only here for the backward compatibility.