简体   繁体   中英

how to provide authorisation to grails services using xfire plug in to grails spring security based application?

I have grails app using spring security plugin,i need to expose some of its services as web services so using xfire plugin,How can i give security to these services?,

With advance thanks, Swati

I do not know, whether the xfire plugin itself has capabilities to be wired with the spring security plugin. However you can explain the spring security plugin to always require authentication or to require authentication for specific URLS, just like /xfire-interface/**. See

  1. http://burtbeckwith.github.com/grails-spring-security-core/docs/manual/guide/single.html#5.2%20Simple%20Map%20in%20Config.groovy and
  2. http://burtbeckwith.github.com/grails-spring-security-core/docs/manual/guide/5%20Configuring%20Request%20Mappings%20to%20Secure%20URLs.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM