Class SetupUserDBService

java.lang.Object
org.imixs.marty.security.SetupUserDBService

@DeclareRoles("org.imixs.ACCESSLEVEL.MANAGERACCESS") @RunAs("org.imixs.ACCESSLEVEL.MANAGERACCESS") @Produces({"text/html","application/xml","application/json","text/xml"}) @Path("/setup") public class SetupUserDBService extends Object
The SetupService EJB initializes the system settings by its method 'init()'. The setup mode can be controlled by imixs.property 'setup.mode' which is set to 'auto' | 'none'.
Author:
rsoika
  • Field Details

    • USERDB_OK

      public static String USERDB_OK
    • USERDB_DISABLED

      public static String USERDB_DISABLED
  • Constructor Details

    • SetupUserDBService

      public SetupUserDBService()
  • Method Details

    • onSetupEvent

      public void onSetupEvent(@Observes org.imixs.workflow.engine.SetupEvent setupEvent) throws org.imixs.workflow.exceptions.AccessDeniedException
      This method start the system setup during deployment
      Throws:
      org.imixs.workflow.exceptions.AccessDeniedException
    • init

      @GET public String init()
      This method performs the system setup. After the setup is completed the CDI event 'SetupEvent' will be fired. An observer of this CDI event can extend the setup process.
      Returns: