Re: Tynamo Security w/ custom Realm

2016-11-09 Thread Adam X
So I set org.apache.shiro to DEBUG level and discovered that Shiro is actually correctly authenticating but for some reason displays "Unauthorized" page: [DEBUG] com.foo.bar.core.engine.components.dao.UserManagementMockDao (getUser:444) - userId: donkey [DEBUG]

Re: Tynamo Security w/ custom Realm

2016-11-09 Thread Adam X
Hello All - just want to say everything in Shiro was configured ok. The bug was in the implementation of my mock dao. All works nicely On Wed, Nov 9, 2016 at 2:49 PM, Adam X wrote: > So I set org.apache.shiro to DEBUG level and discovered that Shiro is > actually correctly

Tynamo Security Login Page

2016-11-09 Thread Adam X
I have tapestry-security integrated and working in my project. Page classes annotated with shiro such as @RequiresAuthentication get intercepted with the login page. What is the best way to create a link on my page that redirects to tap security login page? In my Laout.java I tried this:

Re: Tynamo Security Login Page

2016-11-09 Thread Kalle Korhonen
Need to specify the library since it's not your own component - loginPage is just a local attribute name. Use or just replace the whole block with <:tsecurity.loginlink>. Kalle On Wed, Nov 9, 2016 at 9:03 AM, Adam X wrote: > I have tapestry-security integrated and