[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1352) IdentityException Thrown On Startup When Using LDAPExtUserModuleImpl
Matt Petteys (JIRA)
jira-events at lists.jboss.org
Sun Apr 22 21:12:30 EDT 2007
IdentityException Thrown On Startup When Using LDAPExtUserModuleImpl
--------------------------------------------------------------------
Key: JBPORTAL-1352
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1352
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Identity
Affects Versions: 2.6.Beta1
Environment: Debian Linux i386
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Reporter: Matt Petteys
I am attempting to use the LDAPExtUserModuleImpl class for looking up LDAP information in an LDAP source. I have the UserModule configured like the following..
...
<modules>
<module>
<!--type used to correctly map in IdentityContext registry-->
<type>User</type>
<implementation>LDAP</implementation>
<class>org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl</class>
<config/>
</module>
...
When the server starts the following error is thrown and logged in the jboss server.log..
Caused by: java.lang.IllegalArgumentException: Property UserCount has two getters public int org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl.getUserCount() thr
ows org.jboss.portal.identity.IdentityException,java.lang.IllegalArgumentException and public int org.jboss.portal.identity.ldap.LDAPUserModuleImpl.getUserCount() t
hrows org.jboss.portal.identity.IdentityException,java.lang.IllegalArgumentException
at org.jboss.portal.common.mx.JavaBeanModelMBeanBuilder.<init>(JavaBeanModelMBeanBuilder.java:118)
at org.jboss.portal.common.mx.JavaBeanModelMBeanBuilder.build(JavaBeanModelMBeanBuilder.java:288)
at org.jboss.portal.jems.as.system.JBossServiceModelMBean.<init>(JBossServiceModelMBean.java:77)
... 117 more
When I configure it to use LDAPUserModuleImpl, the server starts successfully.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list