geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "johnxmas" <>
Subject Re: Re: Geronimo security question
Date Fri, 31 Oct 2008 09:59:14 GMT
Hi David,

>Anyway I think what you need to do is:
>1. define a properties file login module based security realm, perhaps  
>by using the admin console.  Lets say you call it my-realm
>2. translate the data into property files:
>3. put the properties files in the correct location, I'd suggest var/ 
>4. specify the my-realm security realm in the geronimo web app plan   
>5. Include the desired principal-role mapping that maps the spadmin  
>group to the app-specific spadmin role.  There are some instructions  
>on this at the end of
>hope this helps,
>david jencks

Thanks for your answer. So I did create a realm (BTW, the console is very nice for this item)
and the corresponding properties files. I validated that realm. It
was ok for

and added to geronmo-web.xml the following

      <role role-name="spadim">
        <principal name="scort" designated-run-as="true" class=""/>

But when calling the app, I still get a 403 error: Access to the specified resource () has
been forbidden.

What I'm doing wrong ?

View raw message