Well, yes.  ADMIN and USER are just string constants of no particular
significance.  You can use any strings you want without changing the source
code.


Matt Welch wrote:
> 
> I'm trying to use wicket-auth-roles for authentication and authorization,
> but there are a few things I'm not quite understanding. I really like the
> annotation base authorization, but the two provided roles (ADMIN and USER)
> are nowhere near enough to cover our use cases. I'm sure that this is a
> common problem so I'm guessing that I'm missing something obvious with
> regards to adding more roles or replacing the existing Roles class with
> our
> own. Roles is final so I can't extend it directly and replacing it with
> our
> own implementation seems out of the question as well because it renders
> useless all of the existing convenience class around annotations and
> authorization that utilize the provided Roles class directly.
> 
> So, am I missing something?
> 
> Matt
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Adding-more-roles-to-wicket-auth-roles-tf3204288.html#a8918973
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to