|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.security.utils.ConfigureSecurity
public class ConfigureSecurity
This class contains utility methods to manage credentials and security related stuff for DILIGENT services and clients.
| Constructor Summary | |
|---|---|
ConfigureSecurity()
|
|
| Method Summary | |
|---|---|
static void |
setSecurity(javax.xml.rpc.Stub stub,
boolean encryption,
GSSCredential credentials,
String delegation)
This method allows to set security properties on service stubs. |
static void |
setSecurity(javax.xml.rpc.Stub stub,
boolean encryption,
GSSCredential credentials,
String delegation,
int contextLifetime)
This method allows to set security properties on service stubs. |
static void |
setSecurity(javax.xml.rpc.Stub stub,
GSSCredential credentials)
This method allows to set security properties on service stubs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigureSecurity()
| Method Detail |
|---|
public static void setSecurity(javax.xml.rpc.Stub stub,
GSSCredential credentials)
stub - The javax.xml.rpc.Stub object where to set
securitycredentials - The object containing credentials to be set in stub
public static void setSecurity(javax.xml.rpc.Stub stub,
boolean encryption,
GSSCredential credentials,
String delegation)
stub - The javax.xml.rpc.Stub object where to set
securityencryption - If true encryption of messages will be asked to the service,
if false signature only is usedcredentials - The object containing credentials to be set in stubdelegation - The value of delegation required. allowed values are:
public static void setSecurity(javax.xml.rpc.Stub stub,
boolean encryption,
GSSCredential credentials,
String delegation,
int contextLifetime)
stub - The javax.xml.rpc.Stub object where to set
security, cannot be null.encryption - If true encryption of messages will be asked to the service,
if false signature only is usedcredentials - The object containing credentials to be set in stub, cannot be null.delegation - The value of delegation required, cannot be null. Allowed values are: contextLifetime - the lifetime of the GSI Secure Conversation context (in
seconds)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||