-
1. Re: Add user in KIE-WB
anishtg May 29, 2014 8:33 AM (in response to love-dev.1988)Hi Rosa,
What type of user did you add - Mgmt/Application ?
Also, can you post the contents of standalone.xml (or standalone-full).
Regards,
Anish
-
2. Re: Add user in KIE-WB
love-dev.1988 May 29, 2014 6:30 PM (in response to anishtg)Hello;
Thanks for your attention.
I'd like to create an application user .
Below is the file standalone.xml
-
standalone.xml 14.8 KB
-
-
3. Re: Add user in KIE-WB
anishtg May 30, 2014 3:18 AM (in response to love-dev.1988)Try changing login-module UsersRoles to the following:
<module-option name="usersProperties" value="${jboss.server.config.dir}/application-users.properties"/>
<module-option name="rolesProperties" value="${jboss.server.config.dir}/application-roles.properties"/>
Restart. After this, your existing login IDs (admin, krisv, etc) might stop working. You need to recreate them. Also better to assign admin role to at least one application user.
Let me know how it goes.
A
-
4. Re: Add user in KIE-WB
love-dev.1988 May 30, 2014 8:32 PM (in response to anishtg)Hello,
- I applied the modification as you described :
- <security-domain name="other" cache-type="default">
- <authentication>
- <login-module code="UsersRoles" flag="required">
- <module-option name="usersProperties"value="${jboss.server.config.dir}/application-users.properties"/>
- <module-option name="rolesProperties"value="${jboss.server.config.dir}/application-roles.properties"/>
- </login-module>
- </authentication>
- </security-domain>
- I restarted the PC
- Then I have been run ant start.demo
- After that, I gone to http://localhost:8080/jbpm-console
----> It worked as previously: I logged in using the usernames and passwords mentioned in jBPM-Guide.
It seems that nothing changed !.
Thanks.
-
5. Re: Add user in KIE-WB
anishtg Jun 15, 2014 1:01 PM (in response to love-dev.1988)Hey sorry, got busy.
For testing, did you try to directly add the new user to users.properties (not using add-user.bat), give the user roles in roles.properties and check?
Example: camel=camel in users.properties, camel=admin in roles.properties?
Regards,
A