Programmatically log in with custom login module not allocating roles in JBoss EAP
Issue
- When invoking login programmatically with
request.login(username, password)
,request.isUserInRole("myrole")
is always false.
Environment
- Red Hat JBoss Enterprise Application Platform (JBoss EAP)
- 7.3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.