directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Rodriguez" <enriqu...@gmail.com>
Subject Re: [kerberos] Potential problem in AuthenticationServiceChain
Date Sun, 04 Nov 2007 02:21:28 GMT
On 10/31/07, Emmanuel Lecharny <elecharny@gmail.com> wrote:
> ...
> I'm looking again in the AuthenticationServiceChain (which has been
> removed in bigbang branch), and I see this code :
> ...
> As one can see, the next.execute() method is called twice if the
> authContext.getClientKey() is not null.
>
> Should I presume that the method should return immediatly in tis case
> instead of going through all the following code ? Something like :
> ...
>         if ( authContext.getClientKey() != null )
>         {
>             next.execute( session, message );
>             return;
>         }
> ...

Yes, definitely.

Enrique

Mime
View raw message