[Lift] Re: How do I go about implementing my own auth?

2009-12-24 Thread Marius
You can use various LocParams for the Loc-s defined in your SiteMap but I'm not sure I understand your question. What do you mean by authorize the editable text ? Br's, Marius On Dec 24, 6:54 am, Xuefeng Wu ben...@gmail.com wrote: Could SiteMap authorize the editable text? I use swappable

Re: [Lift] Re: How do I go about implementing my own auth?

2009-12-24 Thread Xuefeng Wu
Yes, authorize the editable text On Thu, Dec 24, 2009 at 4:06 PM, Marius marius.dan...@gmail.com wrote: You can use various LocParams for the Loc-s defined in your SiteMap but I'm not sure I understand your question. What do you mean by authorize the editable text ? Br's, Marius On Dec

Re: [Lift] Re: How do I go about implementing my own auth?

2009-12-23 Thread Xuefeng Wu
Could SiteMap authorize the editable text? I use swappable some where and do not know how to authorize it. On Tue, Dec 8, 2009 at 5:38 AM, Marius marius.dan...@gmail.com wrote: I'm not really sure why you're saying that SiteMap is out of the question. Note that SiteMap does NOT equate with

[Lift] Re: How do I go about implementing my own auth?

2009-12-07 Thread Marius
On Dec 7, 1:09 pm, DMB combust...@gmail.com wrote: Basically here's what I want to accomplish: 1. I want the user to login through a simple form on /index.html - this is the only unprotected page on the site. User does not have a user name, the only field is a password. 2. I want to store

[Lift] Re: How do I go about implementing my own auth?

2009-12-07 Thread DMB
I'm using neither Mapper (JPA is used instead) nor SiteMap. Thanks for the explanation, I'll try this today. On Dec 7, 6:14 am, Marius marius.dan...@gmail.com wrote: On Dec 7, 1:09 pm, DMB combust...@gmail.com wrote: Basically here's what I want to accomplish: 1. I want the user to login

Re: [Lift] Re: How do I go about implementing my own auth?

2009-12-07 Thread John Goodsen
can you embed a (shared) username in the form and submit the password it using the default Lift User authentication? On Mon, Dec 7, 2009 at 2:19 PM, DMB combust...@gmail.com wrote: I'm using neither Mapper (JPA is used instead) nor SiteMap. Thanks for the explanation, I'll try this today. On

[Lift] Re: How do I go about implementing my own auth?

2009-12-07 Thread DMB
SiteMap is out of the question. I don't need it at all on my site, by design. I like the way this is done in RoR: you can basically say: before_filter :authorize, :except = :login And it will call authorize for all top level methods in the controller class except login. Not that any of this is

Re: [Lift] Re: How do I go about implementing my own auth?

2009-12-07 Thread David Pollak
On Mon, Dec 7, 2009 at 1:32 PM, DMB combust...@gmail.com wrote: SiteMap is out of the question. I don't need it at all on my site, by design. If you claimed I don't need controllers by design in an RoR site, then your example would not work. SiteMap is the access control mechanism for Lift.

[Lift] Re: How do I go about implementing my own auth?

2009-12-07 Thread DMB
Hmm. I need to give it a try. I didn't realize it has such diverse functionality. On Dec 7, 1:38 pm, Marius marius.dan...@gmail.com wrote: I'm not really sure why you're saying that SiteMap is out of the question. Note that SiteMap does NOT equate with the Menu. You can use SiteMap to define