Hi Matt,

I could chip in some assistance here if you wish.

So far I have been able to integrate this roles model with acegi, of course
I cannot share the code per se, but I could extract some basic examples of
how we approached it.

Be warned that it may not be the most elegant solution, but it could be a
start or basis for discussion.

De.


Matt Welch wrote:
> 
>>From my perspective, what would be most useful would be some documentation
> beyond the auth-roles example regarding implementing custom authentication
> and authorization schemes. Now that I have some experience, perhaps I'll
> take a stab at that myself, however I'm still completely new to Wicket, so
> I'd really appreciate some oversight and review to correct my mistakes
> once
> I have something written. Is the wiki is the right place for this? Any
> particular section of the wiki?
> 
> Matt
> 
> 
> On 2/11/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> yeah.  i hear ya and i agree in general.  but if there i something simple
>> and straightforward we could do to make the existing code more broadly
>> applicable or extensible somehow, why not at least put in an RFE to
>> consider
>> it?
>>
>>
>> igor.vaynberg wrote:
>> >
>> > i dont know if its worth doing this. the truth of the matter is that
>> most
>> > apps have very different authorization schemes. i think what you will
>> end
>> > up
>> > doing is creating something so generic it is convoluted, take a look at
>> > acegi - they tried to do that. i think we are better off with a concise
>> > and
>> > simple example of a specific authorization scenario that will give our
>> > users
>> > ideas on how to build their own.
>> >
>> > -igor
>> >
>> >
>> > On 2/11/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >> it's been a long time since i worked on this code, so i don't recall
>> the
>> >> details that well.  if there are specific things we could do to make
>> >> wicket-auth-roles more reusable right out of the box, i think we
>> should
>> >> consider them... please feel free to file an RFE if you have a
>> specific
>> >> idea
>> >> of what would be good here.
>> >>
>> >>
>> >> Matt Welch wrote:
>> >> >
>> >> > Well, yes(and I could certainly be making this harder than it really
>> >> is)
>> >> > but
>> >> > that doesn't seem to alleviate the issue with all of the classes in
>> >> that
>> >> > use
>> >> > the Roles class explicitly.
>> >> >
>> >> > In any case, I took Igor's suggestion and used the great work in
>> >> > wicket-auth-roles as a guide and created something more specific to
>> our
>> >> > project's exact needs. It was a good learning experience for me to
>> >> write
>> >> > some of my own annotation interfaces and I ended up with something
>> that
>> >> > fits
>> >> > our domain model well.
>> >> >
>> >> > On 2/11/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >>
>> >> >> 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.
>> >> >>
>> >> >
>> >> >
>> >>
>> -------------------------------------------------------------------------
>> >> > 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#a8919115
>> >> 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
>> >>
>> >
>> >
>> -------------------------------------------------------------------------
>> > 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#a8919211
>> 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
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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#a9009754
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to