Re: Tynamo Security Login Page

2016-11-21 Thread Adam X
Hi All - Just as a follow up, I was able to resolve everything based in large part on the feedback from Kalle. Had a successful demo for the sprint end. 1) Did a copy-paste of the login tml/java from tapestry-security and derived customizations from there. Used symbols to tell tapestry-security w

Re: Tynamo Security Login Page

2016-11-10 Thread Kalle Korhonen
On Thu, Nov 10, 2016 at 2:51 AM, Adam X wrote: > 1) > How do I customize the login page? > a) I'd like to edit error messages: "You must provide a value for Tynamo > Login." > b) I'd like to style it differently, add company logo and maybe even edit > html > (You could override but) don't try to

Re: Tynamo Security Login Page

2016-11-10 Thread Dusko Jovanovski
The behaviors that you are describing can be easily configured using Symbols. Take a look at the SecuritySymbols class: https://github.com/tynamo/tapestry-security/blob/master/src/main/java/org/tynamo/security/SecuritySymbols.java The Symbols that you are looking for are: LOGIN_URL and SUCCESS_URL

Re: Tynamo Security Login Page

2016-11-10 Thread Adam X
Kyle, you rock man. Works like a charm. I'm sorry for having so many questions but I like tapestry-secruity/shiro and I'd like to integrate it all the way in my solution. So I have few more follow ups: 1) How do I customize the login page? a) I'd like to edit error messages: "You must provide a v

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 working in my project. Page >

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: @Pr