Dashboard > blojsom > ... > Developers Guide > Properties Authorization Provider
  blojsom Log In   View a printable version of the current page.  
  Properties Authorization Provider
Added by David Czarnecki, last edited by David Czarnecki on Jan 23, 2006  (view change)
Labels: 
(None)

Description

This implementation authenticates a user against simple authorization text files.

Installation and Setup

The properties authorization provider is provided in the standard blojsom download.

The properties authorization provider is setup in the standard blojsom download in /WEB-INF/blojsom.properties.

blojsom-authorization-provider=org.blojsom.authorization.PropertiesAuthorizationProvider

XXX: Document <init-param> for provider.

Configuration Property Description Default
blog-authorization TBD

Usage

Authorization information is specified in /WEB-INF/blog-id/authorization.properties. The format of the authorization.properties file is as follows.

userid=password,optional e-mail address

If no e-mail address is provided for a given userid, the blog owner's e-mail address is assumed to apply.

Permission information is specified in /WEB-INF/blog-id/permissions.properties. The format of the permissions.properties file is as follows.

userid=permission

The file may contain more than one line per user id for each permission available to that user id. The permissions page details the permissions required for various blojsom components.

All Permissions

A user id can be given all permissions using the '*'. For example:

userid=*

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators