I've just built and ran CAS init. According to below guide and I can see UI at localhost:8080/ui. But now I don't know what should I do for next steps to implement a SSO server. I am new to this subject. I have installed JDK 11, Apache Tomcat and running CAS init, on Win 10.
I used these commands respectively:
gradlew clean build
gradlew bootRun
Running froze at 96%, but I can access localhost:8080 and its UI. I don't know why it's freezing.
After that I tried curl $INITIALIZR_URL/starter.zip -o cas.zip but I don't know what to do next.
All I've done is from below guide:
This means you've got a CAS WAR Overlay project stored in the generated
cas.zipfile. All you need to do now is to:Unpack the
cas.zipfile to a folder of your choice.For building and running the resulting CAS application, follow the instructions in the extracted
README.mdfile. In essence, you can try to do for example:Build the application (
cas.war):Run the built application (provided you chose "Executable" deployment type, which is the default):
Regarding the CAS Initializr application, you don't actually need to build and run it yourself, provided that it is available at https://casinit.herokuapp.com (or https://casinit.herokuapp.com/ui for a clickable UI).
When generating the overlay project via Initializr, don't forget to choose the desired version of CAS (e.g. the latest non-snapshot version can be recommended). Besides others, you can also select additional modules (dependencies) which you expect to use in your CAS application (e.g.
support-ldapfor authenticating users against LDAP / AD) - they will be automatically added to the correct place in the generatedbuild.gradlefile. Then you just need to update corresponding CAS configuration file(s) to setup the behavior of the concrete modules used (e.g. the URL to your LDAP server).Later on, when you need to add another module, you can either do this by directly modifying the extracted
build.gradlefile by following the CAS documentation, or use the Initializr once again to generate the correctbuild.gradleand possibly other files for you.