2017 © Pedro Peláez
 

simplesamlphp-module simplesamlphp-module-mongo

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

image

prolificinteractive/simplesamlphp-module-mongo

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

  • Friday, January 19, 2018
  • by ppatriotis
  • Repository
  • 31 Watchers
  • 1 Stars
  • 1,489 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 40 % Grown

The README.md

SimpleSAMLphp Mongo Module

Travis build status, (*1)

The mongo module is an implementation of a SimpleSAMLphp (SSP) data store., (*2)

Features

  • Can be used for backend storage of sessions in MongoDB
  • Includes support for replica sets

Requirements

PHP 5.4 through 5.6, (*3)

SimpleSAMLphp, (*4)

MongoDB, (*5)

Mongo PHP extension, (*6)

Installation

If your project manages SSP with Composer run:, (*7)

php composer.phar require prolificinteractive/simplesamlphp-module-mongo

This command will add prolificinteractive/simplesamlphp-module-mongo to your projects' composer.json file and install the module into SSP's modules directory, which relative to your project's root directory is conventionally vendor/simplesamlphp/simplesamlphp/modules., (*8)

Usage

Set the store.type option in your SSP config file to mongo:Store., (*9)

Provide your MongoDB connection information to the module by copying the file provided in the config-templates directory into SSP's config directory, and setting the following environment variables:, (*10)

DB_MONGODB_HOST
DB_MONGODB_PORT
DB_MONGODB_USERNAME
DB_MONGODB_PASSWORD
DB_MONGODB_DATABASE

If your connecting to a replica set, you'll need to set the following environment variables below as well:, (*11)

DB_DEFAULT_CONNECTION   # Must contain the substring "_replica"
DB_MONGODB_REPLICASET
DB_MONGODB_READ_PREFERENCE

See the Mongo extension PHP Manual for more information about appropriate values for DB_MONGODB_REPLICASET and DB_MONGODB_READ_PREFERENCE., (*12)

Finally, you can enable the module by creating an empty file name enable in the vendor/simplesamlphp/simplesamlphp/modules/mongo directory., (*13)

Note: This module stores PHP session data in the session collection., (*14)

Contributing to SimpleSAMLphp Mongo Module

To report a bug or enhancement request, feel free to file an issue under the respective heading., (*15)

If you wish to contribute to the project, fork this repo and submit a pull request., (*16)

License

prolific, (*17)

Copyright (c) 2017 Prolific Interactive, (*18)

SimpleSAMLphp Mongo Module is maintained and sponsored by Prolific Interactive. It may be redistributed under the terms specified in the LICENSE file., (*19)

The Versions

19/01 2018

dev-master

9999999-dev

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Beaton

mongodb modules store simplesamlphp

19/01 2018

1.0.7

1.0.7.0

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Beaton

mongodb modules store simplesamlphp

19/01 2018

dev-develop

dev-develop

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Beaton

mongodb modules store simplesamlphp

19/01 2018

dev-feature/unit-tests

dev-feature/unit-tests

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Beaton

mongodb modules store simplesamlphp

17/01 2018

dev-chore/add-readme

dev-chore/add-readme

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

  Sources   Download

MIT

The Requires

 

by Chris Beaton

mongodb modules store simplesamlphp

19/12 2017

1.0.6

1.0.6.0

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

  Sources   Download

MIT

The Requires

 

by Chris Beaton

mongodb modules store simplesamlphp

08/12 2017

1.0.5

1.0.5.0

A SimpleSAMLphp module to provide a SimpleSAML_Store implementation for MongoDB.

  Sources   Download

MIT

The Requires

 

by Chris Beaton

mongodb modules store simplesamlphp