I am trying to secure the jmx-console and web-console by making the webapp read the /etc/passwd file.
I don't want to use the properties file and instead want the authentication to happen by reading the user and groups that exist in /etc/passwd & /etc/group.
In websphere/weblogic, this can be done using local OS registry but I could not find anything like this for JBoss.
Has anyone ever tried something like this.
You will have to write a custom login module that extends UsersRolesLoginModule that can read the /etc/passwd file.