Tynamo tapestry-security: how to override Login Page?
Quick question that I don't see an obvious solution to... How do I get my own page instead of the generic tapestry-security login page? Thanks! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tynamo tapestry-security: how to override Login Page?
Contribute SecuritySymbols.LOGIN_URL, the following are the defaults: public static void contributeFactoryDefaults(MappedConfigurationString, String configuration) { configuration.add(SecuritySymbols.LOGIN_URL, / + PATH_PREFIX + /login); configuration.add(SecuritySymbols.SUCCESS_URL, /index); configuration.add(SecuritySymbols.UNAUTHORIZED_URL, / + PATH_PREFIX + /unauthorized); } (Is that not documented - whoops, seems not, will fix) Kalle On Mon, Aug 29, 2011 at 9:43 AM, Lenny Primak lpri...@hope.nyc.ny.us wrote: Quick question that I don't see an obvious solution to... How do I get my own page instead of the generic tapestry-security login page? Thanks! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tynamo tapestry-security: how to override Login Page?
Thank you! I like the way the login component looks. Perhaps if there a way to extend it... On Aug 29, 2011, at 12:57 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Contribute SecuritySymbols.LOGIN_URL, the following are the defaults: public static void contributeFactoryDefaults(MappedConfigurationString, String configuration) { configuration.add(SecuritySymbols.LOGIN_URL, / + PATH_PREFIX + /login); configuration.add(SecuritySymbols.SUCCESS_URL, /index); configuration.add(SecuritySymbols.UNAUTHORIZED_URL, / + PATH_PREFIX + /unauthorized); } (Is that not documented - whoops, seems not, will fix) Kalle On Mon, Aug 29, 2011 at 9:43 AM, Lenny Primak lpri...@hope.nyc.ny.us wrote: Quick question that I don't see an obvious solution to... How do I get my own page instead of the generic tapestry-security login page? Thanks! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tynamo tapestry-security: how to override Login Page?
On Mon, Aug 29, 2011 at 10:07 AM, Lenny Primak lpri...@hope.nyc.ny.us wrote: Thank you! I like the way the login component looks. Perhaps if there a way to extend it... I wouldn't go there, you gain nothing by trying to extend the existing one. The component's very simple - I'd encourage rewriting the component and reusing/copying the style resources if you like the way it looks. Kalle On Aug 29, 2011, at 12:57 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Contribute SecuritySymbols.LOGIN_URL, the following are the defaults: public static void contributeFactoryDefaults(MappedConfigurationString, String configuration) { configuration.add(SecuritySymbols.LOGIN_URL, / + PATH_PREFIX + /login); configuration.add(SecuritySymbols.SUCCESS_URL, /index); configuration.add(SecuritySymbols.UNAUTHORIZED_URL, / + PATH_PREFIX + /unauthorized); } (Is that not documented - whoops, seems not, will fix) Kalle On Mon, Aug 29, 2011 at 9:43 AM, Lenny Primak lpri...@hope.nyc.ny.us wrote: Quick question that I don't see an obvious solution to... How do I get my own page instead of the generic tapestry-security login page? Thanks! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tynamo tapestry-security: how to override Login Page?
Yes. I do like the style. I guess I'll copy it from the source code. Thanks a lot for your help Kalle! On Aug 29, 2011, at 1:29 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Mon, Aug 29, 2011 at 10:07 AM, Lenny Primak lpri...@hope.nyc.ny.us wrote: Thank you! I like the way the login component looks. Perhaps if there a way to extend it... I wouldn't go there, you gain nothing by trying to extend the existing one. The component's very simple - I'd encourage rewriting the component and reusing/copying the style resources if you like the way it looks. Kalle On Aug 29, 2011, at 12:57 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Contribute SecuritySymbols.LOGIN_URL, the following are the defaults: public static void contributeFactoryDefaults(MappedConfigurationString, String configuration) { configuration.add(SecuritySymbols.LOGIN_URL, / + PATH_PREFIX + /login); configuration.add(SecuritySymbols.SUCCESS_URL, /index); configuration.add(SecuritySymbols.UNAUTHORIZED_URL, / + PATH_PREFIX + /unauthorized); } (Is that not documented - whoops, seems not, will fix) Kalle On Mon, Aug 29, 2011 at 9:43 AM, Lenny Primak lpri...@hope.nyc.ny.us wrote: Quick question that I don't see an obvious solution to... How do I get my own page instead of the generic tapestry-security login page? Thanks! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org