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 class
Builder class for constructingACGenerationParams
instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of Fully Qualified Attribute Names.(package private) final List
<VOMSGenericAttribute> The list of Generic Attributes.(package private) final String
The host associated with the AC request.(package private) final Date
The end time of the validity period.(package private) final Date
The start time of the validity period.(package private) final int
The port associated with the AC request.(package private) final BigInteger
The serial number of the attribute certificate.(package private) final String
The Virtual Organization name. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Private constructor to initialize an instance using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionstatic ACGenerationParams.Builder
builder()
static ACGenerationParams
Constructs anACGenerationParams
instance from system properties.getFqans()
getGas()
getHost()
int
getPort()
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 anACGenerationParams
instance from system properties.- Returns:
- a configured ACGenerationParams instance.
-