Dashboard > blojsom 3.0 > ... > Plugins > Basic Authentication Plugin
  blojsom 3.0 Log In   View a printable version of the current page.  
  Basic Authentication Plugin
Added by David Czarnecki, last edited by David Czarnecki on Jan 23, 2007  (view change)
Labels: 

Description

The basic authorization plugin performs a BASIC authorization check to ensure that only authorized users are allowed access to your blog.

Availability

This plugin is available as of blojsom 2.23.

Installation and Setup

In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:

<bean id="basic-authentication" class="org.blojsom.plugin.security.BasicAuthenticationPlugin" init-method="init"
          destroy-method="destroy">
        <property name="servletConfig">
            <ref bean="servletConfigFactoryBean"/>
        </property>
        <property name="authorizationProvider">
            <ref bean="authorizationProvider"/>
        </property>
        <property name="resourceManager">
            <ref bean="resourceManager"/>
        </property>
    </bean>

You may then add "basic-authentication" to one of the flavor-based plugin chains. It should be placed at the beginning of the plugin chain to ensure authorization is checked immediately.

Usage and URL Parameters

Usage

The authorized users allowed to access the blog are those users you setup for the web administration console.

URL Parameters

There are no URL parameters to control the operation of the basic authentication plugin.

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