Platform Explorer / Nuxeo Platform 8.2

Component org.nuxeo.ecm.platform.usermanager.UserService


Javadoc: org.nuxeo.ecm.platform.usermanager.UserService


Extension points


XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.usermanager.UserService">

    A service to interact with the list of users and groups of the platform.

  <implementation class="org.nuxeo.ecm.platform.usermanager.UserService" />

    <provide interface="org.nuxeo.ecm.platform.usermanager.MultiTenantUserManager" />
    <provide interface="org.nuxeo.ecm.platform.usermanager.UserManager" />
    <provide interface="org.nuxeo.runtime.api.login.Authenticator" />
    <provide interface="" />

  <extension-point name="userManager">

      Configure the userManager.
      <p />
      The extension should use the format:
            <searchFields append="true">
            <anonymousUser id="Anonymous">
              <property name="firstName">Anonymous</property>
              <property name="lastName">User</property>
            <virtualUser id="MyCustomAdministrator" searchable="false">
              <property name="firstName">My Custom</property>
              <property name="lastName">Administrator</property>
            <virtualUser id="MyCustomMember" searchable="false">
              <property name="firstName">My Custom</property>
              <property name="lastName">Member</property>
              <propertyList name="listprop">
            <virtualUser id="ExistingVirtualUser" remove="true" />
            <searchFields append="true">
      <p />
      If the element anonymousUser has the attribute remove="true", then the
      anonymous user will be disabled. The anonymous user is searchable by
      <p />
      If a virtual user has the attribute remove="true", it is removed from the
      list of virtual users. Virtual users are searchable by default, but it is
      not implemented yet... so you should keep the attribute searchable="false"
      to keep the same behaviour when it will be.
      <p />
      Virtual users with the "administrators" group will have the same rights
      than the default administrator.
      <p />
      New administrators groups can be added using the "administratorsGroup"
      tag. Several groups can be defined, adding as many tags as needed. The
      default group named "administrators" can be disabled by setting the
      "disableDefaultAdministratorsGroup" to "true" (defaults to false): only
      new defined administrators groups will then be taken into account. Note
      that disabling this default group should be done after setting up custom
      rights in the repository, as this group is usually defined as the group of
      users who have all permissions at the root of the repository.
      <p />
      Anonymous and virtual users properties have to match the users directory
      schema fields to be taken into account.
      <p />
      The userPasswordPattern format is specified by java.util.regex.Pattern.
      <p />
      The values for users listingMode are: "all", "tabbed", "search_only".
      (These values are defined in
      <p />
      The values for groups listingMode are: "all" and "search_only".

    <object class="org.nuxeo.ecm.platform.usermanager.UserManagerDescriptor" />




A service to interact with the list of users and groups of the platform.

  • 5.3.1-SNAPSHOT

UserService is the component responsible for configuring and providing the UserManager service.

Basically this component is responsible creating an instance of the UserManager service according to configuration.

This components provides extensions points to let you configure the implementation and the configuration you want to use.

You may use one of the default implementations provided by Nuxeo or create a custom one that fits your specific needs.