wiki:addAUTH

Add at your molgenis.properties file :

  • at import_model_database : model/auth.xml,\
  • and auth_loginclass = org.molgenis.omx.auth.DatabaseLogin?

molgenis_ui :

<plugin name="SimpleUserLogin" type="org.molgenis.omx.auth.ui.SimpleUserLogin" label="Login" />

A menu will be handy :

<menu name="Auth" label="Users and permissions">
  				<menu label="Basic management" name="Management">
  					<form name="!MolgenisUser" entity="!MolgenisUser" />
  					<form name="!MolgenisGroup" entity="!MolgenisGroup" />
  					<form name="!MolgenisRoleGroupLink" entity="!MolgenisRoleGroupLink" />
  					<form name="!MolgenisEntity" entity="!MolgenisEntity" view="list"
  						label="Entities" />
  					<form name="!MolgenisPermission" entity="!MolgenisPermission" />
  				</menu>
  				<plugin label="My permissions" name="!PermissionManagementPlugin"
  					type="org.molgenis.omx.auth.service.permissionmanagement.!PermissionManagementPlugin" />
  				<plugin label="Upgrade person to user" name="!UserToPersonPlugin"
  					type="org.molgenis.omx.auth.service.persontouser.!PersonToUser" />
  				<plugin label="Security tokens" name="!TokenManagerPlugin"
  					type="org.molgenis.omx.auth.service.tokenmanager.!TokenManager" />
  				
  			</menu>	
  		</menu>

pom.xml :

Add the module as artifact in your pom.xml file :

<dependency>
	<groupId>org.molgenis</groupId>
	<artifactId>molgenis-omx-auth</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<type>war</type>
</dependency>	
<dependency>
	<groupId>org.molgenis</groupId>
	<artifactId>molgenis-omx-auth</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<type>jar</type>
	<classifier>classes</classifier>
</dependency>
Last modified 12 years ago Last modified on 2013-03-11T12:48:26+01:00