Websphere 8.5 user group mapping doesn't work during deployment
Answered
Hi Community
When I deploy an ear file with Websphere 8.5 it doesn't map the user groups. It is just empty.
When I deploy the ear file outside IntelliJ the user groups mapping works perfectly.
I'm using IntelliJ version 2017.2.6
How can I solve this that the user group mapping works under IntelliJ?
Please sign in to leave a comment.
Could you please elaborate a bit on your configuration?
How do you map it when deploying outside of IDE?
I have the ibm web binding xml file where the user groups are in.
When I manually deploy it outside IntelliJ I just load the ear file and select 2x web.xml and ejb-jar.xml and let it deploy. Afterwards I check the user groups and there are successfully deployed.
IntelliJ deployment for WAS Full Profile does not involve anything specifically related to user/group management. Could you please provide a small example of the application that configures the web binding xml file or any links to the documentation for this feature? Thank you.
This is in the ibm-application-bnd.xml file.
<security-role name="generic.user">
<group name="generic.group">
</security-role>
<security-role name="generic.user1">
<group name="generic.group1">
</security-role>
Have you tried to add this file in Web facet by configuring WebSphere-specific deployment descriptor:
If you have tried it and it still does not work, please clarify do you use the web interface of this administrative console for mapping? I'm asking so that I could understand what is required from IDE side and the application configuration point of view for make this work. Thank you.
Hi
Thank you for your support reply.
I've already added the deployment descriptor however the issue still remains.
I'm indeed using the steps of the administrative console of the link.
Please vote and follow this request: https://youtrack.jetbrains.com/issue/IDEA-191507
Having a sample project would be very helpful for investigating and fixing the request (you can attach it privately for the developers in YouTrack issue). Thanks.
Thanks.