You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Saskia Heesen <sa...@gmx.de> on 2006/10/03 20:34:15 UTC

Cocoon Auth - ApplicationUtil.isUserInRole

Hello,

I am using Cocoon 2.1.10 dev. In the class ApplicationUtil, there are static and non-static methods for each item, except isUserInRole. Is this correct? The type of isUserInRole(user, role, objectModel) was static boolean in cowarp-0.5, too.

Application 	getApplication()
static Application 	getApplication(java.util.Map objectModel)
java.lang.Object 	getData()
static java.lang.Object 	getData(java.util.Map objectModel)
User 	getUser()
static User 	getUser(java.util.Map objectModel)
boolean 	isUserInRole(User user, java.lang.String role)
boolean 	isUserInRole(User user, java.lang.String role, java.util.Map objectModel)

Kind regards

 Saskia


-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org