Package org.italiangrid.voms.ac.impl
Class DefaultVOMSACParser
- java.lang.Object
-
- org.italiangrid.voms.ac.impl.DefaultVOMSACParser
-
- All Implemented Interfaces:
VOMSACParser
- Direct Known Subclasses:
DefaultVOMSValidator
public class DefaultVOMSACParser extends Object implements VOMSACParser
Default implementation of the VOMS attribute certificate parsing logic.- Author:
- Andrea Ceccanti
-
-
Constructor Summary
Constructors Constructor Description DefaultVOMSACParser()
DefaultVOMSACParser(VOMSACLookupStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<VOMSAttribute>
parse(X509Certificate[] validatedChain)
Looks for and parses VOMS attributes in the certificate chain passed as argument (which is assumed to be already validated).
-
-
-
Constructor Detail
-
DefaultVOMSACParser
public DefaultVOMSACParser()
-
DefaultVOMSACParser
public DefaultVOMSACParser(VOMSACLookupStrategy strategy)
-
-
Method Detail
-
parse
public List<VOMSAttribute> parse(X509Certificate[] validatedChain)
Description copied from interface:VOMSACParser
Looks for and parses VOMS attributes in the certificate chain passed as argument (which is assumed to be already validated).- Specified by:
parse
in interfaceVOMSACParser
- Parameters:
validatedChain
- a validated X.509 certificate chain- Returns:
- a possibly empty list of
VOMSAttribute
objects providing access to the parsed VOMS attributes
-
-