geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rex Wang <>
Subject Re: Really basic security question
Date Mon, 04 May 2009 08:34:15 GMT
1. in \var\security, create 2 files, &
------------------------------------------- Web-console -> security realms Portlet
     add new security realm
   -> name of realm: rexRealm
       realmType: Properties file realm
  -> users file URI:  var/security/
      groups file URI: var/security/
-> deploy realm

3. write a app like the following attachment.



2009/5/2 Ken T. <>

> I have an install of Geronimo and a few web apps installed on it and I
> would like to add some basic security so that only people I ask to look
> at the demos can actually access them.  I've created a user under
> Geronimo called "demo" and given the user a password.  Now I would like
> to make the necessary changes to the web.xml or geronimo.xml file to tell
> my web apps to not allow use by any user other than demo (or users in the
> demo role).  If I need to write a form to get the user name and password,
> I can do that, but if there is a default form that can be used, I would
> just assume use it.
> So how do I go about doing this?
> Thanks.
> I looked online for this information but it assumed a much deeper
> understanding of how security works than I really have.  Any assistance
> would be greatly appreciated.  Thanks.
> --
> Ken T. <>

View raw message