2 Replies Latest reply on Nov 30, 2004 1:18 AM by _alex

    Adding users with Jboss API

    dhill

      I have a need to be able to add users for the config jaas module, in my case I am using ldap and jdbc, does jboss have a facility(API) for managing these users and group, is there example code for this.

      I have already configed a custom JAAS module for the auth part and now I need to administer the users and group. For example if a client want to config jboss using ldap how do I hook out security manager to admin the users.

      thanks!!

        • 1. Re: Adding users with Jboss API
          starksm64

          The management of users is outside of jboss. You simply add them to the ldap and jdbc stores. The only intersection occurs if you change users with active sessions and you want the change propagated immeadiately in which case your admin op needs to flush the jaas cache as described on the wiki.

          • 2. Re: Adding users with Jboss API
            _alex

            Flushing cache will lead client to re-login. So, the client application should correctly handle the situation, when during any business call it can get the request for re-authentication.

            Alexander