|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.italiangrid.voms.request.impl.DefaultVOMSACService.Builder
public static class DefaultVOMSACService.Builder
Creates a DefaultVOMSACService object.
The DefaultVOMSACService parameters can be set with the appropriate methods. Example:
VOMSACService acService = new DefaultVOMSACService.Builder(certChainValidator)
.requestListener(requestListener)
.serverInfoStoreListener(serverInfoStoreListener)
.protocolListener(protocolListener)
.build();
| Field Summary | |
|---|---|
protected VOMSProtocol |
httpProtocol
The http protocol implementation |
protected VOMSProtocol |
legacyProtocol
The voms legacy protocol implementation |
| Constructor Summary | |
|---|---|
DefaultVOMSACService.Builder(eu.emi.security.authn.x509.X509CertChainValidatorExt certChainValidator)
Creates a Builder for a DefaultVOMSACService. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected VOMSProtocol httpProtocol
protected VOMSProtocol legacyProtocol
| Constructor Detail |
|---|
public DefaultVOMSACService.Builder(eu.emi.security.authn.x509.X509CertChainValidatorExt certChainValidator)
DefaultVOMSACService.
certChainValidator - the validator to use to setup the SSL connection and validate the certificates| Method Detail |
|---|
public DefaultVOMSACService.Builder requestListener(VOMSRequestListener l)
DefaultVOMSACService that this builder is creating
l - the request listener that will receive notifications about request events
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder serverInfoStoreListener(VOMSServerInfoStoreListener sl)
VOMSServerInfoStoreListener for the DefaultVOMSACService that this builder is creating
sl - the store listener that will receive notifications about store events
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder serverInfoStore(VOMSServerInfoStore sis)
VOMSServerInfoStore for the DefaultVOMSACService that this builder is creating
sis - a VOMSServerInfoStore object
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder protocolListener(VOMSProtocolListener pl)
VOMSProtocolListener for the DefaultVOMSACService that this builder is creating
pl - the VOMSProtocolListener that will receive notifications about protocol events
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder connectTimeout(int timeout)
DefaultVOMSACService that this builder is creating
timeout - the timeout value in milliseconds
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder readTimeout(int timeout)
DefaultVOMSACService that this builder is creating
timeout - the timeout value in milliseconds
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder vomsesLookupStrategy(VOMSESLookupStrategy strategy)
DefaultVOMSACService that this builder is creating
strategy - the VOMSESLookupStrategy object
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder vomsesLocations(List<String> vomsesLocations)
VOMSESLookupStrategy for the DefaultVOMSACService that
this builder is creating
vomsesLocations - a list of paths where vomses information will be looked for
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder httpProtocol(VOMSProtocol httpProtocol)
httpProtocol - the http protocol implementatino
DefaultVOMSACService.Builder instancepublic DefaultVOMSACService.Builder legacyProtocol(VOMSProtocol legacyProtocol)
protected void buildServerInfoStore()
protected void buildProtocols()
public DefaultVOMSACService build()
DefaultVOMSACService
DefaultVOMSACService configured as required by this builder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||