adding check-cas.rb

Transactional check for CAS (Central Authentication Service).