<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>butonic.de - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-4c0fae2d" type="application/json"/><link>http://butonicde.disqus.com/</link><description>Some adventure for fame, others for gold. Me, I just like to model code.</description><atom:link href="http://butonicde.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 10 May 2012 13:10:31 -0000</lastBuildDate><item><title>Re: A simple JAX-RS security context example in GlassFish</title><link>http://www.butonic.de/2010/06/18/a-simple-jax-rs-security-context-example-in-glassfish/#comment-525580611</link><description>&lt;p&gt;Nice and simple example Jorn. A question regarding further authorization checks:&lt;/p&gt;

&lt;p&gt;public Response deleteRating( @PathParam("id") int id, @Context SecurityContext context ) {&lt;br&gt;    String username = context.getUserPrincipal().getName();&lt;br&gt;    // code here: check if he is the owner of the rating&lt;br&gt;    // code here: deny the request or&lt;br&gt;    // code here: delete the rating&lt;br&gt;}What would be really nice is to lift the check for whether it is the OWNER of the rating is indeed the one performing DELETE or the ADMINISTRATOR, outside the method. I see that as a part of authorization that is not solved entirely by @RolesAllowed  annotation. I was thinking something along lines of another Annotation that could take the SecurityContext and perform some user defined check and return 403, if necessary. That would keep the business logic separate from all Authorization checks. Any suggestions on how to accomplish that?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sreeram duvur</dc:creator><pubDate>Thu, 10 May 2012 13:10:31 -0000</pubDate></item><item><title>Re: A simple JAX-RS security context example in GlassFish</title><link>http://www.butonic.de/2010/06/18/a-simple-jax-rs-security-context-example-in-glassfish/#comment-380243470</link><description>&lt;p&gt;This is a really good example, but i also need a client for that in Java and i don`t know how to pass username and password in client, can you help me with that, do you have a working example ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jani</dc:creator><pubDate>Tue, 06 Dec 2011 08:03:04 -0000</pubDate></item><item><title>Re: A simple JAX-RS security context example in GlassFish</title><link>http://www.butonic.de/2010/06/18/a-simple-jax-rs-security-context-example-in-glassfish/#comment-267451938</link><description>&lt;p&gt;Really nice description to setup the Realm. Thanks for that.&lt;/p&gt;

&lt;p&gt;Daniel&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel</dc:creator><pubDate>Mon, 18 Apr 2011 09:22:09 -0000</pubDate></item><item><title>Re: What is it with me and girls &amp;#8230;</title><link>http://www.butonic.de/2007/11/28/what-is-it-with-me-and-girls/#comment-267451923</link><description>&lt;p&gt;Persistence? ...well, well. &lt;/p&gt;

&lt;p&gt;Any way... it's good to know you :-)&lt;/p&gt;

&lt;p&gt;Big kisses, Alex&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandra</dc:creator><pubDate>Tue, 12 Feb 2008 18:32:00 -0000</pubDate></item><item><title>Re: Using Cosmo / Bedework CalDAV with Evolution</title><link>http://www.butonic.de/2007/02/08/using-cosmo-bedework-caldav-with-evolution/#comment-267451894</link><description>&lt;p&gt;Any news in your Evolution + CalDav server experiments? I tried Evolution (2.10.1) in Ubuntu (7.04) myself to collaborate with the Bedework server. It failed: Evolution crashed when changing to the calendar view after I added a CalDav calendar wit URL to my Bedework server.&lt;/p&gt;

&lt;p&gt;I also tried Cosmo but that failed, too: Evolution just displayed nothing although I entered some test events in Cosmo's webinterface and pointed Evolution to the corresponding CalDav URL.&lt;/p&gt;

&lt;p&gt;In Cosmo's Bugzilla I found &lt;a href="https://bugzilla.osafoundation.org/show_bug.cgi?id=9813" rel="nofollow"&gt;https://bugzilla.osafoundation...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In Evolution's Bugzilla there seems to be just _three_ (3!) bugs for the CalDav plugin which seems to reflect the bad state of that component correctly :-(.  &lt;a href="http://bugzilla.gnome.org/buglist.cgi?query_format=advanced&amp;amp;short_desc_type=allwordssubstr&amp;amp;short_desc=&amp;amp;product=Evolution-CalDAV&amp;amp;long_desc_type=substring&amp;amp;long_desc=&amp;amp;status_whiteboard_type=allwordssubstr&amp;amp;status_whiteboard=&amp;amp;keywords_type=allwords&amp;amp;keywords=&amp;amp;bug_status=UNCONFIRMED&amp;amp;bug_status=NEW&amp;amp;bug_status=ASSIGNED&amp;amp;bug_status=REOPENED&amp;amp;bug_status=NEEDINFO&amp;amp;emailassigned_to1=1&amp;amp;emailtype1=substring&amp;amp;email1=&amp;amp;emailassigned_to2=1&amp;amp;emailreporter2=1&amp;amp;emailqa_contact2=1&amp;amp;emailcc2=1&amp;amp;emailtype2=substring&amp;amp;email2=&amp;amp;bugidtype=include&amp;amp;bug_id=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;cmdtype=doit&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=" rel="nofollow"&gt;http://bugzilla.gnome.org/bugl...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jonek</dc:creator><pubDate>Fri, 19 Oct 2007 16:42:00 -0000</pubDate></item><item><title>Re: Using Cosmo / Bedework CalDAV with Evolution</title><link>http://www.butonic.de/2007/02/08/using-cosmo-bedework-caldav-with-evolution/#comment-267451889</link><description>&lt;p&gt;Sorry, nothing new. I hope to find some time to try this again in June ...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jörn Dreyer</dc:creator><pubDate>Fri, 27 Apr 2007 11:06:00 -0000</pubDate></item><item><title>Re: Using Cosmo / Bedework CalDAV with Evolution</title><link>http://www.butonic.de/2007/02/08/using-cosmo-bedework-caldav-with-evolution/#comment-267451886</link><description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I trying to use bedework as well. I got the above error the first time, but blanks screens after that.&lt;/p&gt;

&lt;p&gt;Have you found out any more about this?&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jamie</dc:creator><pubDate>Fri, 27 Apr 2007 10:43:00 -0000</pubDate></item></channel></rss>
