Class EncryptedObject<T extends Serializable>
java.lang.Object
io.jenkins.plugins.cursor_origin_branch_source.EncryptedObject<T>
- All Implemented Interfaces:
Serializable
A encrypted object which may be passed to an agent and back and then used safely from the controller.
Any attempt by code running in the agent to construct malicious data will be rejected;
the data must have been constructed originally in the controller in the same session.
Furthermore, the agent cannot inspect the contents (beyond what it could guess based on serialized size).
Suitable for use as a field in a
SlaveToMasterCallable.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedObject(T o) Create an encrypted object wrapper inside the controller. -
Method Summary
-
Constructor Details
-
EncryptedObject
Create an encrypted object wrapper inside the controller.
-
-
Method Details
-
o
The wrapped object. May only be called from inside the controller.
-