fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/config/FluidLicenseClient.java
public LicenseRequest applyLicense(String licenseToApplyParam)
    {
        LicenseRequest liceReq = new LicenseRequest();
        liceReq.setLicenseCipherText(licenseToApplyParam);

        if(this.serviceTicket != null)
        {
            liceReq.setServiceTicket(this.serviceTicket);
        }

        return new LicenseRequest(this.postJson(
                liceReq, Version1.licenseApply()));
    }
public LicenseRequest applyLicense(String licenseToApplyParam)
    {
        LicenseRequest liceReq = new LicenseRequest();
        liceReq.setLicenseCipherText(licenseToApplyParam);

        if(this.serviceTicket != null)
        {
            liceReq.setServiceTicket(this.serviceTicket);
        }

        return new LicenseRequest(this.postJson(
                liceReq, Version1.licenseApply()));
    }
Applies a generated license for the server.

@param licenseToApplyParam The clear license to apply.
@return The applied license.