/cas-addons

Open source CAS customizations, extensions, and configuration aids.

Primary LanguageJavaApache License 2.0Apache-2.0

CAS Addons

CAS Addons is an open source collection of useful JASIG-CAS server addons.

==========================================================================

For versions 1.0+, the minimum supported version of CAS is 3.5.1

Project Information

Current version

1.4

Build Build Status

You can build the project from source using the following Maven command:

$ mvn clean package

Usage

cas-addons is, not surprisingly, intended to be added on to your CAS server. The easiest way to do this is to declare cas-addsons as a dependency in your local CAS server build that's structured as a Maven overlay.

Declare the project dependency in your Local CAS server pom.xml file as:

<dependency>
    <groupId>net.unicon.cas</groupId>
    <artifactId>cas-addons</artifactId>
    <version>1.4</version>
</dependency>

To have a more finer-grined controll of transitive dependencies brought into overlays by cas-addons and exclude unused features' transitive dependencies, use Maven's exclude mechanism. Example cas-addons dependency with exclusions:

<dependency>
            <groupId>net.unicon.cas</groupId>
            <artifactId>cas-addons</artifactId>
            <version>${cas-addons.version}</version>			
            <exclusions>                
                <exclusion>
                    <groupId>edu.internet2.middleware.grouper</groupId>
                    <artifactId>grouperClient</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jersey</groupId>
                    <artifactId>jersey-client</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jersey</groupId>
                    <artifactId>jersey-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jersey</groupId>
                    <artifactId>jersey-server</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jersey</groupId>
                    <artifactId>jersey-servlet</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jersey.contribs</groupId>
                    <artifactId>jersey-spring</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.ws.rs</groupId>
                    <artifactId>jsr311-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.stormpath.sdk</groupId>
                    <artifactId>stormpath-sdk-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.stormpath.sdk</groupId>
                    <artifactId>stormpath-sdk-httpclient</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework.data</groupId>
                    <artifactId>spring-data-mongodb</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework.security</groupId>
                    <artifactId>spring-security-cas</artifactId>
                </exclusion>
            </exclusions>
        </dependency>