Article

JBoss and security

JBoss implementaiton of security is JBossSX. It both supports declarative J2EE (JEE) and role-based security model. Default implementation for declarative security model is JAAS. Declarative: you declare the security roles and permissions using a standard XML message, rather than embedding in your code. Secure access to EJBs and web components using ejb-jar.xml and web.xml deployment… Continue reading JBoss and security

Article

Eclipse Project Red Exclamation Mark

This is something bothering me for a long time. I was working in a project dealing with several dependencies. After some reboots I got an exclamation mark next to the java project, like this one. There are no notes or suggestions on what is going wrong. Cleaning the projects won’t work either. After some research, I have figured… Continue reading Eclipse Project Red Exclamation Mark

Article

Bashrc, Bash_profile & how to change shell color in linux

There is a difference between bashrc and bash_profile in different distributions of Linux. You might need to specifically find out about the distribution you are working with. Generally difference between them are as follow: According to the bash man page, .bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells. (more)… Continue reading Bashrc, Bash_profile & how to change shell color in linux

Article

JAAS Notes

Java Authentication and Authorization Service, or JAAS, pronounced “Jazz” Configuration files for JAAS *.login.conf (e.g. form login) *.policy (which identity grant which permission) LoginModule (interface) LoginContext (Class) Kick off authentication process by creating a subject (if no subject passed to it will create a new one) Subject e.g. user, resource, system, … Principal Face of… Continue reading JAAS Notes