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
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
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