Thanks a lot Eugen !
Le 15/07/2014 22:12, Eugen a écrit :
Yes, this is the "normal" way, another way is to make a tapestry form, f.e.:
and in OnSuccess event something like:
@inject
AuthenticationManager authenticationManager;
void onSuccess() {
Authentication authentication = new
Userna
Yes, this is the "normal" way, another way is to make a tapestry form, f.e.:
and in OnSuccess event something like:
@inject
AuthenticationManager authenticationManager;
void onSuccess() {
Authentication authentication = new
UsernamePasswordAuthenticationToken(username, password);
Authentica
Thanks, but
This is a form with an action value
class="line">
This is not a tapestry form (t:form), I don't think I can use the onSuccess
Thomas
Le 15/07/2014 18:49, Eugen a écrit :
Hi,
You can login programatically in onSucces function of a tapestry form.
Best regards
Eugen
Am 15.07.2014 1
Hi,
You can login programatically in onSucces function of a tapestry form.
Best regards
Eugen
Am 15.07.2014 16:16 schrieb "TNO" :
> Hello,
>
> Is there anybody who already use tapestry-csrf-protection with
> Tapestry-Spring-Security ?
>
> tapestry-csrf-protection works out of the box with t:form,
The trace :
|java.lang.NullPointerException: Unable to delegate method invocation to property
'request' of , because the
property is null.
at $Request_1ce08361bf2a.readProperty(Unknown Source)
at $Request_1ce08361bf2a.getSession(Unknown Source)
at $Request_1ce08361bee0.getSession(Un