Hi,
Two ways:
First, you could overload the UserManagerActionsBean bean to change
the validateUserName() method.
It uses a fixed VALID_CHARS =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-0123456789".
Note that this is just the UI layer, at the lower UserManager layer
there are no restrictions on user ids.
The simpler way is to redefine the layout "user". See its original
definition on
http://hg.nuxeo.org/nuxeo/nuxeo-dm/file/5.2/nuxeo-platform-webapp-core/src/main/resources/OSGI-INF/layouts-contrib.xml
It contains
<property name="validator">
#{userManagerActions.validateUserName}
</property>
which you can remove or replace with your own validation.
Florent
On 7 Jul 2009, at 21:33, Jesus Ibañez Calvo wrote:
Hello!!
could someone help me on how to setup nuxeo to accept user names
like "jesus.ibanez"?
thks. in advanced.
--
Jesus
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm