-
1. Re: how to create user and group on JBOSS, just like Weblogi
julien.dubois Jan 2, 2004 7:38 PM (in response to jamy_blue)Hi,
If you're looking for a console or a nice GUI to help you create/manage users, well I'm afraid that doesn't exist with JBoss. Have a look at the JBoss "login modules", they're quite clearly explained in the free doco. I recommand using a database or LDAP : it's easy to set up, and you'll see you won't miss that much that Weblogic GUI... You'll use the GUI bundled with your LDAP software instead for example.
HTH, -
2. Re: how to create user and group on JBOSS, just like Weblogi
jamy_blue Jan 7, 2004 10:03 PM (in response to jamy_blue)Could anyone tell me how to check if some user is in some role on JBOSS?
It's very important for me. I want to create a role and some users on JBOSS, and check the user using some loginmodule.
Thank you very much if you can help.
If we can't do it on JBOSS, could you tell me why? or some solution to it?
Thank you again! -
3. Re: how to create user and group on JBOSS, just like Weblogi
juha Jan 8, 2004 5:46 AM (in response to jamy_blue)Inside an EJB from the EJBContext.isCallerInRole(String rolename)
-
4. Re: how to create user and group on JBOSS, just like Weblogi
jamy_blue Jan 8, 2004 6:47 PM (in response to jamy_blue)Thank you for you reply!
Could you describe it more clearly? Including how to create a role and user? -
5. Re: how to create user and group on JBOSS, just like Weblogi
baric Jan 9, 2004 6:08 AM (in response to jamy_blue)"jamy_blue" wrote:
Could you describe it more clearly? Including how to create a role and user?
JBoss is what you might call user agnostic. It has not concept of its own users. Rather it uses login modules to verify users and credetials using some external mechanism. So, in some sense, the login module determines who are users and what roles they have. Now where that login module gets its user and role information from varies from module to module. JBoss comes with a quite a few that you can use. One, called UserRolesLoginModule, lets you provide properties files what contain user and role information and verifies user provided credentials against these properties files. Another uses a specified LDAP directory to provide the same function. Yet another uses tables in a database. All are pretty well described in Chapter 8 (Security) of the Admin guide.
Or you can provide your own custom login module. For example, I have one that verifies the user against a particular Lotus Domino server.
Just pick the one that best suits your needs or provide your own and use it.