-
1. Re: How to define roles for JAAS authentication to Management interfaces
dlofthouse Apr 26, 2012 6:21 AM (in response to kozorozec)That is something that I am looking to add in AS 7.2 - in the meantime I would suggest rejecting the authentication in the login module if the user does not have the required roles.
-
2. Re: How to define roles for JAAS authentication to Management interfaces
chrostsj Aug 22, 2013 10:50 AM (in response to kozorozec)Hi Chistian
I am tying to do the same thing but in JBOSS 6, I have similar entries in my standalone.xml fiile but when I try to access the web console, I get a message that the console cannot be loaded,. My entries are below,
Any ideas, Also do you know how I can tell if it is accessing my module
Thanks
Steve
<management>
<security-realms>
<security-realm name="ManagementRealm">
<authentication>
<jaas name="MySecurityModule"/>
</authentication>
</security-realm>
</security-realms>
…
<subsystem xmlns="urn:jboss:domain:security:1.2">
<security-domains>
<security-domain name="MySecurityModule">
<authentication>
<login-module code = "com.jboss.security.auth.spi.loginModule" flag = "required">
<module-option name = "realmName" value="JBossAdminRealm"/>
<module-option name = "realmType" value="JavaRealm"/>
</login-module>
</authentication>
</security-domain>