Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
VOMS X509 Attribute Certificate Web Service Interface | ||||||||
Line: 124 to 124 | ||||||||
Content-Length: 158 Date: Thu, 02 Oct 2008 17:06:42 GMT | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Deleted: | ||||||||
< < | asdfsa | |||||||
-- AndreaCeccanti - 03 Oct 2008 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
VOMS X509 Attribute Certificate Web Service Interface | ||||||||
Line: 127 to 127 | ||||||||
Added: | ||||||||
> > | asdfsa | |||||||
-- AndreaCeccanti - 03 Oct 2008 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
VOMS X509 Attribute Certificate Web Service Interface | ||||||||
Line: 72 to 72 | ||||||||
Description
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
HTTP Response | ||||||||
Line: 90 to 90 | ||||||||
Error messages | ||||||||
Changed: | ||||||||
< < | In case of errors, the HTTP Response code is still 200 OK , however the response body contains a text/xml document | |||||||
> > |
text/xml document | |||||||
that has the following structure: | ||||||||
Line: 123 to 127 | ||||||||
Changed: | ||||||||
< < | -- AndreaCeccanti - 02 Oct 2008 | |||||||
> > | -- AndreaCeccanti - 03 Oct 2008 |
Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | VOMS WS X509 AC Web Service Interface | ||||||||||||||||||
> > | VOMS X509 Attribute Certificate Web Service Interface | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Endpoint | ||||||||||||||||||
> > | DescriptionThis Web services API is used by a member of VO vo-name (or by an application running on her behalf) to retrieve a valid VOMS AttributeCertificate. The caller can request specific VOMS FQANs (e.g., VOMS Roles) using therequestedFQANs parameter. Requested
FQANs are returned in the order in which they are requested.
The caller can request a different lifetime for the generated AttributeCertificate using the lifetime parameter. The lifetime of the AC
is however bound to the maximum lifetime allowed by the server configuration.
Web Services InterfaceEndpoint | ||||||||||||||||||
https://voms-server:8443/voms/vo-name/services/VOMSAC
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > | Interfaceinterface VOMSAC { byte[] getVOMSAttributeCertificate() throws VOMSException; byte[] getVOMSAttributeCertificate(String[] requestedFQANs) throws VOMSException; byte[] getVOMSAttributeCertificate(long lifetime) throws VOMSException; byte[] getVOMSAttributeCertificate(String[] requestedFQANs, long lifetime) throws VOMSException; String getVersion() throws VOMSException; String getInterfaceVersion() throws VOMSException; } getVomsAttributeCertificateThis method is used to retrieve the VOMS AC. It accepts the following parameters:
getVersionReturns: the version number of the server implementation Throws: VOMSExceptiongetInterfaceVersionReturns: the version number of the supported interface Throws: VOMSExceptionRestful InterfaceDescription
HTTP ResponseThe HTTP response code is200 OK , if the request has completed without internal server errors.
The response body contains a text/xml document that has the following structure:
<voms> <ac>{base64 encoded AC}</ac> </voms>The root element voms has a child element ac that contains the base64 encoded VOMS AC.
Error messagesIn case of errors, the HTTP Response code is still200 OK , however the response body contains a text/xml document
that has the following structure:
<voms> <error>{error message string}</error> </voms>The root element voms has a child element error that contains the error message.
Resftful Request/Response ExampleRequest:GET /voms/voms-ws/rest/ac HTTP/1.1 Host: devel13.cnaf.infn.it:8443 Accept: */*Response: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=E95A6C247E1DEDBF104491162A6C56CC; Path=/voms/voms-ws; Secure Content-Type: text/html;charset=ISO-8859-1 Content-Length: 158 Date: Thu, 02 Oct 2008 17:06:42 GMT <xml version="1.0" encoding="UTF-8"?><voms><ac>...</ac></voms> | ||||||||||||||||||
Deleted: | |||||||||||||||||||
< < | Description | ||||||||||||||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
VOMS WS X509 AC Web Service InterfaceEndpoint
https://voms-server:8443/voms/vo-name/services/VOMSAC
Description-- AndreaCeccanti - 02 Oct 2008 |