org.glite.voms.contact
Class VOMSESFileParser
java.lang.Object
org.glite.voms.contact.VOMSESFileParser
public class VOMSESFileParser
extends java.lang.Object
This class implements support for vomses configuration files and directories.
The vomses file search procedure is as follows:
- if the
GLITE_LOCATION
system property is set, the $GLITE_LOCATION/etc/vomses
path is added
to the search path.
- if the
VOMSES_LOCATION
system propery is set, its value its interpreted as a colon (:) separated list of paths
that are added to the search path.
- if the
${user.home}/.globus/vomses
file or directory is set, it is added to the search path. - if the
${user.home}/.glite/vomses
file or directory is set, it is added to the search path.
VOMSServerMap | buildServerMap() - This method is used to build a
VOMSServerMap object starting from
vomses configuration files or directories.
|
static VOMSESFileParser | instance()
|
buildServerMap
public VOMSServerMap buildServerMap()
throws IOException
This method is used to build a VOMSServerMap
object starting from
vomses configuration files or directories.
- a
VOMSServerMap
object that reflects vomses configuration files.
instance
public static VOMSESFileParser instance()
- a new instance of
VOMSESFileParser
.