You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by David Beer <da...@gmail.com> on 2016/10/15 13:41:19 UTC
Testing Page Rendered when using AnnotationsShiroAuthorizationStrategy
Hi All
I am using shiro to handle my authentication and Authorization for pages
and some components. My current problem is that the page is Annotated like
so @ShiroSecurityConstraint(constraint = ShiroConstraint.LoggedIn). The
problem is I keep getting an java.lang.IllegalStateException: missing
behavior definition for the preceding method call:
Has anyone been able to test a page using the Shiro Annotation Provider or
even Spring Security.
Thanks
David
Re: Testing Page Rendered when using AnnotationsShiroAuthorizationStrategy
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
The exception message didn't make it.
Please paste the whole exception again.
I use Spring Security and I don't have any problems with testing the app.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Sat, Oct 15, 2016 at 3:41 PM, David Beer <da...@gmail.com> wrote:
> Hi All
>
> I am using shiro to handle my authentication and Authorization for pages
> and some components. My current problem is that the page is Annotated like
> so @ShiroSecurityConstraint(constraint = ShiroConstraint.LoggedIn). The
> problem is I keep getting an java.lang.IllegalStateException: missing
> behavior definition for the preceding method call:
>
> Has anyone been able to test a page using the Shiro Annotation Provider or
> even Spring Security.
>
> Thanks
>
> David
>