Class FakeVOMSACService
java.lang.Object
org.italiangrid.voms.request.impl.FakeVOMSACService
- All Implemented Interfaces:
VOMSACService
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.bouncycastle.cert.X509AttributeCertificateHolderbuildAC(eu.emi.security.authn.x509.X509Credential credential, VOMSACRequest request) longorg.bouncycastle.asn1.x509.AttributeCertificategetVOMSAttributeCertificate(eu.emi.security.authn.x509.X509Credential credential, VOMSACRequest request) Returns anAttributeCertificategiven aVOMSACRequestfor VOMS attributes.static FakeVOMSACServicenewInstance(eu.emi.security.authn.x509.X509Credential aaCredential, ACGenerationParams params, VOMSRequestListener listener) static FakeVOMSACServicenewInstanceFromProperties(VOMSRequestListener listener) voidsetAcParams(ACGenerationParams acParams) voidsetAcSerialNumber(long acSerialNumber)
-
Method Details
-
buildAC
protected org.bouncycastle.cert.X509AttributeCertificateHolder buildAC(eu.emi.security.authn.x509.X509Credential credential, VOMSACRequest request) -
getVOMSAttributeCertificate
public org.bouncycastle.asn1.x509.AttributeCertificate getVOMSAttributeCertificate(eu.emi.security.authn.x509.X509Credential credential, VOMSACRequest request) Description copied from interface:VOMSACServiceReturns anAttributeCertificategiven aVOMSACRequestfor VOMS attributes.- Specified by:
getVOMSAttributeCertificatein interfaceVOMSACService- Parameters:
credential- the credential to be used when contacting the servicerequest- the request for VOMS attributes- Returns:
- a possibly null
AttributeCertificatecontaining (a subset of) the requested attributes.
-
getAcParams
-
setAcParams
-
getAcSerialNumber
public long getAcSerialNumber() -
setAcSerialNumber
public void setAcSerialNumber(long acSerialNumber) -
newInstance
public static FakeVOMSACService newInstance(eu.emi.security.authn.x509.X509Credential aaCredential, ACGenerationParams params, VOMSRequestListener listener) -
newInstanceFromProperties
-