cas-server-mongo-registriesdeprecated

A module for JSCAS providing ticket and service registries backed by mongodb

Usage no npm install needed!

<script type="module">
  import casServerMongoRegistries from 'https://cdn.skypack.dev/cas-server-mongo-registries';
</script>

README

cas-server-mongo-registries

This module provides both a services registry and ticket registry for the JSCAS server. It requires the server to have the Mongoose data source configured.

Other than the data source, no configuration is necessary.

See the reference server configuration to learn how to include these registries in your server (plugins section).

TODO

  • Include a tool to bootstrap the database (so that autoIndex can be disabled)
  • Include a tool to add services to the database
  • Include a tool to purge old tickets

License

MIT License