Yes, all of the apps are in the same Host.

Here is my server.xml file:

<?xml version='1.0' encoding='utf-8'?>
<Server port="9085" shutdown="SHUTDOWN">

  <Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
  <Listener className="org.apache.catalina.core.JasperListener" />
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
/>
  <Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />

  <GlobalNamingResources>

    <Resource name="jdbc/ds_usuarios_jaas_Local"
              auth="Container"
              description="BBDD MySQL 5.0 donde se almacenan los grupos de
usuarios."
              driverClass="com.mysql.jdbc.Driver"
              factory="org.apache.naming.factory.BeanFactory"
              type="com.mchange.v2.c3p0.ComboPooledDataSource"
              maxPoolSize="20"
              minPoolSize="10"
              initialPoolSize="10"
              maxStatementsPerConnection="5"
              acquireIncrement="1"
              user="xxxxx"
              password="xxxxx"

jdbcUrl="jdbc:mysql://localhost:3306/usuarios?autoReconnect=true"
              checkoutTimeout="5000"
              preferredTestQuery="select 1"
              idleConnectionTestPeriod="900"
              unreturnedConnectionTimeout="120"
              debugUnreturnedConnectionStackTraces="true"
    />

  </GlobalNamingResources>

  <Service name="Catalina">

    <Connector port="9080"
               redirectPort="9483"
               protocol="HTTP/1.1"
               connectionTimeout="20000"
               enableLookups="false"
               disableUploadTimeout="true"
               URIEncoding="UTF-8"
                />

    <Connector port="9483"
               protocol="HTTP/1.1"
               SSLEnabled="true"
               enableLookups="false"
               disableUploadTimeout="true"
               maxThreads="150"
               scheme="https"
               secure="true"
               clientAuth="false"
               sslProtocol="TLS"
               URIEncoding="UTF-8"

keystoreFile="C:/java/servidores/tomcat-6.0-nb/conf/ssl/ClavePublicaTomcatSSL"
               keystorePass="tomcatpwd" />


    <Engine name="Catalina" defaultHost="localhost">

      <Realm className="org.apache.catalina.realm.JAASRealm"
             resourceName="jdbc/ds_usuarios_jaas_Local"
             appName="Usuarios"

userClassNames="org.sescam.chua.AutenticacionTomcatChua.UsuarioChuaLDAP"

roleClassNames="org.sescam.chua.AutenticacionTomcatChua.GrupoChuaPrincipal"/>

      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="false"
            xmlValidation="false" xmlNamespaceAware="false">

        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />


      </Host>
      <Valve className="org.apache.catalina.valves.RemoteAddrValve"

allow="127.0.0.1,10.36.135.108,10.36.134.205,10.36.135.106,10.36.135.107,10.36.131.189,10.36.132.219"/>
    </Engine>
  </Service>
</Server>

Mariano

2010/6/9 Pid <p...@pidster.com>

> On 09/06/2010 11:01, Mariano López wrote:
> > Actually when a user logs out from appliacation there is a context that
> > contains the login page and the logout page. The logout page execute
> > 'session.invalidate();' for closing session in this context.
> >
> > The server is configured with SingleSignOn valve, the context that
> > contains login and logout page has menu systems for access all the pages
> > for the user, this pages are located in differents context on this
> server.
> >
> > If I logout from my session when execute 'session.invalidate();' tomcat
> > only close the session from login and logout page context, not for the
> > rest, and i want to finalize the session in the rest of the contexts in
> > the server.
> >
> > I hope that this explain better what I am trying to say.
>
> OK.
>
> Are all of the apps in the same Host?
>
> Please remove all comments & obscure any passwords from your server.xml
> file and post it inline here.
>
>
> p
>
>
> > Regards
> >
> > Mariano
> >
> > 2010/6/9 Pid <p...@pidster.com <mailto:p...@pidster.com>>
> >
> >     On 08/06/2010 11:05, Mariano López wrote:
> >     > Hello all, I like to know how to finalize all sessions in a server
> >     with
> >     > SingleSignOn valve activated.
> >     >
> >     > When I finalize the current session user when logs out only close
> the
> >     > session in this context, the rest remains its sessions for this
> user.
> >
> >     How exactly are you "finalizing" the current session, and do you
> >     actually mean to "invalidate" the session instead?
> >
> >
> >     p
> >
> >     > Tomcat 6.0.26
> >     >
> >     > Regards,
> >     >
> >     > Mariano
> >     >
> >
> >
> >
>
>
>

Reply via email to