Author: rareddy
Date: 2009-07-14 12:31:11 -0400 (Tue, 14 Jul 2009)
New Revision: 1126
Modified:
trunk/common-internal/src/main/java/com/metamatrix/platform/security/api/AuthorizationRealm.java
Log:
TEIID-719: making the authorization realm check case in-sensitive
Modified:
trunk/common-internal/src/main/java/com/metamatrix/platform/security/api/AuthorizationRealm.java
===================================================================
---
trunk/common-internal/src/main/java/com/metamatrix/platform/security/api/AuthorizationRealm.java 2009-07-14
15:17:47 UTC (rev 1125)
+++
trunk/common-internal/src/main/java/com/metamatrix/platform/security/api/AuthorizationRealm.java 2009-07-14
16:31:11 UTC (rev 1126)
@@ -281,6 +281,6 @@
* greater than obj2
*/
static public final int compare(AuthorizationRealm obj1, AuthorizationRealm obj2) {
- return obj1.getRealmName().compareTo(obj2.getRealmName());
+ return
obj1.getRealmName().toLowerCase().compareTo(obj2.getRealmName().toLowerCase());
}
}
Show replies by date