Package hudson.model
Class BuildAuthorizationToken
- java.lang.Object
-
- hudson.model.BuildAuthorizationToken
-
@Deprecated public final class BuildAuthorizationToken extends Object
Deprecated.2008-07-20 UseACL
andItem.BUILD
. This code is only here for the backward compatibility.Authorization token to allow projects to trigger themselves under the secured environment.- Author:
- Kohsuke Kawaguchi
- See Also:
BuildableItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildAuthorizationToken.ConverterImpl
Deprecated.
-
Constructor Summary
Constructors Constructor Description BuildAuthorizationToken(String token)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static 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.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Deprecated.static BuildAuthorizationToken
create(org.kohsuke.stapler.StaplerRequest req)
Deprecated.String
getToken()
Deprecated.
-
-
-
Constructor Detail
-
BuildAuthorizationToken
public BuildAuthorizationToken(String token)
Deprecated.
-
-
Method Detail
-
create
public static BuildAuthorizationToken create(org.kohsuke.stapler.StaplerRequest req)
Deprecated.
-
checkPermission
@Deprecated public static void checkPermission(AbstractProject<?,?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
Deprecated.- Throws:
IOException
-
checkPermission
public static void checkPermission(Job<?,?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
Deprecated.- Throws:
IOException
-
getToken
public String getToken()
Deprecated.
-
-