Map admin user

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 03:46 AM
Hi,
I was wondering if we could map the admin user to another user. We are using an OpenLDAP for authentication now: the local user database is unavailable and so is our admin user (this is fine).
I would like to map the admin user to some other LDAP user beacause I'm not going to create a global admin user in the LDAP. This account would be valid on all Alfresco systems and I need different ones for our dev, test en poduction environments.
I think I've seen some config rule where this could be changed bu I can no longer find it in the WIKI.
I was wondering if we could map the admin user to another user. We are using an OpenLDAP for authentication now: the local user database is unavailable and so is our admin user (this is fine).
I would like to map the admin user to some other LDAP user beacause I'm not going to create a global admin user in the LDAP. This account would be valid on all Alfresco systems and I need different ones for our dev, test en poduction environments.
I think I've seen some config rule where this could be changed bu I can no longer find it in the WIKI.
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 02:57 AM
No one?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 09:27 AM
Hi Simon
The config is in:
config\alfresco\authority-services-context.xml
You need to over-ride the authorityService bean
Regards
Andy
The config is in:
config\alfresco\authority-services-context.xml
You need to over-ride the authorityService bean
<bean id="authorityService" class="org.alfresco.repo.security.authority.AuthorityServiceImpl"> <property name="authenticationComponent"> <ref bean="authenticationComponent" /> </property> <property name="personService"> <ref bean="personService" /> </property> <property name="nodeService"> <ref bean="nodeService" /> </property> <property name="authorityDAO"> <ref bean="authorityDAO" /> </property> <property name="permissionServiceSPI"> <ref bean="permissionServiceImpl" /> </property> <!– –> <!– A list of users with admin rights. –> <!– –> <!– If the security framework is case sensitive these values should –> <!– be case sensitive user names. If the security framework is not –> <!– case sensitive these values should be the lower-case user names. –> <!– –> <!– By default this includes: –> <!– admin (the user name of default alfresco admin user) –> <!– administrator (the windows default admin user) –> <!– –> <!– This assumes that user names are not case sensitive. –> <!– –> <property name="adminUsers"> <set> <value>admin</value> <value>administrator</value> </set> </property> </bean>
Regards
Andy
