Enterprise Single Sign-On for All

Mongo Service Registry

This DAO uses a MongoDb instance to load and persist service definitions. Support is enabled by adding the following module into the Maven overlay:

1
2
3
4
5
<dependency>
    <groupId>org.jasig.cas</groupId>
    <artifactId>cas-server-integration-mongo</artifactId>
    <version>${cas.version}</version>
</dependency>

Configuration

This implementation auto-configures most of the internal details.

1
<alias name="mongoServiceRegistryDao" alias="serviceRegistryDao" />

The following configuration in cas.properties is required.

1
2
3
4
5
mongodb.host=mongodb database url
mongodb.port=mongodb database port
mongodb.userId=mongodb userid to bind
mongodb.userPassword=mongodb password to bind
cas.service.registry.mongo.db=Collection name to store service definitions