[dev] auth transparent handler

Ralf Lang lang at b1-systems.de
Thu Sep 8 13:59:33 UTC 2011


Am Donnerstag, 8. September 2011, 15:48:21 schrieben Sie:
> Hello,
> 
> I have written a piece of code for an auth handler in transparent mode. I
> would like to reject some users. But I can only return false. As I use an
> SSO CAS authentication, the user is transparently coming back then having
> an issue whith an already phpcas called.
> How can we reject somebody properly? In that case show the reason an stop
> processing
> I have been also obliged to add a redirect on logout using the CAS logout
> URL in order to logout properly. Is there another way to do that? I don't
> see a method for this.

Don't know a lot about CAS but maybe you could overload Auth_Base's isLocked() 
function to lockout users by some CAS-specific logic rather than Horde_Lock


-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537


More information about the dev mailing list