Class FakeVOMSACService

    • Method Detail

      • buildFakeServerInfo

        private VOMSServerInfo buildFakeServerInfo​(java.lang.String vo,
                                                   java.lang.String host,
                                                   int port)
                                            throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
      • 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: VOMSACService
        Returns an AttributeCertificate given a VOMSACRequest for VOMS attributes.
        Specified by:
        getVOMSAttributeCertificate in interface VOMSACService
        Parameters:
        credential - the credential to be used when contacting the service
        request - the request for VOMS attributes
        Returns:
        a possibly null AttributeCertificate containing (a subset of) the requested attributes.
      • getAcSerialNumber

        public long getAcSerialNumber()
      • setAcSerialNumber

        public void setAcSerialNumber​(long acSerialNumber)