Author: sviluppatorefico
Date: 2009-01-06 15:19:30 -0500 (Tue, 06 Jan 2009)
New Revision: 12433
Modified:
modules/identity/branches/JBP_IDENTITY_BRANCH_1_0/identity/src/main/org/jboss/portal/identity/auth/IdentityLoginModule.java
Log:
see
https://jira.jboss.org/jira/browse/JBPORTAL-2268
Modified:
modules/identity/branches/JBP_IDENTITY_BRANCH_1_0/identity/src/main/org/jboss/portal/identity/auth/IdentityLoginModule.java
===================================================================
---
modules/identity/branches/JBP_IDENTITY_BRANCH_1_0/identity/src/main/org/jboss/portal/identity/auth/IdentityLoginModule.java 2009-01-06
20:18:16 UTC (rev 12432)
+++
modules/identity/branches/JBP_IDENTITY_BRANCH_1_0/identity/src/main/org/jboss/portal/identity/auth/IdentityLoginModule.java 2009-01-06
20:19:30 UTC (rev 12433)
@@ -256,8 +256,8 @@
Object enabledS;
enabledS = getUserProfileModule().getProperty(user,
User.INFO_USER_ENABLED);
- if (enabledS != null && (enabledS instanceof Boolean)) {
- enabled = ((Boolean)enabledS).booleanValue();
+ if (enabledS != null) {
+ enabled = new Boolean(enabledS.toString());
}
} catch (Exception e) {
e.printStackTrace();