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 Details

    • DefaultVOMSACParser

      public DefaultVOMSACParser()
    • DefaultVOMSACParser

      public DefaultVOMSACParser(VOMSACLookupStrategy strategy)
  • Method Details

    • 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 interface VOMSACParser
      Parameters:
      validatedChain - a validated X.509 certificate chain
      Returns:
      a possibly empty list of VOMSAttribute objects providing access to the parsed VOMS attributes