RESTful based WSGI app and accompaying AJAX UI for managing users/groups
ClueSecure is two things:
- A Python-based library/API for managing users and groups
- A WSGI app and Dojo-based AJAX UI for accessing the user/group management library/API
Although there is a standalone script for running ClueSecure it is not meant for standalone use. It is meant to embed inside another controller app that has need for management of users.
Setup djConfig in HTML/Javascript of application to include lookup for ClueSecure Javascript and setup function for displaying UI:
<script type="text/javascript"> var baseurl = '/secure'; djConfig = { modulePaths: { 'clue.secure': baseurl + '/static/clue/secure' } }; dojo.require('clue.secure.mgt'); var smanager; function display_security() { if (!smanager) { smanager = new clue.secure.mgt.SecurityManager(baseurl); smanager.display(); } }; </script>Include necessary CSS:
<link rel="stylesheet" href="/secure/mgt.css">Instantiate and mount the WSGI app someplace. The following example will mount the ClueSecure wsgi app at /secure:
usermanager = htpasswd.HtpasswdUserManager('users.passwd') groupmanager = groupfile.FileGroupManager('groups.info') app = securewsgi.make_middleware({}, app=app, usermanager=usermanager, groupmanager=groupmanager)
Developed and maintained by Rocky Burt (rocky AT serverzen DOT com) of ServerZen Software in collaboration with Jazkarta, Inc.
- Project listings now use AJAX
- New Dojo-based AJAX UI for managing users/groups
- Added group support
- First release