Giter Site home page Giter Site logo

g3ronim0 / sentryldap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anndro/sentryldap

0.0 1.0 0.0 1.43 MB

A framework agnostic authentication & authorization system with Ldap.

Home Page: https://github.com/anndro/ & http://www.cartalyst.com

License: BSD 3-Clause "New" or "Revised" License

sentryldap's Introduction

SentryLdap

SentryLdap is a fork of Cartalyst Sentry library. Added new features like ldap authentication.SentryLdap is a PHP 5.3+ fully-featured authentication & authorization system. It also provides additional features such as user groups and additional security features.

Sentry is a framework agnostic set of interfaces with default implementations, though you can substitute any implementations you see fit.

Build Status

Features

It also provides additional features such as user groups and additional security features:

  • Ldap login

Sentry features

  • Configurable authentication (can use any type of authentication required, such as username or email)
  • Authorization
  • Activation of user (optional)
  • Groups and group permissions
  • "Remember me"
  • User suspension
  • Login throttling (optional)
  • User banning
  • Password resetting
  • User data
  • Interface driven - switch out your own implementations at will

Installation

Installation of SentryLdap is very easy. Add:

"repositories": [
{
    "type":"git",
    "url":"https://github.com/anndro/SentryLdap.git"
}]

to your composer.json file then follow one of the following guides to get SentryLdap working with your favorite framework or on it's own:

  1. Install in Laravel 4
  2. Install in FuelPHP 1
  3. Install in CodeIgniter 3

Using

This library is still beta for ldap functions. You have to change this lines in your config file.

'ldap' => array(
	'server'	=> 'ldapserver',
	'port'		=> 'ldapport'
),

After this settings you have to follow sentry orginal document file. You can use ldap login like this;

// Set login credentials
$credentials = array(
    'userid'    => '03310412183',
    'password' => 'vnkuseyn',
);

// Try to authenticate the user
$user = Sentry::authenticateWithLdap($credentials, false);

Also have Sentry::authenticateWithLdapAndRemember($credentials); function.

Upgrading

Is not available yet, I am working on it.

Support

We offer support through our help forums, on IRC at #cartalyst for normal sentry issues, and through GitHub issues (bugs only) for Ldap issues.

sentryldap's People

Contributors

aleemb avatar anndro avatar bencorlett avatar brunogaspar avatar dberry37388 avatar dhrrgn avatar drsii avatar jesseobrien avatar joakimkejser avatar jonagoldman avatar jonob avatar jtgrimes avatar jyggen avatar loic-sharma avatar msurguy avatar natedog550 avatar noherczeg avatar nosykretts avatar pixeloution avatar pmeth avatar rickvdp avatar rydurham avatar spamoom avatar spencerdeinum avatar steveedson avatar taylorotwell avatar thatleeguy avatar thomaslarsson avatar trq avatar vesparny avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.