|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.italiangrid.voms.request.impl.DefaultVOMSACService
public class DefaultVOMSACService
The default implementation of the VOMSACService
.
Nested Class Summary | |
---|---|
static class |
DefaultVOMSACService.Builder
Creates a DefaultVOMSACService object. |
Field Summary | |
---|---|
protected VOMSProtocol |
httpProtocol
The http protocol implementation |
protected VOMSProtocol |
legacyProtocol
The voms legacy protocol implementation |
protected VOMSProtocolListener |
protocolListener
The listener that will be informed about low-level protocol details |
protected VOMSRequestListener |
requestListener
The listener that will be informed about request events |
protected VOMSServerInfoStore |
serverInfoStore
The store used to keep VOMS server contact information. |
protected eu.emi.security.authn.x509.X509CertChainValidatorExt |
validator
The validator used for the SSL handshake |
Constructor Summary | |
---|---|
protected |
DefaultVOMSACService(DefaultVOMSACService.Builder builder)
Constructor which builds a DefaultVOMSACService from a DefaultVOMSACService.Builder |
Method Summary | |
---|---|
protected org.bouncycastle.asn1.x509.AttributeCertificate |
getACFromResponse(VOMSACRequest request,
VOMSResponse response)
Extracts an AC from a VOMS response |
org.bouncycastle.asn1.x509.AttributeCertificate |
getVOMSAttributeCertificate(eu.emi.security.authn.x509.X509Credential credential,
VOMSACRequest request)
Returns an AttributeCertificate given a VOMSACRequest for VOMS attributes. |
protected Set<VOMSServerInfo> |
getVOMSServerInfos(VOMSACRequest request)
Get VOMS server endpoint information that matches with the VOMSACRequest passed
as argument |
protected void |
handleErrorsInResponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSResponse response)
Handles errors included in the VOMS response |
protected void |
handleWarningsInResponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSResponse response)
Handles warnings included in the VOMS response |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected VOMSRequestListener requestListener
protected VOMSProtocolListener protocolListener
protected eu.emi.security.authn.x509.X509CertChainValidatorExt validator
protected VOMSServerInfoStore serverInfoStore
protected VOMSProtocol httpProtocol
protected VOMSProtocol legacyProtocol
Constructor Detail |
---|
protected DefaultVOMSACService(DefaultVOMSACService.Builder builder)
DefaultVOMSACService
from a DefaultVOMSACService.Builder
builder
- the builder object that provides the settings for this VOMSACService
Method Detail |
---|
protected org.bouncycastle.asn1.x509.AttributeCertificate getACFromResponse(VOMSACRequest request, VOMSResponse response)
request
- the requestresponse
- the received response
null
AttributeCertificate
objectprotected void handleErrorsInResponse(VOMSACRequest request, VOMSServerInfo si, VOMSResponse response)
request
- the requestsi
- the VOMS server endpoint informationresponse
- the received VOMSResponse
protected void handleWarningsInResponse(VOMSACRequest request, VOMSServerInfo si, VOMSResponse response)
request
- the requestsi
- the VOMS server endpoint informationresponse
- the received VOMSResponse
public org.bouncycastle.asn1.x509.AttributeCertificate getVOMSAttributeCertificate(eu.emi.security.authn.x509.X509Credential credential, VOMSACRequest request)
VOMSACService
AttributeCertificate
given a VOMSACRequest
for VOMS attributes.
getVOMSAttributeCertificate
in interface VOMSACService
credential
- the credential to be used when contacting the servicerequest
- the request for VOMS attributes
AttributeCertificate
containing (a subset of) the requested attributes.protected Set<VOMSServerInfo> getVOMSServerInfos(VOMSACRequest request)
VOMSACRequest
passed
as argument
request
- the request
Set
of VOMSServerInfo
objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |