|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.authz.common.config.AbstractConfiguration
@ThreadSafe public abstract class AbstractConfiguration
Base configuration implementation for PEP clients and daemons.
Field Summary | |
---|---|
static java.lang.String |
BINDING_NAME
Key under which a configuration object might be bound. |
Constructor Summary | |
---|---|
protected |
AbstractConfiguration()
Constructor. |
Method Summary | |
---|---|
int |
getConnectionTimeout()
Gets the connection socket timeout, in milliseconds. |
javax.net.ssl.X509KeyManager |
getKeyManager()
Gets the credential used by this service to create SSL connections and digital signatures. |
int |
getMaxRequests()
Gets the maximum number of concurrent connections that may be in-process at one time. |
int |
getReceiveBufferSize()
Gets the size of the buffer, in bytes, used when receiving data. |
int |
getSendBufferSize()
Gets the size of the buffer, in bytes, used when sending data. |
javax.net.ssl.X509TrustManager |
getTrustManager()
Gets the trust manager used to evaluate X509 certificates. |
org.glite.voms.PKIStore |
getTrustMaterialStore()
Gets the store containing the trust material used to validate X509 certificates. |
protected void |
setConnectionTimeout(int timeout)
Sets the HTTP connection timeout, in milliseconds. |
protected void |
setKeyManager(javax.net.ssl.X509KeyManager manager)
Sets the credential used by this service to create SSL connections and digital signatures. |
protected void |
setMaxRequests(int max)
Sets the maximum number of concurrent connections that may be in-process at one time. |
protected void |
setReceiveBufferSize(int size)
Sets size of the buffer, in bytes, used when receiving data. |
protected void |
setSendBufferSize(int size)
Sets the size of the buffer, in bytes, used when sending data. |
protected void |
setX509TrustMaterial(org.glite.voms.PKIStore material)
Sets the store containing the trust material used to validate X509 certificates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BINDING_NAME
Constructor Detail |
---|
protected AbstractConfiguration()
Method Detail |
---|
public int getConnectionTimeout()
public int getMaxRequests()
public int getReceiveBufferSize()
public int getSendBufferSize()
public javax.net.ssl.X509KeyManager getKeyManager()
public javax.net.ssl.X509TrustManager getTrustManager()
public org.glite.voms.PKIStore getTrustMaterialStore()
protected final void setConnectionTimeout(int timeout)
timeout
- HTTP connection timeout, in milliseconds; may not be less than 1protected final void setMaxRequests(int max)
max
- maximum number of concurrent connections that may be in-process at one time; may not be less than 1protected final void setReceiveBufferSize(int size)
size
- size of the buffer, in bytes, used when receiving data; may not be less than 1protected final void setSendBufferSize(int size)
size
- size of the buffer, in bytes, used when sending data; may not be less than 1protected final void setKeyManager(javax.net.ssl.X509KeyManager manager)
manager
- credential used by this service to create SSL connections and digital signaturesprotected final void setX509TrustMaterial(org.glite.voms.PKIStore material)
material
- store containing the trust material used to validate X509 certificates
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |