|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JLicensureServer
Interface defining the JLicensure server.
| Method Summary | |
|---|---|
void |
addLicenseeData(LicenseeData licensee)
Add new licensee information to the server instance. |
LicenseGrant |
getLicenseGrant()
Get the license grant interface |
LicenseStorage |
getLicenseStorage()
Get the license storage used by the server. |
License |
grantLicense(LicenseRequest request)
The main operation of the licensure server is to grant licenses for given license requests. |
void |
removeLicenseeData(LicenseeData licensee)
Remove the given licensee data from this server instance and its storage. |
void |
setLicenseGrant(LicenseGrant licenseGrant)
Set the license grant interface |
void |
setLicenseStorage(LicenseStorage storage)
Set the license storage to be used by the server. |
void |
setProperties(java.util.Properties properties)
Set additional properties that may be used by an implementation. |
boolean |
verifyCommand(SignedCommand signedCommand)
Verify the given signed command |
| Method Detail |
|---|
License grantLicense(LicenseRequest request)
throws LicenseNotGrantedException
request - the license request
LicenseNotGrantedException
boolean verifyCommand(SignedCommand signedCommand)
throws java.security.GeneralSecurityException
signedCommand - the signed command to verify
java.security.GeneralSecurityException
void addLicenseeData(LicenseeData licensee)
throws java.io.IOException
java.io.IOException
void removeLicenseeData(LicenseeData licensee)
throws java.io.IOException
java.io.IOExceptionvoid setLicenseStorage(LicenseStorage storage)
storage - license storageLicenseStorage getLicenseStorage()
void setLicenseGrant(LicenseGrant licenseGrant)
licenseGrant - license grant interfaceLicenseGrant getLicenseGrant()
void setProperties(java.util.Properties properties)
properties - New value of property properties.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||