org.glite.voms.contact
Class VOMSResponse
java.lang.Object
org.glite.voms.contact.VOMSResponse
public class VOMSResponse
extends java.lang.Object
This class is used to parse and represent VOMS server responses.
VOMSResponse(Document res) - Builds a VOMSResponse starting from a DOM an XML document (see
Document ).
|
xmlResponse
protected Document xmlResponse
VOMSResponse
public VOMSResponse(Document res)
Builds a VOMSResponse starting from a DOM an XML document (see Document
).
errorMessages
public VOMSErrorMessage[] errorMessages()
Extracts the error messages from the VOMS response.
- an array of
VOMSErrorMessage
objects.
getAC
public byte[] getAC()
Extracts the AC from the VOMS response.
- an array of bytes containing the AC.
getACAsString
public String getACAsString()
Extracts the AC from the VOMS response.
- a string containing the AC.
getData
public byte[] getData()
Extracts the textual data from the VOMS response.
- an array of bytes containing the data.
getVersion
public int getVersion()
Extracts the version from the VOMS response.
- an integer containing the AC.
hasErrors
public boolean hasErrors()
hasWarnings
public boolean hasWarnings()
warningMessages
public VOMSWarningMessage[] warningMessages()