Category Archives: Tutorial

Tutorial web development (with JSF) XV – Security with JDBCRealm

Ok, we secured our JSF web application by using a JSF form. The user information is still stored in a flat text file. But as stated before, your application server provides more. This lesson, we move forward to GlassFish’s JDBCRealm, … Continue reading

Posted in NetBeans, Programming, Tutorial, Web development | Leave a comment

Tutorial web development (with JSF) XIV – Security Part III

Now, after we’ve addressed basic log-in with simple file realm, I want to move on by exchanging the authentication method. Remember, this tutorial is about web development with JavaServer Faces. All I showed for container based security so far, is … Continue reading

Posted in NetBeans, Programming, Tutorial, Web development | Tagged , , , , , , | Leave a comment

Tutorial web development (with JSF) XIII – Security Part II

In this part of the security trail, we start with Basic Authentication and fileRealm. For some basic background information, please refer to the former part. To secure the TinyCalutor, we need to add a security constraint to web.xml.

Posted in NetBeans, Programming, Tutorial, Web development | Leave a comment

Tutorial web development (with JSF) XII – Security Part I

Sometimes it is crucial to protect an application or data against unauthorized access. Although there is no need to secure my tiny calculator, I’m going to demonstrate the principals of container based security by using this small app. For a … Continue reading

Posted in NetBeans, Programming, Tutorial, Web development | Tagged , , , , | Leave a comment

GlassFish 4 and UTF-8

Do you build web applications with JSF and GlassFish? And do you need to process inputs with characters which are coded with multi-bytes using UTF-8, e.g. German Umlauts? You might have recognized a strange behavior if you use GlassFish 4. … Continue reading

Posted in NetBeans, Tutorial, Web development | Tagged , , | Leave a comment