2010-03-03 52 views
0

我有以下事件偵聽器在SecurityConfigGrails和ACEGI安全插件 - 如何阻止從安全事件監聽器中登錄?

安全{

活性=真 useSecurityEventListener =真

// ...

onInteractiveAuthenticationSuccessEvent = {E,appCtx - > //句柄InteractiveAuthenticationSuccessEvent

//how to cancel user login from here?? 

}

}

的問題是,如何從從聽衆登錄停止用戶?

謝謝。

+0

嘗試在Grails用戶組中提問您的問題http://www.grails.org/Mailing+lists – Lucas 2010-03-03 12:49:38

回答

0

代碼判斷戴夫,有沒有辦法以編程方式做註銷acegi插件?