This method is called to check whether the user is authenticated or not.
public checkAuthentication ( ) : true | ||
return | true | when the user is authenticated, false when a previous gateway login failed or the function will not return if the user is redirected to the cas server for a gateway login attempt |