Package jenkins.slaves
Class EncryptedSlaveAgentJnlpFile
java.lang.Object
jenkins.slaves.EncryptedSlaveAgentJnlpFile
- All Implemented Interfaces:
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
ConstructorDescriptionEncryptedSlaveAgentJnlpFile
(AccessControlled it, String viewName, String slaveName, Permission connectPermission) -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateResponse
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res, Object node) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.kohsuke.stapler.HttpResponse
generateResponse
-
Constructor Details
-
EncryptedSlaveAgentJnlpFile
public EncryptedSlaveAgentJnlpFile(AccessControlled it, String viewName, String slaveName, Permission connectPermission)
-
-
Method Details
-
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res, Object node) throws IOException, jakarta.servlet.ServletException - Specified by:
generateResponse
in interfaceorg.kohsuke.stapler.HttpResponse
- Throws:
IOException
jakarta.servlet.ServletException
-