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