Andrey,
   you might want to try starting your application in debug mode and set a
couple of breakpoints inside your UserDetailsService implementation and see
if it's being called when you try to navigate to that page.

   It seems that if added the configurations as described on that page your
app compiles successfully, you have all the dependencies where they need to
be (e.g. spring security is available, etc).

   It might be useful if you post some code to show what you did.

Regards,

Alex K

On Wed, Oct 13, 2010 at 4:45 AM, Andrey Gladilin
<[email protected]>wrote:

> Hello,
>
> I can not succeed in setting up the tapestry-spring-security.
> I created a default project from maven archetype, line this:
> http://tapestry.apache.org/tapestry5.1/quickstart/.
> I followed instructions from
> http://www.localhost.nu/java/tapestry-spring-security/conf.html
> and used some code from sample application
>
> http://www.localhost.nu/svn/public/tapestry-spring-security-sample/src/main/java/nu/localhost/tapestry5/springsecuritytest/
>
> I create a page Dashboard.java (also .tml), code like this:
>
> @Secured("ROLE_ADMIN")
> public class Dashboard
> {
> }
>
> I spent much time, but I still find the dashboard page without any
> restrictions or sign in requires.
>
> And I am absolutely new to Tapestry and Java. Probably I missed
> something obvious.
>
> Thanks in advance.
>
>
>
> --
> С уважением, Гладилин Андрей.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to