Package org.italiangrid.voms.store.impl
Class DefaultLSCFileParser
java.lang.Object
org.italiangrid.voms.store.impl.DefaultLSCFileParser
- All Implemented Interfaces:
LSCFileParser
The default implementation for the LSC file parser.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Parses an LSC file.parse
(String vo, String hostname, InputStream is) Parses an LSC file from a generic input stream.private void
validateChain
(List<String> certificateChainDescription, String vo, String hostname)
-
Field Details
-
MALFORMED_LSC_FILE_ERROR_TEMPLATE
- See Also:
-
-
Constructor Details
-
DefaultLSCFileParser
public DefaultLSCFileParser()
-
-
Method Details
-
checkFileExistanceAndReadabilty
-
parse
Description copied from interface:LSCFileParser
Parses an LSC file from a generic input stream.- Specified by:
parse
in interfaceLSCFileParser
- Parameters:
vo
- the name of the VO this LSC file is abouthostname
- the name of host this LSC file is aboutis
- anInputStream
that contains the LSC information- Returns:
- an
LSCFile
object
-
validateChain
-
parse
Description copied from interface:LSCFileParser
Parses an LSC file.- Specified by:
parse
in interfaceLSCFileParser
- Parameters:
vo
- the name of the VO this LSC file is abouthostname
- the name of host this LSC file is aboutfile
- the LSC file- Returns:
- an
LSCFile
object
-