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

Authorization providers are responsible for verifying access when users want to perform certain actions, for example, through the web administration console. They are also responsible for checking permissions for users when users want to perform certain actions.

Available Authorization Providers

Custom Authorization Providers

If you wish to write a custom authorization provider for blojsom, you must implement the AuthorizationProvider interface. You can find more information about this interface from the AuthorizationProvider javadoc API.

After writing a custom authorization provider, you will need to make it available in /WEB-INF/classes/blojsom.xml under the authorizationProvider bean ID.

<!-- Authorization provider -->
    <bean id="authorizationProvider" class="my.custom.namespace.CustomAuthorizationProvider"
          init-method="init">
    <!-- Any properties would be set as here and can use other blojsom components as required -->        
    </bean>

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