Package org.imixs.marty.security
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninit()This method performs the system setup.voidonSetupEvent(org.imixs.workflow.engine.SetupEvent setupEvent) This method start the system setup during deployment
-
Field Details
-
USERDB_OK
-
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
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:
-