Grails Spring Security Core Plugin :authentication not required for controller -


i have

  • grails 2.0.4
  • spring-security-core:1.2.7.3

i want expose controller web service. (this methods called php application out side domain)

example controller :

 def getanimaljson(){     def animallist  = animal.list()     render "${params.callback}(${animallist json})" } 

if logged in grails application, method call successful php application when logged out fails.

i want controller not checked spring securitycore..

thanks helping ..

without annotation should allowed. did annotate @ controller level? or using requestmaps or config.groovy map? if you're using annotations can add method

@secured('permitall') 

and won't guarded. same thing requestmap or in config.groovy if you're using different approach.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -