title: Using Grails Spring Security Saml Plugin
body: <p>I am trying to use <a href="https://grails.org/plugin/spring-security-saml" rel="nofollow noreferrer">Grails Spring Security Saml Plugin</a> in grails app to have single sign on functionality, I have tried hard to find any example which have explanation of the steps I need to do for adding this plugin and then testing this in my local environment using mock IDP and SP but haven't found anything beside the <a href="http://sphoortia.github.io/grails-spring-security-saml/docs/guide/index.html" rel="nofollow noreferrer">Grails Spring Security Saml Plugin Documentation</a> which only helps in adding the plugin in the app and configuring its different properties.</p>
  
  <p>Can anyone suggest the steps how I can complete this plugin integration and test it in my local environment using mock IDP and SP?</p>
  
  <p>I have added following in my BuildConfig.groovy</p>
  
  <pre><code>dependencies {
  ...
      compile ("org.springframework.security.extensions:spring-security-saml2-core:1.0.1.RELEASE") {
          export = false
          excludes 'spring-security-core'
          excludes 'spring-security-web'
      }
  ...
  }
  
  plugins {
  ...
      compile ':spring-security-saml:2.0.0'
  ...
  }
  </code></pre>