Hi

since several versions of tomee there is an in between solution.
Understand by 'in between' than if login is done from the request it
is usable otherwise no: JAASRealm supports configFile attribute. So
you can set it by context changing the realm by context (or in
META-INF/context.xml)


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2014-12-17 12:09 GMT+01:00 mauro2java2011 <[email protected]>:
> I know that for use jaas i have to put into tomee/conf dir a file
> configuration.
>
> and i set;:
>
> Add to your CATALINA_OPTS the java.security.auth.login.config system
> property:
>
> -Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config
>
> but i think:
>
> So i can use only a configuration of all web apps.
>
> If i have many web apps with own jaas implementation , how i can set many
> login.config for each web apps?
> the system properties key still remain -Djava.security.auth.login.config
>
> i not can configure thesystem properti e with -
> Djava.security.auth.login.config int oMETA-INF/conf or web.inf/conf with
> login1.configuration for web app 1 , login2.configuration for web app 2 .
>
> i would configure the jaas for eaxch web app with own jaas configuration for
> each web apps.
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/configure-JAAS-for-each-web-apps-individually-tp4673233.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to