|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.security.descriptor.util.ElementParser
org.globus.wsrf.impl.security.descriptor.ClientSecurityDescriptor
Represents a client's security descriptor.
| Field Summary | |
private java.lang.Boolean |
anonymous
|
private Authorization |
authz
|
private java.lang.String |
certFile
|
private java.lang.String |
delegation
|
private org.ietf.jgss.GSSCredential |
gsiCred
|
private java.lang.Integer |
gsiSecConv
|
private java.lang.Integer |
gsiSecMsg
|
private java.lang.Integer |
gsiTransport
|
protected static org.globus.util.I18n |
i18n
|
private java.lang.String |
keyFile
|
private java.lang.Long |
lastModified
|
static java.lang.String |
NS
|
private java.lang.String |
peerCredFile
|
private javax.security.auth.Subject |
peerSubject
|
private java.lang.String |
proxyFile
|
private static javax.xml.namespace.QName |
QNAME
|
static java.lang.String |
RESOURCE
|
| Fields inherited from class org.globus.wsrf.impl.security.descriptor.util.ElementParser |
elementHandlers |
| Constructor Summary | |
ClientSecurityDescriptor()
|
|
| Method Summary | |
java.lang.Boolean |
getAnonymous()
Returns if client is anonymous |
Authorization |
getAuthz()
Returns the authorization scheme configured on client side. |
java.lang.String |
getCertFilename()
Returns the filename from which certificate was loaded |
java.lang.String |
getDelegation()
Returns type of delegation |
java.lang.Integer |
getGSISecureConv()
Returns the protection type configured with GSI Secure Conversation. |
java.lang.Integer |
getGSISecureMsg()
Returns the protection type configured with GSI Transport Transport If null is returned, this method was not configured to be used. |
java.lang.Integer |
getGSITransport()
Returns the protection type configured with GSI Secure Transport If null is returned, this method was not configured to be used. |
org.ietf.jgss.GSSCredential |
getGSSCredential()
|
java.lang.String |
getKeyFilename()
Returns the filename from which key was laoded |
java.lang.Long |
getLastModified()
Returns the time when the credential/proxy file was last modified |
java.lang.String |
getPeerCredentials()
|
javax.security.auth.Subject |
getPeerSubject()
|
java.lang.String |
getProxyFilename()
Returns the file name of the proxy |
protected void |
readObject(java.io.ObjectInputStream ois)
|
void |
setAnonymous()
If set, client is used in anonymous mode. |
void |
setAuthz(Authorization value)
sets the authorization scheme to be used on the client side. |
void |
setCertificateFiles(java.lang.String certName,
java.lang.String keyName)
Sets the file name certificate and key file to load credentials from. |
void |
setDelegation(java.lang.String deleg)
Sets type of delegation. |
void |
setGSISecureConv(java.lang.Integer val)
Indicates that GSI Secure Conversation needs to be used on client side and configured the protection that is required. |
void |
setGSISecureMsg(java.lang.Integer val)
Indicates that GSI Secure Message needs to be used on client side and configured the protection that is required. |
void |
setGSITransport(java.lang.Integer val)
Indicates that GSI Secure Transport needs to be used on client side and configured the protection that is required. |
void |
setGSSCredential(org.ietf.jgss.GSSCredential cred)
Sets the credential to use on client side for securing message |
void |
setLastModified(java.lang.Long modified)
Sets the time when the credential/proxy file was last modified |
void |
setPeerCredentials(java.lang.String str)
Sets file name from which to load credentials to be used for encryption. |
void |
setPeerSubject(javax.security.auth.Subject subject)
Sets the subject to use for encryption |
void |
setProxyFilename(java.lang.String value)
Sets the file name of the proxy to load credentials from |
protected void |
writeObject(java.io.ObjectOutputStream oos)
|
| Methods inherited from class org.globus.wsrf.impl.security.descriptor.util.ElementParser |
checkElement, getFirstChildElement, getQName, parse, register |
| 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 RESOURCE
protected static org.globus.util.I18n i18n
public static final java.lang.String NS
private static final javax.xml.namespace.QName QNAME
private java.lang.Long lastModified
private java.lang.String proxyFile
private java.lang.String certFile
private java.lang.String keyFile
private java.lang.String peerCredFile
private Authorization authz
private java.lang.Integer gsiSecConv
private java.lang.Integer gsiTransport
private java.lang.Integer gsiSecMsg
private java.lang.Boolean anonymous
private java.lang.String delegation
private org.ietf.jgss.GSSCredential gsiCred
private javax.security.auth.Subject peerSubject
| Constructor Detail |
public ClientSecurityDescriptor()
| Method Detail |
public void setProxyFilename(java.lang.String value)
setProxyFilename in interface CredentialParamsParserCallback
public void setCertificateFiles(java.lang.String certName,
java.lang.String keyName)
setCertificateFiles in interface CredentialParamsParserCallbackcertName - Name of file to load certificate fromkeyName - Name of file to load key from.public java.lang.String getProxyFilename()
public java.lang.String getCertFilename()
public java.lang.String getKeyFilename()
public void setAuthz(Authorization value)
setAuthz in interface ClientParamsParserCallbackpublic Authorization getAuthz()
public void setGSISecureConv(java.lang.Integer val)
setGSISecureConv in interface ClientParamsParserCallbackval - Either Constants.SIGNATURE or Constants.ENCRYPTIONpublic java.lang.Integer getGSISecureConv()
public void setGSITransport(java.lang.Integer val)
val - Either Constants.SIGNATURE or Constants.ENCRYPTIONpublic java.lang.Integer getGSITransport()
public void setGSISecureMsg(java.lang.Integer val)
setGSISecureMsg in interface ClientParamsParserCallbackval - Either Constants.SIGNATURE or Constants.ENCRYPTIONpublic java.lang.Integer getGSISecureMsg()
public void setAnonymous()
setAnonymous in interface ClientParamsParserCallbackpublic java.lang.Boolean getAnonymous()
public void setDelegation(java.lang.String deleg)
setDelegation in interface ClientParamsParserCallbackpublic java.lang.String getDelegation()
public void setPeerCredentials(java.lang.String str)
setPeerCredentials in interface ClientParamsParserCallbackpublic java.lang.String getPeerCredentials()
public void setLastModified(java.lang.Long modified)
public java.lang.Long getLastModified()
public void setGSSCredential(org.ietf.jgss.GSSCredential cred)
public org.ietf.jgss.GSSCredential getGSSCredential()
public void setPeerSubject(javax.security.auth.Subject subject)
public javax.security.auth.Subject getPeerSubject()
protected void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOException
protected void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||