Git Product home page Git Product logo

wordpress-crowd-plugin's Introduction

wordpress-crowd-login

Plugin Name

Contributors: [email protected], clifgriffin Tags: Crowd, authentication, login Requires at least: 2.8 Tested up to: 3.2.1 Stable tag: 0.1

Integrating Wordpress with Crowd

This is basically a rewrite of the "Simple LDAP Login" plugin for Wordpress with all the LDAP logic removed and replaced with calls to a Crowd authentication library instead. The basic functionality of the plugin was written by clifgriffin (http://clifgriffin.com) with the Crowd stuff implanted by me. Also, the Crowd client library was written by Infinite Campus, Inc. (http://www.infinitecampus.com/).

Description

Having a single login for every service is a must in large organizations. This plugin allows you to integrate Wordpress with Crowd quickly and easily.

Features

  • Supports Atlassian Crowd authentication
  • Includes three login modes:
    • Normal Mode: Authenticates existing Wordpress usernames against Crowd. This requires you to create all Wordpress accounts manually using the same user names as those in your Crowd directory.
    • Account Creation Mode 1: Creates Wordpress accounts automatically for any Crowd user.
    • Account Creation Mode 2: Creates Wordpress accounts automatically for Crowd users in a specific Group you specify.
  • Intuitive control panel.

Architecture

Crowd Login adds an authentication filter to Wordpress that authentication requests must pass. In doing so, it makes several decisions.

  • Can the provided credentials be authenticated against Crowd?
    • If so, is the username a valid WP username?
      • If not, can we create a WP user?
      • If we can, does the user belong to the right (if any) group?
        • If the user does, create the Wordpress user and log the user in.
    • If the username is already valid wordpress user, are they in the right group?
      • If so, log the user in.

This is simply a high level overview. The actual logic the plugin employs is more complex, but hopefully this gives you an idea, philosophically, about how the plugin accomplishes what it does. If the plugin is unable to authenticate the user, it passes it down the chain to Wordpress. (Unless security mode is set to high, which will disable this functionality.)

Installation

  1. Create an application in Crowd as you will need the application name, password, and URL to the Crowd server to setup this plugin. Also, make sure that you add the correct IP address of the web server where this WordPress installation is installed in your Crowd application so that Crowd will allow authentication requests from your WordPress installation.
  2. Use the WordPress plugin directory to install the plugin or upload the directory "crowd-login" to the /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Immediately update the settings to those that best match your environment by going to Settings -> Crowd Login
  5. If you don't get the settings right the first time, don't fret! Just use your Wordpress credentials, they will always work in low security mode.
  6. Once you have the settings correct, you can change the security mode to High Security (if you so desire).
  7. To make your life easier, consider using two different browsers (e.g., IE and Firefox) to do testing. Change settings in one. Test in the other. This will prevent any chance of being locked out.

Changelog

Version 0.1

  • Original release.

wordpress-crowd-plugin's People

Contributors

coreone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wordpress-crowd-plugin's Issues

New maintainer? Wordpress 4?

Looks like @broadinstitute is no longer maintaining. I can't get this plugin to work and I don't know which fork to use. Can we assign a new owner and get it tested against a wordpress 4 install?

Errors with WP 4.1.1

Upon activating the plugin I get the following error on the plugins page:

The plugin generated 286 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

Additionally, The following errors are displayed in the admin area and a few other areas.

Notice: registration.php is deprecated since version 3.1 with no alternative available. This file no longer needs to be included. in C:\Users\cmorlock\Documents\Stash\embark_website_v3\wordpress\wp-includes\functions.php on line 3437

Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in C:\Users\cmorlock\Documents\Stash\embark_website_v3\wordpress\wp-includes\functions.php on line 3495

One other "gotcha" was that when downloaded the plugin is in plugins/wordpress-crowd-plugin-master but Crowd-Login.php is looking for plugins/crowd-login/

Edit: I now realize this currently supports up to version 3.2.1 (must have skipped that part); are there plans to update to the latest version of WP?

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.