This content has been marked as final.
Show 3 replies
-
1. Re: Extend IDM for managing custom USER attributes?
bdaw Mar 16, 2010 7:12 AM (in response to kunalgaba)By default you can store any type of text user properties using org.exoplatform.services.organization.UserProfileHandler service. What is your usecase? -
2. Re: Extend IDM for managing custom USER attributes?
kunalgaba Mar 16, 2010 7:21 AM (in response to bdaw)Thanks Boleslaw.
I have to define some custom attribute for managing disabled/enabled users. I guess I can keep this information on the userprofile object itself rather than keeping it in external tables? The usecase is disabled user should not be allowed to login.
-
3. Re: Extend IDM for managing custom USER attributes?
bdaw Mar 16, 2010 7:41 AM (in response to kunalgaba)Look at code in org.exoplatform.services.security.jaas.DefaultLoginModule and org.exoplatform.services.organization.auth.OrganizationAuthenticatorImpl (both classes in exo core module http://anonsvn.jboss.org/repos/exo-jcr/core/tags/2.3.0-GA/). You could register your own 'Authenticator' service that would check additional profile property.