public class ConfigureSecurity extends Object
| Constructor and Description |
|---|
ConfigureSecurity() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 stubpublic 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)Copyright © 2015. All Rights Reserved.