Class ACGenerationParams
java.lang.Object
org.italiangrid.voms.request.impl.ACGenerationParams
This class represents the parameters required for generating an Attribute Certificate (AC).
It encapsulates various attributes such as Virtual Organization (VO), Fully Qualified Attribute Names (FQANs),
Generic Attributes (GAs), host details, validity periods, and a serial number.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for constructingACGenerationParamsinstances. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of Fully Qualified Attribute Names.(package private) final List<VOMSGenericAttribute> The list of Generic Attributes.(package private) final StringThe host associated with the AC request.(package private) final DateThe end time of the validity period.(package private) final DateThe start time of the validity period.(package private) final intThe port associated with the AC request.(package private) final BigIntegerThe serial number of the attribute certificate.(package private) final StringThe Virtual Organization name. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrivate constructor to initialize an instance using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionstatic ACGenerationParams.Builderbuilder()static ACGenerationParamsConstructs anACGenerationParamsinstance from system properties.getFqans()getGas()getHost()intgetPort()getVo()
-
Field Details
-
vo
The Virtual Organization name. -
fqans
The list of Fully Qualified Attribute Names. -
gas
The list of Generic Attributes. -
host
The host associated with the AC request. -
port
final int portThe port associated with the AC request. -
notBefore
The start time of the validity period. -
notAfter
The end time of the validity period. -
serialNo
The serial number of the attribute certificate.
-
-
Constructor Details
-
ACGenerationParams
Private constructor to initialize an instance using the Builder pattern.- Parameters:
builder- the builder instance used to construct this object
-
-
Method Details
-
getVo
- Returns:
- the Virtual Organization name
-
getFqans
- Returns:
- the list of Fully Qualified Attribute Names
-
getGas
- Returns:
- the list of Generic Attributes
-
getHost
- Returns:
- the host associated with the AC request
-
getPort
public int getPort()- Returns:
- the port associated with the AC request
-
getNotBefore
- Returns:
- the start time of the validity period
-
getNotAfter
- Returns:
- the end time of the validity period
-
getSerialNo
- Returns:
- the serial number of the attribute certificate
-
builder
- Returns:
- a new Builder instance
-
fromSystemProperties
Constructs anACGenerationParamsinstance from system properties.- Returns:
- a configured ACGenerationParams instance.
-