I use this bug id (138) as an umbrella for a list of
bugfixes/improvements for the DSML gateway.
Here is the detail file by file:
. DSMLAbandonOperation
-> error handling : abandon Id is now mapped to an unwilling to
perform error (was IOException)
. DSMLDeleteOperation
-> added matchedDN in response (was missing)
. DSMLServlet
-> added schema validation during JAXB parsing
-> dropped usage of an internal JAXB class (useless and risky as this
class was renamed in Java 6)
-> removed doGet method (useless/cleanup)
-> check that if authorization is tagged in http request (bindDN,
passwd) are both provided and valid
-> better error handling : safer processing with appropriate error
messages instead of global try/catch with generic message
- in case of parsing error, the request in reparsed with SAX
instead of JAXB in order to extract requestID and build appropriate response
- in case of processing exception, a mapping (hard-coded) is
performed and set in the error response message
-> fixed processing onError: default behaviour was to stop once a
request failed but the specification defines to continue
. DSMLSearchOperation
-> added missing filters : "and", "or", "not", "substrings",
"greaterOrEqual", "lessOrEqual", "approxMatch", "extensibleMatch"
("equalityMatch" and "present" were provided)
-> fixed ability to return attribute names only (typesOnly)
. build.xml
-> added schema in DSML war file to enable JAXB schema validation