In our system, we have a Role object that has Permission objects. These permissions are what we return as "roles".
Components and pages are marked with these Permissions, like "SYS", or "CONTRACTOR", or "READ/WRITE". Hope this help. Regards, On 10/17/07, Maurice Marrink <[EMAIL PROTECTED]> wrote: > > Can't you create a role that implies all the other roles and then > specifically check for that role? > > Maurice > > On 10/17/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > The wicket-auth project is intended more like an example then a full > > fledged project. Best thing you can do is just copy the things you > > need in your own project and tailor for your needs. > > > > Eelco > > > > > > On 10/10/07, Artur W. <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I use MetaDataRoleAuthorizationStrategy.authorize but it authorize if > user > > > has ANY of the roles. > > > It's ok, but sometimes I need to authorize when user has ALL the > roles. > > > > > > It is possible? > > > > > > > > > Thanks, > > > Artur > > > > > > -- > > > View this message in context: > http://www.nabble.com/authorize---hasAny---hasAll---tf4600532.html#a13135051 > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Bruno Borges Summa Technologies www.summa-tech.com 55 11 85657739 / 55 11 30552054 "The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld
