Plugins You can find out about all the publicly available Grails plugins.

Federated Grails plugin

  • Tags: /
  • Latest: 0.6.0
  • Last Updated: 17 September 2013
  • Grails version: 2.2.4 > *
0 vote
compile "org.grails.plugins:federated-grails:0.6.0"

 Documentation  Source  Issues


For application developers Federated environments can be somewhat daunting and complex.

This plugin allows Grails applications (particuarly those protected by Shibboleth service providers ) to easily integrate into federated authentication.

The plugin utilizes Shiro as its internal authentication and access control layer.


grails install-plugin federated-grails


Federated Grails

Allows Grails applications to easily integrate to federated authentication sources particuarly those served by Shibboleth service providers.

Utilizes Apache Shiro as an underlying mechanism so serves managing access control requirements equally as well. I recommend you read the Shiro documentation before continuing to get a feel for how this plugin operates -


  • Subject - Security specific view of an entity capable of being authenticated to an application. It can be a human being, a third-party process, a server etc. Also referred to as ‘user’.
  • Principal - A subjects uniquely identifying attribute. This is generally mapped to the federation attribute eduPersonTargetedID. For non federated applications this is commonly referred to as a ‘username’
  • Credentials - Data used to verify identity at session establishment. For integrators this is the associated SAML assertion and is represented by a unique internal sessionID. For non federated applications this is usually a ‘password’
  • Attributes - A subjects identifying attributes. Names, email, entitlements etc.For non federated applications these need to manually entered. For federated applications they are in many cases automatically supplied.
Source and further doco available at: