What do I have to do to have a secure access and one that is not under credentials.
I have a LoginSession and a SecureSession and recurity domain is java:/jaas/MyDomain ..
When I add tag <security-domain>java:/jaas/MyDomain</security-domain> to jboss.xml file I'm no more able to get LoginSession because jboss says that principal=null, but obviosly I'd like to set principal from LoginSession.