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 Object
implements VOMSAttributesNormalizationStrategy, VOMSConstants
This strategy extracts the VOMS attributes from the top VOMS extension found
in the parsing context passed as argument.
-
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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the normalized view of VOMS Authorization information starting from a list of VOMS Attribute certificates.
-
Constructor Details
-
LeafVOMSExtensionNormalizationStrategy
public LeafVOMSExtensionNormalizationStrategy()
-
-
Method Details
-
normalizeAttributes
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
-