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.
<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.