# Overview

Source: https://apereo.github.io/cas/development/integration/CAS-Clients.html

A CAS client is also a software package that can be integrated with various software platforms and applications in order to communicate with the CAS server using one or more supported protocols. CAS clients supporting a number of software platforms and products have been developed.

## Official Clients

- [.NET CAS Client](https://github.com/apereo/dotnet-cas-client)
- [Java CAS Client](https://github.com/apereo/java-cas-client)
- [PHP CAS Client](https://github.com/apereo/phpCAS)
- [Apache CAS Client](https://github.com/apereo/mod_auth_cas)

## Other Clients

Other unofficial or incubating CAS clients may be [found here](https://wiki.jasig.org/display/CASC).

- [Apache APISIX CAS Authentication Plugin](https://apisix.apache.org/docs/apisix/plugins/cas-auth/)

Given the above projects are unofficial and not under direct maintenance of CAS, their availability and accuracy may vary.

## Samples

- [CASified Python web application using Flask](https://github.com/apereo/cas-sample-python-webapp)
- [CASified Java web application using Java CAS Client](https://github.com/apereo/cas-sample-java-webapp)
- [CASified Bootiful Java web application](https://github.com/apereo/bootiful-cas-client)
- [CASified Bootiful Java web application via Spring Security](https://github.com/apereo/springsecurity-bootiful-cas-client)

## Framework Support

The following programming frameworks have built-in support for CAS:

- [Spring Security](https://spring.io/projects/spring-security)
- [Apache Shiro](http://shiro.apache.org/cas.html)
- [Pac4j](https://github.com/pac4j/pac4j)

## Build your own CAS client

As a lot of CAS clients already exist, there is little opportunity to develop a CAS client and it should be avoided as much as possible. Indeed, creating your own client is not an easy job and you’re most likely to generate security breaches.

Though, if you really need to create your own CAS client, please be aware of these incomplete guidelines:

- Rely on a static internal configuration instead of leveraging the behaviour on received inputs which can be forged
- Ensure that all outside inputs are properly decoded and encoded when used calls to CAS or other services
- Ensure that input is validated and that overly large inputs are discarded.
