|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
File Attachments:
|
1.
PenroseSession.java (13 kb)
|
|
|
PenroseSession.java notifies modules of pending events, but then ignores any
changes to data the event handler makes in every case except search. For
example, take the following line from the bind method:
public int bind(String dn, String password) throws Exception {
...
int rc = handler.bind(this, dn, password);
...
}
This line actually performs the bind, but for my use, must be updated to use
the values contained within the beforeBindEvent object, allowing them to be
changed within the beforeBind event handler. The updated line contains:
int rc = handler.bind(this, beforeBindEvent.getDn(),
beforeBindEvent.getPassword());
This is similar to the code that is already implemented in the search event
handler. Similar changes are required to each of the other event handlers; I
have attached an updated class file reflecting these changes. Since this
change can be made without any impact on existing code, and greatly enhances
module capabilities (and enables the kind of module I have written), I would
like it to be considered as a Penrose 1.2 enhancement.
|
|
Description
|
PenroseSession.java notifies modules of pending events, but then ignores any
changes to data the event handler makes in every case except search. For
example, take the following line from the bind method:
public int bind(String dn, String password) throws Exception {
...
int rc = handler.bind(this, dn, password);
...
}
This line actually performs the bind, but for my use, must be updated to use
the values contained within the beforeBindEvent object, allowing them to be
changed within the beforeBind event handler. The updated line contains:
int rc = handler.bind(this, beforeBindEvent.getDn(),
beforeBindEvent.getPassword());
This is similar to the code that is already implemented in the search event
handler. Similar changes are required to each of the other event handlers; I
have attached an updated class file reflecting these changes. Since this
change can be made without any impact on existing code, and greatly enhances
module capabilities (and enables the kind of module I have written), I would
like it to be considered as a Penrose 1.2 enhancement. |
Show » |
|