[Lift] Re: Encrypting user passwords with Jasypt and JPA

2008-10-28 Thread Charles F. Munat
I really have to start reading *all* the new posts before I start replying to them. :-P Chas. efleming969 wrote: > @Charles, nevermind. I figured it out. > > On Oct 28, 2:02 pm, "Erick Fleming" <[EMAIL PROTECTED]> wrote: >> @Derek, Sorry after reading through the posts I forgot you metioned

[Lift] Re: Encrypting user passwords with Jasypt and JPA

2008-10-28 Thread Charles F. Munat
I store only the id in the session because I want to pull the user from the database freshly on each request. That's the safest security-wise. If something happens such as a change in roles or permissions, or deactivation, their permissions change on the next request instead of the next sessio

[Lift] Re: Lift webkit jar

2008-10-28 Thread Charles F. Munat
Ah ha! That's what I was missing. I wondered why it wouldn't download. I only had the releases repo in there. Thanks! Chas. David Bernard wrote: > In the pom.xml under project/repositories add > > scala-tools.org.snapshots > Scala-Tools Maven2 Repository for Snapshots >

[Lift] Re: Lift webkit jar

2008-10-28 Thread Charles F. Munat
Ah! That's pretty close to what I have been doing, but thanks for the magic phrase: mvn clean package install. Abracadabra is so 4th century! Thanks :-) Chas. Tim Perrett wrote: > Chas, > > Your best bet is to clone the git repo, then cd into the directory, then do: > > mvn clean package ins

[Lift] Re: Lift webkit jar

2008-10-28 Thread David Bernard
In the pom.xml under project/repositories add scala-tools.org.snapshots Scala-Tools Maven2 Repository for Snapshots http://scala-tools.org/repo-snapshots and set the version of lift-... to 0.10-SNAPSHOT quicker than update and build lift every day ;) /davidB

[Lift] Re: Encrypting user passwords with Jasypt and JPA

2008-10-28 Thread efleming969
@Charles, nevermind. I figured it out. On Oct 28, 2:02 pm, "Erick Fleming" <[EMAIL PROTECTED]> wrote: > @Derek,  Sorry after reading through the posts I forgot you metioned it. > > @Charles,  Is there a reason you store CurrentUserId and CurrentUser in > session? > > On Tue, Oct 28, 2008 at 12

[Lift] Re: Encrypting user passwords with Jasypt and JPA

2008-10-28 Thread Derek Chen-Becker
No worries. I don't think I made it clear enough in my original comment. Thanks for clarifying :) Derek On Tue, Oct 28, 2008 at 1:02 PM, Erick Fleming <[EMAIL PROTECTED]>wrote: > > @Derek, Sorry after reading through the posts I forgot you metioned it. > > --~--~-~--~~~

[Lift] Re: Encrypting user passwords with Jasypt and JPA

2008-10-28 Thread Erick Fleming
@Derek, Sorry after reading through the posts I forgot you metioned it. @Charles, Is there a reason you store CurrentUserId and CurrentUser in session? On Tue, Oct 28, 2008 at 12:56 PM, Derek Chen-Becker <[EMAIL PROTECTED]> wrote: > SecurityHelpers is what I was referring to before when I said

[Lift] Re: Lift webkit jar

2008-10-28 Thread Tim Perrett
Chas, Your best bet is to clone the git repo, then cd into the directory, then do: mvn clean package install If you then want to update from time to time, just do: git pull Cheers Tim On 28/10/2008 18:25, "Charles F. Munat" <[EMAIL PROTECTED]> wrote: > > Is there a way to get Maven to d

[Lift] Lift webkit jar

2008-10-28 Thread Charles F. Munat
Is there a way to get Maven to download the lift-webkit jar (0.10 snapshot)? If not, does one just download lift from github, run mvn package (compile? install?) and then install the resulting jar? I'm not sure I'm doing this right. Thanks, Chas. --~--~-~--~~~---~

[Lift] Re: Encrypting user passwords with Jasypt and JPA

2008-10-28 Thread Derek Chen-Becker
SecurityHelpers is what I was referring to before when I said I copied what was in Mapper. It uses the helpers for random strings, hash, crypto, etc. Derek On Mon, Oct 27, 2008 at 10:25 PM, efleming969 <[EMAIL PROTECTED]> wrote: > > There is also SecurityHelpers which has some of this included.

[Lift] Re: Kaboom

2008-10-28 Thread David Pollak
I don't know why there are issues with Lift. Scala-tools.org seems to be fine. In terms of the underlying issue, please add the following lines to your pom.xml file: javax.mail mail 1.4 javax.activation activation 1.1 in the tag On Mon,