Git Product home page Git Product logo

openfire-superuser-auth-provider's Introduction

Openfire Superuser Auth Provider

This is a very simple AuthProvider which provides for a "magic password" which will allow someone who knows it to authenticate as any user. For obvious reasons, the password should be set and managed very securely.

This will audit all failed attempts to authenticate using the openfire-audit-plugin mechanism (if available). Optionally, it can also audit succesful attempts to login.

To use this class, place it on openfire's classpath (in /opt/openfire/lib is fine) and set the following properties in the openfire "system properties" page:

  • hybridAuthProvider.tertiaryProvider.className = com.surevine.chat.openfire.auth.SuperuserAuthProvider
  • com.surevine.chat.openfire.auth.superuserPassword = [the password]
  • (optionally) com.surevine.chat.openfire.auth.logSuperuserLogins = true
  • (optionally) com.surevine.chat.openfire.auth.auditPluginName = [the name of the audit plugin to use]

DO NOT USE THIS UNLESS YOU KNOW WHAT YOU ARE DOING!

This provider essentially opens a security hole in your Openfire installation by prioviding a single "skeleton key" password which will let anyone with knowledge of that password log in and masqerade as anyone else, include any administrative user. It was built for a very specific purpose, and probably has little value outside of that intended purpose.

You have been warned.

openfire-superuser-auth-provider's People

Contributors

ashward avatar

Stargazers

Angus H. avatar Antowaine Wilburn avatar

Watchers

James Cloos avatar Antowaine Wilburn avatar

Forkers

tweez ikexxdikk

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.