Authentication in JSF2 with JAAS: Part 2 – Authenticating a client/user

The second part of the series covers the basics needed to understand authorization in a JavaEE application based on the principles provided by JAAS and how they apply in modern, JavaEE based web applications. The user is thought, how to configure his web-application to use role-based authorization and authenticate against a specific realm.

Using German Umlauts / Umlaute in JSF/JSF2

If you happen to localize your JSF Web-Application to German, you’ll probably have problems displaying German Umlauts ( äÄ, ö Ö, ü Ü, ß) in your page. How to resolve this? Encode the umlauts with their Unicode code in your message-bundle like this ä = \u00e4 Ä = \u00c4 ö = \u00f6 Ö =\u00d6 ü […]

Validating Email Addresses with JSF2, Ajax + Bean Validation

Recently, I was looking for a way, to validate Email-Addresses with JSF. I came accross this blog post on java.net: Validating an Email Address in JSF It shows, how this would have been done in the old JSF 1.1/1.2 ways… But we’re in 2010 and do it now the following way: 1 2 3 4 […]

Feeling like home in Xubuntu: Gentoo colors!

Geekscrap posted what one needs to change to feel like home in [X|K|Ed]ubuntu, at least if we’re talking about the beautiful colors, Gentoo users like the most! http://geekscrap.com/2010/01/gentooize-part-1-colorize-console/ or, if the site does not load, try it with the cached version cache:http://geekscrap.com/2010/01/gentooize-part-1-colorize-console/