Java

Today i fixed up 2 releases: AuthenticRoast 0.3.2 and ViewNControl 0.2.0

Both of them are feature releases, AuthenticRoast can now manage the authentication of users across contexts, so you can now have one webapp authenticate the user for another webapp running in the same container.

ViewNControl 0.2.0 adds basic mouse and keyboard input, which makes it actually almost usable! ;-)

Over the last few months a few features and bug-fixes have piled up for AuthenticRoast, so i decided it's finally time for a new release.

A while back i worked on a way to access VNC-sessions without requiring anything but a recent browser. This was just a proof-of-concept for a project that never went live. But it does work pretty good without bigger delays.

Today i finally went ahead and created a project on Google code for it. If you like check it out: http://code.google.com/p/viewncontrol/

After having spent some time working with Suns JAX-RS implementation Jersey and integrating RESTful-services in a few products i work on, i thought it might be a good idea to share my experiences.

So i decided to write a few blog-posts. I am not sure yet how many parts there will be, my current plan are 3. In this first part i want to talk about the "trivial" things. It took me some time to gather all the information i needed, especially the Maven artifacts to include were not obvious to me.

Problems with f:param inside h:outputLink

Posted on June 5th, 2009
Keywords:

There seems to be some weird issues with f:param inside h:outputLink. The first issue is "&" in param-values not being properly escaped, leading to completely wrong values on the receiver side.
The second seems a little more complex. If the value contains "--" (2 dashes) only the text of the link will be written to the page (no a-tag whatsoever).

This is on Suns JSF RI. If anybody knows anything about these issues i'd appreciate to hear about it!

:-)

Tomcat and UTF-8

Posted on May 1st, 2009

There's quite a few threads and pages about utf and tomcat out there, some mentioning URIEncoding in the cofig, others talking about an encoding-filter... None of which worked for me, entering special characters (in this case: umlaute) into a textarea gave me cryptic characters in my jsf-bean!

As it turns out, when the encoding-filter was invoked, it was already too late to change the request-encoding, the request object was already accessed in my very own authenticator-valve, making every later change useless!

Better support for "small" phones!!

Posted on October 20th, 2008
Keywords:

Another week, another release... This time for my very simple (aka feature-less) poker blinds timer!
I changed the artwork a little, but the main changes are making this actually work on smaller screens. It is now really usable on my K750i, so it might just be working on others as well.

As always, get it here: BlindsWatching! And if you like feel free to tell me, others or contribute! ;-)

Now also for plain Tomcat...

Posted on October 13th, 2008

It's finally time for a new release of AuthenticRoast. And this time it includes a Tomcat-valve to make it possible to be used in plain Tomcat.

Installation instructions for this will follow soon! :-)

Go and get it: AuthenticRoast!

Authentication in Glassfish revisited - JSR-196

Posted on March 9th, 2008
Keywords:

Thanks to Ron Monzillo i found out about JSR 196 and how its supposed to make custom authentication a lot easier in Glassfish. So i had a look at the specs and yes, it does exactly whats been missing before.

It wasnt that easy to find docs about some parts of it, but i might just not have looked at the right places. It was still fairly easy to migrate my existing code to this api and within just a few hours everything was running just fine! :-)

Services / Products