Skip to main content

Multiple security realms

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2012-06-09

I have deployed two applications onto the glassfish server, each of which uses its own security realm (file, jdbc). The problem is that the glassfish allows only one default realm to be set which results in only one application to be functional at a time. I'm a newbie with the glassfish so I might be missing something fundamental or should approach this problem differently (do I need a separate domain for each of mine applications to be able to set the security with specific realm?).

Any suggestions would be appreciated.

Thank you.