Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

How to configure EJB security in a web application?

$
0
0

web.xml:

BASIC
file

glassfish-web.xml:

admin
admin


user
user

The role based security works well in web tier, e.g. JSF backing beans, but doesn't work in EJB tier. I also tried to add a glassfish-ejb-jar.xml, but it didn't help. Isn't the credential automatically propagated from web tier to EJB tier? Or do I miss any configurations?


Viewing all articles
Browse latest Browse all 1091

Trending Articles