protected function configureCasValidation() {
		if ( $this->config['cas_validation'] == 'ca'
		     || $this->config['cas_validation'] == 'self' ) {
			phpCAS::setCasServerCACert( $this->config['cas_cert'],
				$this->config['cas_validate_cn'] );
		} else {
			// Not safe (does not validate your CAS server)
			phpCAS::setNoCasServerValidation();
		}
	}