|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.ConnectionProperty
|
+--uk.org.ogsadai.client.toolkit.SecurityProperty
|
+--uk.org.ogsadai.client.toolkit.wsrf.MessageLevelSecurityProperty
Encapsulates message level security settings of a Data Service.
Can be passed to the configureStub method of a
WSRFDataService.
| Field Summary |
| Fields inherited from class uk.org.ogsadai.client.toolkit.ConnectionProperty |
SECURITY, TIMEOUT |
| Constructor Summary | |
MessageLevelSecurityProperty()
Constructor. |
|
| Method Summary | |
void |
configureStub(Stub stub)
|
Authentication |
getAuthentication()
Gets the authentication security mode. |
Authorization |
getAuthorization()
Gets the authorization security mode. |
org.ietf.jgss.GSSCredential |
getCredential()
Gets the security credential. |
Delegation |
getDelegation()
Gets the delegation security mode. |
void |
setAuthentication(Authentication authenticationMode)
Sets the authenication security mode. |
void |
setAuthorization(Authorization authorizationMode)
Sets the authorization security mode. |
void |
setCredential(org.ietf.jgss.GSSCredential credential)
Sets the security credential. |
void |
setDelegation(Delegation delegationMode)
Sets the delegation security mode. |
java.lang.String |
toString()
Returns a brief description of the message level security settings. |
| Methods inherited from class uk.org.ogsadai.client.toolkit.ConnectionProperty |
getName, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MessageLevelSecurityProperty()
| Method Detail |
public void setAuthentication(Authentication authenticationMode)
authenticationMode - authentication modepublic Authentication getAuthentication()
public void setDelegation(Delegation delegationMode)
delegationMode - delegation security modepublic Delegation getDelegation()
public void setAuthorization(Authorization authorizationMode)
authorizationMode - authorization security modepublic Authorization getAuthorization()
public void setCredential(org.ietf.jgss.GSSCredential credential)
credential - security credential to usepublic org.ietf.jgss.GSSCredential getCredential()
public java.lang.String toString()
"[MessageLevelSecurityProperty:
authentication=SECURE_CONVERSATION_PRIVACY
delegation=LIMITED
authorization=NONE
id=/C=UK/O=eScience/OU=Edinburgh/L=NeSC/CN=joe bloggs ]"
toString in class java.lang.Objectpublic void configureStub(Stub stub)
configureStub in class ConnectionProperty
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||