How can I reload security users roles file without restarting JBoss EAP 5?

Solution Verified - Updated -

Issue

  • While setting Kerberos SSO and using .properties files to authenticate users, want to add new users to .properties file but those changes are only updated when the server is restarted. Is there a way to have it without having to restart the server, is there a way to do it from jmx console ?
       <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
                  <module-option name="password-stacking">useFirstPass</module-option>
                  <module-option name="usersProperties">props/spnego-users.properties</module-option>
                  <module-option name="rolesProperties">props/spnego-roles.properties</module-option>
                  <module-option name="debug">true</module-option>
       </login-module>
  • How to detect the dynamic updates in roles.properties in container's conf/props directory without restarting the server.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.