I'm building a Custom Login Module to plugin into JBoss EAP 6.1.
I found out that JAAS roles should be added to Subject using specific JBoss classes (JBossSX security framework I believe). Extract from JBoss EAP 6.1 Development Guide
"A java.security.acl.Group called Roles, which contains the role names from the user's application domain. Objects of type org.jboss.security.SimplePrincipal objects represent the role names. These roles validate access to EJB methods according to constraints in ejb-jar.xml and the EJBContext.isCallerInRole(String) method implementation."
I'm building my Cusom Login Module using Maven (and the JBoss EAP repo).
I cannot find any Maven artifact for class org.jboss.security.SimplePrincipal .Any idea about Maven dependency that I could add to my project to get this class of JBOSSSX framework.