Josh Cummings 7dac99f157 Update to Gradle 8.14.3 3 tygodni temu
..
gradle 7dac99f157 Update to Gradle 8.14.3 3 tygodni temu
src 7e6f288721 Update :servlet:spring-boot:java:cas:login to 7 2 miesięcy temu
README.adoc f27d800bcf Add CAS sample 2 lat temu
build.gradle 23e81699ae Update Remaining Samples to 6.4.0-SNAPSHOT 1 rok temu
gradle.properties 7e6f288721 Update :servlet:spring-boot:java:cas:login to 7 2 miesięcy temu
gradlew f27d800bcf Add CAS sample 2 lat temu
gradlew.bat f27d800bcf Add CAS sample 2 lat temu
settings.gradle 50ffc04d54 Make Projects Individually Runnable 1 rok temu

README.adoc

= CAS Login & Logout Sample

This sample provides a very simple implementation of a CAS Service (application) that uses a local CAS server for authentication.

== Run the Sample

=== Requirements

In order to run the sample locally, you must have https://www.docker.com/[Docker] installed or a running CAS server.

=== Start Up the Local CAS Server

Run the following command from the root of the project:
[source,bash]
----
docker-compose -f docker/cas/docker-compose.yml up
----

=== Start up the Sample Application
Run the `CasLoginApplication` class from your IDE or run the following command from the root of the project:
[source,bash]
----
./gradlew :servlet:spring-boot:java:cas:login:bootRun
----

=== Open a Browser

http://localhost:8080/

You will be redirected to the local CAS server: http://localhost:8090/cas

=== Type in the credentials

[source,bash]
----
User: casuser
Password: Mellon
----