我有一個名爲Profile的域類。我想在下面的代碼來訪問它的屬性:Grails在訪問域對象屬性時警告安全問題
Profile p = new Profile()
// doing some changes
p.name = 'Larry'
//....
p.save(flush:true)
// then I print out the properties, and this line of code raises warning.
print p.properties
然後下面的警告信息顯示出來:
WARN security.Security - An attempt was made to use the grailsSecurity bean, but there is no security bridge implementation defined. You must install a security plugin and/or provide a grailsSecurityBridge bean.
我有一個彈簧安全插件。所以我不太確定這個安全問題的含義。一個不同的安全插件?
我找不到與此問題有關的任何信息。請有人幫助我嗎?謝謝!