P. Komarov
P. Komarov

Reputation: 1

How to edit user group list without reentering password in glassfish?

I have users in my file realm assigned to several groups on GlassFish Server Open Source Edition 4.1.1. I want to change user Group List to give or take away some roles. Glassfish admin console requires re-entering password when I edit user settings, so I have to remember (write down somewhere) all user passwords and reenter them just to keep it the same. Is there a way to avoid this? Maybe I'm missing something about managing users, because I'm a beginner in java-ee development?

Upvotes: 0

Views: 164

Answers (1)

P. Komarov
P. Komarov

Reputation: 1

Using file realm you can edit keyfile located in glassfish/domains/your-domain/config directory. Probably server should be restarted after editing it, didn't test it, because:

More convenient way is to use JDBC Realm for authentication and user management. User credentials and groups are stored in database and may be treated as objects with JPA.

Upvotes: 0

Related Questions