[TYPO3-english] CAS-login

Xavi xcastanho at igalia.com
Thu Oct 14 09:10:27 CEST 2010


Hi Tomas,

On Tue, 2010-10-05 at 16:05 +0200, Tomas Havner wrote:
> Tomas Havner skrev 2010-10-01 10:22:
> >  Tomas Havner skrev 2010-09-30 16:32:
> >>  Xavi skrev 2010-09-30 12:44:
> > TH
> Now I get *phpCAS error*: *phpCAS::forceAuthentication(): this method 
> should be used only after CASClient::forceAuthentication() or 
> CASClient::isAuthenticated()* in 
> *C:\Inetpub\wwwroot\typo3\typo3conf\ext\cas_auth\sv1\class.tx_casauth_sv1.php* 
> on line *181
> 
> any ideas?

I am not sure about what is happening to you but this error is launched
when CASClient->user is empty. The reason they suppose is that you
didn't launched CASClient -> getUser method before CASClient ->
forceAuthentication(). However, I suppose it is caused because your
website wasn't able to get user from CAS after you introducing user and
password.

Regards,
Xavi.


More information about the TYPO3-english mailing list