Class Context


  • public class Context
    extends GenericContext<String>
    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 Detail

      • Context

        public Context()
    • Method Detail

      • getBaseUrl

        public String getBaseUrl()
      • getUsername

        public String getUsername()
      • getPassword

        public String getPassword()
      • getApiKey

        public String getApiKey()
      • setVendorNumber

        public Context setVendorNumber​(String vendorNumber)
      • getVendorNumber

        public String getVendorNumber()
      • setPublicKey

        public void setPublicKey​(String publicKey)
        Add public key to be used for validate signed NetLicensing response.
        Parameters:
        publicKey - client publicKey.
      • getPublicKey

        public String getPublicKey()