Class Context
Provides calling context for the NetLicensing API calls.
The Context object may differ depending on the level at which NetLicensing API is called.
For the internal Java NetLicensing API the Context provides information about the targeted Vendor.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetBaseUrl
(String baseUrl) setPassword
(String password) void
setPublicKey
(String publicKey) Add public key to be used for validate signed NetLicensing response.setSecurityMode
(SecurityMode securityMode) setUsername
(String username) setVendorNumber
(String vendorNumber) Methods inherited from class com.labs64.netlicensing.domain.vo.GenericContext
containsKey, containsKey, getContextMap, getObject, getObject, getValue, getValue, setObject, setObject, setObject, setValue, setValue, setValue
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
setBaseUrl
-
getBaseUrl
-
setUsername
-
getUsername
-
setPassword
-
getPassword
-
setApiKey
-
getApiKey
-
setSecurityMode
-
getSecurityMode
-
setVendorNumber
-
getVendorNumber
-
setPublicKey
Add public key to be used for validate signed NetLicensing response.- Parameters:
publicKey
- client publicKey.
-
getPublicKey
-