Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-16 Thread mauro2java2011
3) if i create a custom LoginModule, i have to put the classes into the war or into the tomee/lib? i have founf many tutorial but develop the custom loginmodule into the web application . SO i am confused . 4) from http://sysmagazine.com/posts/183550/ i read:

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-16 Thread mauro2java2011
3) if i create a custom LoginModule, i have to put the classes into the war or into the tomee/lib? i have founf many tutorial but develop the custom loginmodule into the web application . SO i am confused . 4) from http://sysmagazine.com/posts/183550/ i read:

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-16 Thread Romain Manni-Bucau
You can put it in your app 5) create a sample to test you ll gain time ;) Le 16 mai 2015 14:26, mauro2java2011 mauro2java2...@gmail.com a écrit : 3) if i create a custom LoginModule, i have to put the classes into the war or into the tomee/lib? i have founf many tutorial but develop the custom

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-16 Thread Romain Manni-Bucau
Le 16 mai 2015 12:05, mauro2java2011 mauro2java2...@gmail.com a écrit : Configure JAAS i read from tomee web pages: *Configuration Add to your CATALINA_OPTS the java.security.auth.login.config system property: -Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config* but from

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-16 Thread mauro2java2011
Configure JAAS i read from tomee web pages: *Configuration Add to your CATALINA_OPTS the java.security.auth.login.config system property: -Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config* but from other web sites i read : JAVA_OPTS=$JAVA_OPTS

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-15 Thread Romain Manni-Bucau
https://tomcat.apache.org/tomcat-7.0-doc/config/listeners.html#Security_Lifecycle_Listener_-_org.apache.catalina.security.SecurityListener https://tomcat.apache.org/tomcat-7.0-doc/config/realm.html#JAAS_Realm_-_org.apache.catalina.realm.JAASRealm Le 15 mai 2015 00:57, mauro2java2011

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-15 Thread Romain Manni-Bucau
You are right Feel free to edit the page Le 15 mai 2015 19:30, mauro2java2011 mauro2java2...@gmail.com a écrit : please a last thing: from the page of tomee jaas http://tomee.apache.org/tomee-jaas.html http://tomee.apache.org/tomee-jaas.html i read: Add to your CATALINA_OPTS the

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-14 Thread mauro2java2011
Listener className=org.apache.catalina.security.SecurityListener / The listener abovei have to put into server.xml or for each context.xml into each war file ? -- View this message in context:

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-14 Thread Jean-Louis Monteiro
You can define the jaas realm for each Web app, in the context.Xml file for instance. Make sure to define a different app name for everyone and to have the corresponding jaas.config entry. Le 14 mai 2015 15:27, mauro2java2011 mauro2java2...@gmail.com a écrit : Listener

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-14 Thread mauro2java2011
JaasRealm has a configFile option  supporting to read a jaas config from war classloader  What it is ? A example? -- View this message in context:

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-14 Thread mauro2java2011
But please *Listener className=org.apache.catalina.security.SecurityListener /  * what work it run? It is other that jass? -- View this message in context:

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-14 Thread mauro2java2011
Please a example with a login.config file with 2 or 3 different *PropertiesLoginModule name ? * And another for get login.config from the war? Read from roain response above -- View this message in context:

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-14 Thread Romain Manni-Bucau
Server.xml but it has no link with jaas. JaasRealm has a configFile option supporting to read a jaas config from war classloader Le 15 mai 2015 00:27, mauro2java2011 mauro2java2...@gmail.com a écrit : Listener className=org.apache.catalina.security.SecurityListener / The listener abovei have

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-14 Thread mauro2java2011
Please a 3xample with 2 obtre different configuration? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/how-modify-the-login-config-file-for-get-3-jaas-different-for-3-web-different-apps-tp4674820p4674824.html Sent from the TomEE Users mailing list archive at