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();
		}
	}
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();
		}
	}
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 ( ) ; } }
Configure SSL Validation

Having some kind of server cert validation in production
is highly recommended.
Configure SSL Validation