Hi,

I'm having some difficulty using tapestry-acegi. I can secure a page
fine, but I can't figure out how to allow a user to auth.
Unfortunately, my experience with Acegi in general is practically
non-existent, so I may just be doing something dumb there.

I have a page marked @Secured("ROLE_USER"), but when I access it, all I
get is org.acegisecurity.AccessDeniedException.

My HiveMind registry contains the following:

<implementation service-id="hivemind.acegi.dao.UserDetailsService">
        <invoke-factory>
                <construct
class="com.servprise.www.services.AuthorizationService" />
        </invoke-factory>
</implementation>
        
<contribution configuration-id="hivemind.acegi.AccessDecisionVoters">
        <voter object="instance:org.acegisecurity.vote.RoleVoter" />
</contribution>

with the UserDetailsService implementation basically being a no-op.
I've set a break point in the service and it never gets executed.

I am using both tapestry-acegi and hivemind-acegi-dao, for what it's
worth.  Any help would be much appreciated.

Thanks,
Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to