Platform Explorer / Nuxeo Platform LTS 2019 10.10

Component org.nuxeo.ecm.platform.login.LoginPluginRegistry

Documentation

Login module for Nuxeo. Uses JAAS.

Resolution Order

408
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Start Order

900
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.

Implementation

Extension Points

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.login.LoginPluginRegistry">

  <implementation class="org.nuxeo.ecm.platform.login.LoginPluginRegistry" version="1.0.0"/>

  <documentation>
    Login module for Nuxeo.
    Uses JAAS.
  </documentation>

  <extension-point name="plugin">
    <documentation>
      This extension point can be used to register new Login Plugin.
      The XML extension can contain a arbitrary number of Plugin declaration if the form :
      <code>
        <LoginPlugin name="Trusting_LM" class="org.nuxeo.ecm.platform.login.TrustingLoginPlugin">
          <enabled>true</enabled>
          <parameters name="XXX">YYYY</parameters>
          ....
        </LoginPlugin>
      </code>
      The parameters tag can be repeated an arbitrary number of time and can be used to pass configuration to the plugin.
      The class attribute defines the class implementing the org.nuxeo.ecm.platform.login.LoginPlugin interface.
    </documentation>
    <object class="org.nuxeo.ecm.platform.login.LoginPluginDescriptor"/>
  </extension-point>

  <extension-point name="callbackFactory">
    <documentation>
      Because some AppServer requires to use non-standard JAAS callbacks, this extension point can be used to register plugin that will handle this AppServer specific part of the Login process.
    </documentation>
    <object class="org.nuxeo.ecm.platform.login.CallbackFactoryDescriptor"/>
  </extension-point>

</component>