Dashboard > blojsom 3.0 > ... > Authorization Providers > Database Authorization Provider
  blojsom 3.0 Log In   View a printable version of the current page.  
  Database Authorization Provider
Added by David Czarnecki, last edited by David Czarnecki on Jul 11, 2007  (view change)
Labels: 
(None)

Description

The database authorization provider is the default authorization provider for blojsom and uses information from the database to authorize users accessing a blog as well as checking permissions for users.

Installation and Configuration

In /WEB-INF/classes/blojsom.xml, an authorizationProvider bean is configured for the installation.

<!-- Authorization provider -->
    <bean id="authorizationProvider" class="org.blojsom.authorization.database.DatabaseAuthorizationProvider"
          init-method="init">
        <property name="sessionFactory">
            <ref bean="hibernateSessionFactory"/>
        </property>
    </bean>

The bean id of authorizationProvider must not be changed.

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