Package org.italiangrid.voms.ac.impl
Class LeafVOMSExtensionNormalizationStrategy
- java.lang.Object
-
- org.italiangrid.voms.ac.impl.LeafVOMSExtensionNormalizationStrategy
-
- All Implemented Interfaces:
VOMSAttributesNormalizationStrategy
,VOMSConstants
public class LeafVOMSExtensionNormalizationStrategy extends java.lang.Object implements VOMSAttributesNormalizationStrategy, VOMSConstants
This strategy extracts the VOMS attributes from the top VOMS extension found in the parsing context passed as argument.- Author:
- Andrea Ceccanti
-
-
Field Summary
-
Fields inherited from interface org.italiangrid.voms.asn1.VOMSConstants
VOMS_CERTS_OID, VOMS_EXTENSION_OID, VOMS_FQANS_OID, VOMS_GENERIC_ATTRS_OID, VOMS_HANDLED_EXTENSIONS
-
-
Constructor Summary
Constructors Constructor Description LeafVOMSExtensionNormalizationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<VOMSAttribute>
normalizeAttributes(java.util.List<ACParsingContext> acs)
Returns the normalized view of VOMS Authorization information starting from a list of VOMS Attribute certificates.
-
-
-
Method Detail
-
normalizeAttributes
public java.util.List<VOMSAttribute> normalizeAttributes(java.util.List<ACParsingContext> acs)
Description copied from interface:VOMSAttributesNormalizationStrategy
Returns the normalized view of VOMS Authorization information starting from a list of VOMS Attribute certificates.- Specified by:
normalizeAttributes
in interfaceVOMSAttributesNormalizationStrategy
- Parameters:
acs
- a list ofACParsingContext
objects- Returns:
- a possibly empty list
VOMSAttribute
object
-
-