I want to implement and use my Custom Principal Class beacuse I want to add him an extra param ( a group in which his role is mapped). But I have a problem I don't know where to instantate it .
Can sombody show me where is the place to put it. I've tried in the Custom Login Module I use ( extending UsernamePasswordLoginModule) in the getTolesSet in which for every role is Creating a Principal.
I'm using jboss-3.2.0_tomcat-4.1.24.