Re: [appfuse-user] after user signup there is username placed as principal, why not user pojo?

2007-09-07 Thread carbon60
mraible wrote: > > I'm fine with normalizing it - patches welcome. > Two things then: 1. Create a static method somewhere: getCurrentUser() that basically contains the same code as posted previously; Does that sound about right? Where would you like the method? 2. Modify SignupController, a

Re: [appfuse-user] after user signup there is username placed as principal, why not user pojo?

2007-09-07 Thread carbon60
ros wrote: > > Is it possible to place User pojo as principal on successful signup. > Currently there is user name placed on signup and User pojo on login. > I just ran into exactly the same thing. This means that the following code from UserSecurityAdvice will not always work: private U

Re: [appfuse-user] Testing

2007-05-27 Thread carbon60
mraible wrote: > > Try running "mvn test -Dsurefire.useFile=false" to see the error > messages in your console. Otherwise, look in target/surefire-reports > for text files that contains the error messages. > Also, the target surefire-report generates a nice cross-linked page: $ mvn surefire-r