I have
- Grails 2.0.4
- spring-security-core:1.2.7.3
i want to expose some controller as web service. (this methods will be called from php application out side the domain)
Example controller :
def getAnimalJson(){
def animalList = Animal.list()
render "${params.callback}(${animalList as JSON})"
}
if i logged in grails application, method call is successful from php application but when logged out it fails.
i want to this controller not be checked by spring securitycore..
thanks for helping ..