Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.xyang2005:cas:v4.1.2'
}
dependencies {
implementation("com.github.xyang2005:cas:v4.1.2")
}
<dependency>
<groupId>com.github.xyang2005</groupId>
<artifactId>cas</artifactId>
<version>v4.1.2</version>
</dependency>
libraryDependencies += "com.github.xyang2005" % "cas" % "v4.1.2"
:dependencies [[com.github.xyang2005/cas "v4.1.2"]]
Welcome to the home of the Central Authentication Service project, more commonly referred to as CAS. The Central Authentication Service (CAS) is the standard mechanism by which web applications should authenticate users.
CAS provides enterprise single sign-on service:
It is recommended to build and deploy CAS locally using the Maven War Overlay method. This approach does not require the adopter to explicitly download any version of CAS, but rather utilizes Maven's overlay mechanism to combine CAS original artifacts and local customizations to further ease future upgrades and maintenance.
master
branch may be downloaded from here.org.jasig.cas
.git clone git@github.com:Jasig/cas.git
Note: If building CAS from the source, running test cases currently requires an active Internet connection.