Package jenkins.slaves
Class EncryptedSlaveAgentJnlpFile
- java.lang.Object
-
- jenkins.slaves.EncryptedSlaveAgentJnlpFile
-
- All Implemented Interfaces:
org.kohsuke.stapler.HttpResponse
public class EncryptedSlaveAgentJnlpFile extends Object implements org.kohsuke.stapler.HttpResponse
Serves the JNLP file. The client can request an encrypted payload (with JNLP MAC code as the key) or if the client has a suitable permission, it can request a plain text payload.- Since:
- 1.560
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description EncryptedSlaveAgentJnlpFile(AccessControlled it, String viewName, String slaveName, Permission connectPermission)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res, Object node)
-
-
-
Constructor Detail
-
EncryptedSlaveAgentJnlpFile
public EncryptedSlaveAgentJnlpFile(AccessControlled it, String viewName, String slaveName, Permission connectPermission)
-
-
Method Detail
-
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res, Object node) throws IOException, javax.servlet.ServletException
- Specified by:
generateResponse
in interfaceorg.kohsuke.stapler.HttpResponse
- Throws:
IOException
javax.servlet.ServletException
-
-