|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.gums.userGroup.VomsServer
public class VomsServer
Represents a VOMS server. Contains the other parameters for access this server. This is meant to be a shared reference for multiple user groups. One specifies the base url here and provides the remainder url for each user group.
Constructor Summary | |
---|---|
VomsServer()
Creates a new VomsServer object. |
|
VomsServer(Configuration configuration)
Creates a new VomsServer object with a configuration. |
|
VomsServer(Configuration configuration,
java.lang.String name)
Creates a new VomsServer object with a configuration and a name. |
Method Summary | |
---|---|
VomsServer |
clone(Configuration configuration)
|
java.lang.String |
getBaseUrl()
Returns the address of the VOMS server to contact. |
Configuration |
getConfiguration()
|
UserGroupDB |
getDB(java.lang.String userGroup)
|
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
java.lang.String |
getPersistenceFactory()
|
java.lang.String |
getSslCAFiles()
Returns the location of the Certificate Authority certificates used to connect to the VOMS server. |
java.lang.String |
getSslCertfile()
Returns the location of the certificated used to connect to the VOMS server. |
java.lang.String |
getSslKey()
Returns the location of the key to be used during the connection. |
java.lang.String |
getSslKeyPasswd()
Returns the private key password used to connect to the VOMS server. |
void |
setBaseUrl(java.lang.String baseUrl)
Changes the base address of the VOMS server to contact. |
void |
setConfiguration(Configuration configuration)
|
void |
setDescription(java.lang.String description)
|
void |
setName(java.lang.String name)
|
void |
setPersistenceFactory(java.lang.String persistenceFactory)
|
void |
setSslCAFiles(java.lang.String sslCAFiles)
Changes the location of the Certificate Authority certificates used to connect to the VOMS server. |
void |
setSslCertfile(java.lang.String sslCertfile)
Changes the location of the certificated used to connect to the VOMS server. |
void |
setSslKey(java.lang.String sslKey)
Changes the location of the private key used to connect to the VOMS server. |
void |
setSslKeyPasswd(java.lang.String sslKeyPasswd)
Changes the private key password used to connect to the VOMS server. |
java.lang.String |
toString()
|
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VomsServer()
public VomsServer(Configuration configuration)
configuration
- public VomsServer(Configuration configuration, java.lang.String name)
configuration
- name
- Method Detail |
---|
public VomsServer clone(Configuration configuration)
public java.lang.String getBaseUrl()
public Configuration getConfiguration()
public java.lang.String getDescription()
public UserGroupDB getDB(java.lang.String userGroup)
public java.lang.String getName()
public java.lang.String getPersistenceFactory()
public java.lang.String getSslCAFiles()
public java.lang.String getSslCertfile()
public java.lang.String getSslKey()
public java.lang.String getSslKeyPasswd()
public void setBaseUrl(java.lang.String baseUrl)
url
- The address of the VOMS server (i.e. https://voms.myste.org:8443/edg-voms-admin)public void setConfiguration(Configuration configuration)
public void setDescription(java.lang.String description)
public void setName(java.lang.String name)
public void setPersistenceFactory(java.lang.String persistenceFactory)
public void setSslCAFiles(java.lang.String sslCAFiles)
sslCAFiles
- The location of the CA certificates (i.e. /etc/grid-security/certificates/*.0)public void setSslCertfile(java.lang.String sslCertfile)
sslCertfile
- The location of the certificate (i.e. /etc/grid-security/hostcert.pem)public void setSslKey(java.lang.String sslKey)
sslKey
- The location of the key (i.e. /etc/grid-security/hostkey.pem)public void setSslKeyPasswd(java.lang.String sslKeyPasswd)
sslKeyPasswd
- The password for the private keypublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |