[jboss-user] [JBoss Portal Users] - LDAP-Datatype for 'portal.user.enabled'

aeik do-not-reply at jboss.com
Wed Nov 11 06:21:52 EST 2009


i need to save all profile-data for a user in ldap, because the ldap ist used by other applications, too.

everything works fine so far. only saving or changing the value of 'portal.user.enabled' does not work. registering a user fails, because the field could not be created.

When enabling/disabling a user, following error occurs:

  | ERROR [IdentityUserBean] updateProfile failed
  | org.jboss.portal.identity.IdentityException: Wrong property type. Must be: java.lang.String; and found: java.lang.Boolean

anonymous wrote : 
  | [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)]
  | OpenLDAP: slapd 2.4.9 on debian

mapping in profile-config.xml:

  |    <property>
  |       <name>portal.user.enabled</name>
  |       <type>java.lang.Boolean</type>
  |       <access-mode>read-write</access-mode>
  |       <usage>mandatory</usage>
  |       <display-name xml:lang="en">Enabled</display-name>
  |       <description xml:lang="en">Is user enabled?</description>
  |       <mapping>
  |          <database>
  |             <type>column</type>
  |             <value>jbp_enabled</value>
  |          </database>
  |          <ldap>
  |            <value>enabled</value>
  |         </ldap>
  |       </mapping>
  |    </property>


  | attributeType ( 2.16.840.1.113730.3.2.94 NAME 'enabled'
  |                 DESC 'userEnabled'
  |                 SYNTAX )

I've manualy set the value in my ldap. The correct value is displayed in the Portal User Management.

What's wrong with my configuration? Any idea to solve the problem?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264999#4264999

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264999

More information about the jboss-user mailing list