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 voidParses an LSC file.parse(String vo, String hostname, InputStream is) Parses an LSC file from a generic input stream.private voidvalidateChain(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:LSCFileParserParses an LSC file from a generic input stream.- Specified by:
parsein interfaceLSCFileParser- Parameters:
vo- the name of the VO this LSC file is abouthostname- the name of host this LSC file is aboutis- anInputStreamthat contains the LSC information- Returns:
- an
LSCFileobject
-
validateChain
-
parse
Description copied from interface:LSCFileParserParses an LSC file.- Specified by:
parsein 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
LSCFileobject
-