Package | Description |
---|---|
org.italiangrid.voms.request |
This package provides the API for requesting VOMS attribtues from a remote VOMS server.
|
org.italiangrid.voms.request.impl |
This package provides the implementation logic for VOMS attributes requests.
|
org.italiangrid.voms.util |
This package provides utility classes used in other packages.
|
Modifier and Type | Field and Description |
---|---|
private VOMSServerInfo |
VOMSProtocolError.serverInfo
The VOMS server endpoint information related with this error
|
Modifier and Type | Method and Description |
---|---|
VOMSServerInfo |
VOMSProtocolError.getServerInfo() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<VOMSServerInfo> |
VOMSServerInfoStore.getVOMSServerInfo()
Returns a set of all
VOMSServerInfo objects in this
VOMSServerInfoStore . |
java.util.Set<VOMSServerInfo> |
VOMSServerInfoStore.getVOMSServerInfo(java.lang.String voName)
Returns a set of
VOMSServerInfo object matching a vo name or alias
passed as argument. |
java.util.List<VOMSServerInfo> |
VOMSESParser.parse(java.io.File f)
Parses the VOMS contact information from the
File passed as
argument. |
java.util.List<VOMSServerInfo> |
VOMSESParser.parse(java.io.Reader vomsesReader)
Parses the VOMS contact information from the
Reader passed as
argument. |
Modifier and Type | Method and Description |
---|---|
void |
VOMSServerInfoStore.addVOMSServerInfo(VOMSServerInfo info)
Adds a
VOMSServerInfo to this VOMSServerInfoStore . |
VOMSResponse |
VOMSProtocol.doRequest(VOMSServerInfo endpoint,
eu.emi.security.authn.x509.X509Credential credential,
VOMSACRequest request)
Makes a request, get the response.
|
void |
VOMSRequestListener.notifyErrorsInVOMSReponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSErrorMessage[] errors)
Informs that errors were included in the VOMS response produced by a VOMS
server
|
void |
VOMSServerInfoStoreListener.notifyVOMSESInformationLoaded(java.lang.String vomsesPath,
VOMSServerInfo info)
Informs that VOMSES information was succesfully loaded from a given path
|
void |
VOMSRequestListener.notifyVOMSRequestFailure(VOMSACRequest request,
VOMSServerInfo endpoint,
java.lang.Throwable error)
Informs of a VOMS request failure
|
void |
VOMSRequestListener.notifyVOMSRequestStart(VOMSACRequest request,
VOMSServerInfo si)
Informs of the start of a request to a VOMS server
|
void |
VOMSRequestListener.notifyVOMSRequestSuccess(VOMSACRequest request,
VOMSServerInfo endpoint)
Informs of the succesfull conclusion of a request to a VOMS server
|
void |
VOMSRequestListener.notifyWarningsInVOMSResponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSWarningMessage[] warnings)
Informs that warnings were included in the VOMS response produced by a VOMS
server
|
Constructor and Description |
---|
VOMSProtocolError(java.lang.String message,
VOMSServerInfo serv,
VOMSACRequest req,
eu.emi.security.authn.x509.X509Credential cred,
java.lang.Throwable c) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultVOMSServerInfo
The default implementation of the
VOMSServerInfo endpoint
information. |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Set<VOMSServerInfo>> |
DefaultVOMSServerInfoStore.serverInfoStore |
Modifier and Type | Method and Description |
---|---|
private VOMSServerInfo |
FakeVOMSACService.buildFakeServerInfo(java.lang.String vo,
java.lang.String host,
int port) |
VOMSServerInfo |
VOMSESLineParser.parse(java.lang.String line) |
protected VOMSServerInfo |
LegacyVOMSESParserImpl.parseLine(java.lang.String vomsesLine) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<VOMSServerInfo> |
DefaultVOMSServerInfoStore.getVOMSServerInfo() |
java.util.Set<VOMSServerInfo> |
DefaultVOMSServerInfoStore.getVOMSServerInfo(java.lang.String voName) |
protected java.util.List<VOMSServerInfo> |
DefaultVOMSACService.getVOMSServerInfos(VOMSACRequest request)
Get VOMS server endpoint information that matches with the
VOMSACRequest passed as
argument. |
java.util.List<VOMSServerInfo> |
LegacyVOMSESParserImpl.parse(java.io.File f) |
java.util.List<VOMSServerInfo> |
LegacyVOMSESParserImpl.parse(java.io.Reader vomsesReader) |
protected java.util.List<VOMSServerInfo> |
LegacyVOMSESParserImpl.parseDirectory(java.io.File directory) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultVOMSServerInfoStore.addVOMSServerInfo(VOMSServerInfo info) |
private void |
DefaultVOMSServerInfoStore.addVOMSServerInfo(VOMSServerInfo info,
java.lang.String path) |
java.net.URL |
RESTServiceURLBuilder.build(VOMSServerInfo endpoint,
VOMSACRequest request) |
private java.lang.String |
RESTServiceURLBuilder.buildPath(VOMSServerInfo endpoint,
VOMSACRequest request) |
org.w3c.dom.Document |
VOMSRequestFactory.buildRequest(VOMSACRequest acRequest,
VOMSServerInfo endpoint) |
private VOMSResponse |
DefaultVOMSACService.doRequest(VOMSProtocol protocol,
VOMSServerInfo endpoint,
eu.emi.security.authn.x509.X509Credential cred,
VOMSACRequest req) |
VOMSResponse |
LegacyProtocol.doRequest(VOMSServerInfo endpoint,
eu.emi.security.authn.x509.X509Credential credential,
VOMSACRequest request) |
VOMSResponse |
RESTProtocol.doRequest(VOMSServerInfo endpoint,
eu.emi.security.authn.x509.X509Credential credential,
VOMSACRequest request) |
protected void |
DefaultVOMSACService.handleErrorsInResponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSResponse response)
Handles errors included in the VOMS response
|
protected void |
DefaultVOMSACService.handleWarningsInResponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSResponse response)
Handles warnings included in the VOMS response
|
void |
LegacyRequestSender.sendRequest(VOMSACRequest acRequest,
VOMSServerInfo endpoint,
java.io.OutputStream stream)
This method is used to send a request to a VOMS server.
|
Modifier and Type | Method and Description |
---|---|
void |
NullListener.notifyErrorsInVOMSReponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSErrorMessage[] errors) |
void |
NullListener.notifyVOMSESInformationLoaded(java.lang.String vomsesPath,
VOMSServerInfo info) |
void |
NullListener.notifyVOMSRequestFailure(VOMSACRequest request,
VOMSServerInfo endpoint,
java.lang.Throwable error) |
void |
NullListener.notifyVOMSRequestStart(VOMSACRequest request,
VOMSServerInfo si) |
void |
NullListener.notifyVOMSRequestSuccess(VOMSACRequest request,
VOMSServerInfo endpoint) |
void |
NullListener.notifyWarningsInVOMSResponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSWarningMessage[] warnings) |