Thanks Odilo, Finally I managed to add the url to the credentials and
everything is working fine.

2011/10/17 Odilo Oehmichen <[email protected]>

> hi,
>
> did you consider implementing your own Credentials-object which would hold
> the url? - for me that would be the place how to pass all necessary
> authentication information to a AuthenticationHandler.
>
> cheers
> odilo
>
>
> On Oct 17, 2011, at 17:46 PM, Francisco González-Blanch wrote:
>
> Hello everyone,
>
>
> I'm writing a custom authentication handler that needs the url the user
> want to authenticate (target) in order to validate the authentication.
>
> 'm trying to set it in the login view in a threadlocal variable and then
> get it  in the authentication handler. So I've done it so and it works
> perfectly in the development environment but when I try to recover  the
> threadlocal variable in the authentication handler in the production
> server, it only receives a null object. Do you know why? can you think of
> any other work around to solve this problem. Thanks a lot.
>
> Best.
>
> Francisco
>
> --
> Francisco González-Blanch Rodríguez
> Grupo Madiva
> Tlf.:   +34 913 00 10 44
> [email protected]
> www.madiva.com
>
> Perfil en  [image: LinkedIn] <http://es.linkedin.com/in/fgblanch/>
>
>
>
> --
> You are currently subscribed to [email protected] as: [email protected]
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>


-- 
Francisco González-Blanch Rodríguez
Grupo Madiva
Tlf.:   +34 913 00 10 44
[email protected]
www.madiva.com

Perfil en  [image: LinkedIn] <http://es.linkedin.com/in/fgblanch/>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to