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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content