mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

ctissot
20.55.2007 c2beb1994315ebd33bbdd186a3c97d62a194a9ec
refs
author ctissot <ctissot@localhost>
Thursday, December 20, 2007 10:55 +0100
committer ctissot <ctissot@localhost>
Thursday, December 20, 2007 10:55 +0100
commitc2beb1994315ebd33bbdd186a3c97d62a194a9ec
tree 15e82f9656a9460c12634d3e3d59466f9799c91b tree | zip | gz
parent 6bed45cbfe8dba8557a6b8027b6b8fd9992a4e51 view | diff
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
5 files modified
1070 ■■■■ changed files
opends/build.xml 5 ●●●●● diff | view | raw | blame | history
opends/src/dsml/org/opends/dsml/protocol/DSMLAbandonOperation.java 11 ●●●● diff | view | raw | blame | history
opends/src/dsml/org/opends/dsml/protocol/DSMLDeleteOperation.java 7 ●●●●● diff | view | raw | blame | history
opends/src/dsml/org/opends/dsml/protocol/DSMLSearchOperation.java 460 ●●●● diff | view | raw | blame | history
opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java 587 ●●●●● diff | view | raw | blame | history