
|
If you were logged in you would be able to see more operations.
|
|
|
xplanner
Created: 13/Jun/07 02:45 PM
Updated: 14/Jun/07 11:02 AM
|
|
| Component/s: |
Security
|
| Affects Version/s: |
0.7
|
| Fix Version/s: |
0.8b4
|
|
| JDK version and platform: |
1.6 on CentOS Linux
|
| Database: |
MySQL
|
| Application server: |
Tomcat 5.5.9
|
| Testcase included: |
yes
|
| Patch attached: |
Yes
|
|
When using LDAP Authentication properties in xplanner.properties, the following property even if it's set to true is always false in the code:
xplanner.security.login[1].option.userSubtree=true
The reason for this is found in: com/sabre/security/jndi/JNDIAuthenticaterImpl.java Line 137:
> this.userSubtree = Boolean.getBoolean(userSubtree);
From what I read on getBoolean it looks at a system property or something? Anyway, I believe it should use parseBoolean like below:
> this.userSubtree = Boolean.parseBoolean(userSubtree);
This fix worked for me when I made it and recompiled and redeployed it.
|
|
Description
|
When using LDAP Authentication properties in xplanner.properties, the following property even if it's set to true is always false in the code:
xplanner.security.login[1].option.userSubtree=true
The reason for this is found in: com/sabre/security/jndi/JNDIAuthenticaterImpl.java Line 137:
> this.userSubtree = Boolean.getBoolean(userSubtree);
From what I read on getBoolean it looks at a system property or something? Anyway, I believe it should use parseBoolean like below:
> this.userSubtree = Boolean.parseBoolean(userSubtree);
This fix worked for me when I made it and recompiled and redeployed it. |
Show » |
|
Also adds a stack trace in the currently empty catch for setOptions (see
XPR-408)