1. Introduction

GR8 CRM is a set of Grails Web Application Framework plugins that makes it easy to develop web applications with CRM functionality.

You can find more information about GR8 CRM on the main documentation site http://gr8crm.github.io.

1.1. Customer relationship management

Customer relationship management (CRM) is a system for managing a company’s interactions with current and future customers. It involves using technology to organize, automate and synchronize sales, marketing, customer service, and technical support. Wikipedia

The GR8 CRM "Ecosystem" currently contains over 40 Grails plugins. For a complete list of plugins see http://gr8crm.github.io.

Each GR8 CRM plugin defines a Bounded Context that focus on one specific domain, for example contact, project or document.

2. Apache Shiro Security Plugin

The crm-security-shiro plugin is a sub-plugin to crm-security. It implements application security using the Apache Shiro web security framework.

This plugin adds one domain class to the application. ShiroCrmUser contains the username and hashed/salted password for each application user.

3. AuthController

This controller have login() and logout() actions that are called when users login and logout of the application.

4. ShiroDbRealm

This realm is used when a user tries to login to the application. The database is queried for the user and password is checked.

5. Configuration

No configuration needed for this plugin.

6. Changes


Fixes problem with no Hibernate session when using basic authentication


Apache Shiro 1.2.1 includes an incompatible version of quartz, it’s now excluded in BuildConfig.groovy


First version compatible with Grails 2.4.4.


First public release

7. License

This plugin is licensed with Apache License version 2.0

8. Source Code

The source code for this plugin is available at https://github.com/goeh/grails-crm-security-shiro

9. Contributing

Please report issues or suggestions.

Want to improve the plugin: Fork the repository and send a pull request.