I "sort of" figured it out... Feels like I'm shooting
in the dark and have just happened upon some
targets;')

Thanks for your response, I think I just had a
mini-epiphany;')

I started by using the config files and database
initialization from the example.. However, I got
confused by the acl declarations and the
sample.contacts.Contact declarations.

So I switched my config files to an example I found
somewhere (can't remember where right now).

Looking back at the database config that I'm still
using, I find that the users don't have ROLE_USER
specified.  

And sure enough... When I change the required role to
ROLE_TELLER, it works!!!

Thank You!!!



--- Ray Krueger <[EMAIL PROTECTED]> wrote:
> It looks like you figured out what to do about the
> questions in your
> first email, good job.
> 
> Now, what AuthenticationProvider are you using? I
> ask because you have
> in your interceptor that /index.do requires
> ROLE_USER. Does your
> authentication object end up with ROLE_USER after it
> passes
> authentication?
> 
> If you are using the DaoAuthenticationProvider, and
> the
> InMemoryAuthenticationDao from the contacts sample,
> make sure the user
> that you are logging in as has ROLE_USER permission.
> 
> 
> On Mon, 28 Mar 2005 10:14:58 -0800 (PST), Greg Akins
> <[EMAIL PROTECTED]> wrote:
> > I'm at the point now, where the acegilogin.jsp
> page
> > get's handled (bad id's fail, good id's let get
> > forwarded correctly).
> > 
> > The "defaultTargetUrl" on my
> > authenticationProcessingFilter is index.do
> > 
> > <bean id="filterInvocationInterceptor"
> >       parent="baseFilterInvocationInterceptor">
> >     <property name="objectDefinitionSource">
> >       <value>
> >         CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
> >         PATTERN_TYPE_APACHE_ANT
> >         /index.jsp=ROLE_ANONYMOUS,ROLE_USER
> >         /hello.htm=ROLE_ANONYMOUS,ROLE_USER
> >         /logoff.jsp=ROLE_ANONYMOUS,ROLE_USER
> >         /index.do=ROLE_USER
> >       </value>
> >     </property>
> >   </bean>
> > 
> > But when the app forwards to index.do; I get an
> access
> > denied message... So... Any idea what I'm missing
> now?
> > 
> >
>
-------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT
> Products from real users.
> > Discover which products truly live up to the hype.
> Start reading now.
> >
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Home: http://acegisecurity.sourceforge.net
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to