|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.protocol.HandlerConfiguration
public class HandlerConfiguration
This class contains configuration information used by various Flash Access handlers.
A context instance is not guaranteed to be synchronized against concurrent access by multiple threads. Threads that need to access a single context instance concurrently should be synchronized amongst themselves and provide the necessary locking.
Field Summary | |
---|---|
static java.lang.String |
licenseAuditLogCategory
The log category used for license audit information if isLogRequestData == true . |
Constructor Summary | |
---|---|
HandlerConfiguration()
Creates an empty HandlerConfiguration instance. |
Method Summary | |
---|---|
java.util.List |
getAdditionalServerTransportCredentials()
Retrieves additional server transport credentials (certificate and private key) issued by the Flash Access CA, which are allowed for decrypting requests. |
ModuleRequirements |
getDRMModuleRequirements()
Retrieves the DRM versions that are restricted. |
PolicyUpdateList |
getPolicyUpdateList()
Retrieves the list of policies which have either been revoked or updated (post-packaging) by the server. |
RevocationList |
getRevocationList()
Retrieves a list of revoked certificates. |
ModuleRequirements |
getRuntimeModuleRequirements()
Retrieves the runtime versions that are restricted. |
ServerConfigData |
getServerConfigData()
Retrieves the server configuration data to respond to client requests for the server's current server configuration data. |
ServerCredential |
getServerTransportCredential()
Retrieves the server transport credential (certificate and private key) issued by the Flash Access CA. |
int |
getTimestampTolerance()
Retrieves the maximum time, in seconds, allowed by the server between the time in the request and the server's time. |
boolean |
isLogLicensesIssued()
Determines whether license audit information will be written to the log using the log category com.adobe.flashaccess.sdk.protocol.license.Audit and log level information. |
boolean |
isLogRequestData()
Determines whether unencrypted requests/responses are logged to aid in debugging during server development. |
void |
setAdditionalServerTransportCredentials(java.util.Collection serverCredentials)
Sets the additional server transport credentials (certificate and private key) issued by the Flash Access CA, which are allowed for decrypting requests. |
void |
setDRMModuleRequirements(ModuleRequirements requirements)
Sets the DRM versions that are restricted. |
void |
setLogLicensesIssued(boolean logLicensesIssued)
Sets whether license audit information will be written to the log using log category com.adobe.flashaccess.sdk.protocol.license.Audit . |
void |
setLogRequestData(boolean logRequestData)
Sets whether unencrypted requests/responses are logged to aid in debugging during server development. |
void |
setPolicyUpdateList(PolicyUpdateList policyUpdateList)
Sets the list of policies which have either been revoked or updated (post-packaging) by the server. |
void |
setRevocationList(RevocationList revocationList)
Sets the list of revoked certificates. |
void |
setRuntimeModuleRequirements(ModuleRequirements requirements)
Sets the runtime versions that are restricted. |
void |
setServerConfigData(ServerConfigData serverConfigData)
Sets the server configuration data to respond to client requests for the server's current server configuration data. |
void |
setServerTransportCredential(ServerCredential serverCredential)
Sets the server transport credential (certificate and private key) issued by the Flash Access CA. |
void |
setTimestampTolerance(int timestampTolerance)
Sets the maximum time, in seconds, allowed by the server between the time in the request and the server's time. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String licenseAuditLogCategory
isLogRequestData == true
.
Constructor Detail |
---|
public HandlerConfiguration()
HandlerConfiguration
instance. By default, request data is not logged,
and no checking is done to ensure the client's timestamp
is close to the server's time.
Method Detail |
---|
public ServerCredential getServerTransportCredential()
public void setServerTransportCredential(ServerCredential serverCredential)
serverCredential
- The server's certificate and key.public java.util.List getAdditionalServerTransportCredentials()
HandlerConfiguration.setServerTransportCredential(ServerCredential)
will be used for signing responses and authentication tokens.
ServerCredential
> containing additional server transport credentials.public void setAdditionalServerTransportCredentials(java.util.Collection serverCredentials)
HandlerConfiguration.setServerTransportCredential(ServerCredential)
will be used for signing responses and authentication tokens.
serverCredentials
- List<ServerCredential
> specifying the server's transport
credentials (each credential includes a certificate and key).public RevocationList getRevocationList()
public void setRevocationList(RevocationList revocationList)
ExpiredRevocationListException
when the list is checked.
revocationList
- The list of revoked certificates.public ModuleRequirements getDRMModuleRequirements()
null
if there are no
restrictions on the DRM version.public void setDRMModuleRequirements(ModuleRequirements requirements)
requirements
- The DRM module restrictions.public ModuleRequirements getRuntimeModuleRequirements()
null
if no restrictions set.public void setRuntimeModuleRequirements(ModuleRequirements requirements)
requirements
- The runtime module restrictions.public PolicyUpdateList getPolicyUpdateList()
public void setPolicyUpdateList(PolicyUpdateList policyUpdateList)
ExpiredPolicyUpdateListException
when the list is checked.
policyUpdateList
- The list of policies which have either been revoked or updated
(post-packaging) by the server.public ServerConfigData getServerConfigData()
public void setServerConfigData(ServerConfigData serverConfigData)
serverConfigData
- The server configuration data.public int getTimestampTolerance()
public void setTimestampTolerance(int timestampTolerance)
timestampTolerance
- The timestamp tolerance.public boolean isLogRequestData()
true
if request data will be logged, false
otherwise.public void setLogRequestData(boolean logRequestData)
logRequestData
- true
if request data will be logged, false
otherwise.public boolean isLogLicensesIssued()
com.adobe.flashaccess.sdk.protocol.license.Audit
and log level information.
The audit information will include:
No audit information is written for preview licenses.
true
if license audit information will be logged, false
otherwise.public void setLogLicensesIssued(boolean logLicensesIssued)
com.adobe.flashaccess.sdk.protocol.license.Audit
.
logLicensesIssued
- true
if license audit information will be logged, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |