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

ctissot
20.55.2007 7a13d9d0aa87ca5de9acacc060a1a23130c96232
refs
author ctissot <ctissot@localhost>
Thursday, December 20, 2007 10:55 +0100
committer ctissot <ctissot@localhost>
Thursday, December 20, 2007 10:55 +0100
commit7a13d9d0aa87ca5de9acacc060a1a23130c96232
tree 04c8c5acded0dc0156a93ebd02f45b05031d2327 tree | zip | gz
parent 1682fc3a3fa6a1771f550fceb44338e2b967338a 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
opendj-sdk/opends/build.xml 5 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/dsml/org/opends/dsml/protocol/DSMLAbandonOperation.java 11 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/dsml/org/opends/dsml/protocol/DSMLDeleteOperation.java 7 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/dsml/org/opends/dsml/protocol/DSMLSearchOperation.java 460 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java 587 ●●●●● diff | view | raw | blame | history