org.glite.voms.contact
Class VOMSESFileParser
java.lang.Object
org.glite.voms.contact.VOMSESFileParser
public class VOMSESFileParser
- extends 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.
- Author:
- Andrea Ceccanti
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buildServerMap
public VOMSServerMap buildServerMap()
throws IOException
- This method is used to build a
VOMSServerMap
object starting from
vomses configuration files or directories.
- Returns:
- a
VOMSServerMap
object that reflects vomses configuration files.
- Throws:
IOException
- if a parsing error occurs, or no vomses file is found.
instance
public static VOMSESFileParser instance()
- Returns:
- a new instance of
VOMSESFileParser
.
Copyright © 2012. All Rights Reserved.