Thx Marvin...
I have now setup CAS on my local environment with Spring Security
in the application.
I am getting the following exception , I am using Spring Security with CAS
cas-server-webapp-3.3.3 :
[INFO,ContextLoader,main] Root WebApplicationContext: initialization completed
in 833 ms
[WARN,SingleSignOutFilter,main] javax.naming.NameNotFoundException: Name cas is
not bound in this Context
javax.naming.NameNotFoundException: Name cas is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at
org.jasig.cas.client.util.AbstractConfigurationFilter.loadFromContext(AbstractConfigurationFilter.java:77)
at
org.jasig.cas.client.util.AbstractConfigurationFilter.getPropertyFromInitParams(AbstractConfigurationFilter.java:56)
at
org.jasig.cas.client.session.SingleSignOutFilter.init(SingleSignOutFilter.java:41)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
--Alok.
-----Original Message-----
From: Marvin Addison [mailto:[email protected]]
Sent: Monday, September 14, 2009 6:06 PM
To: [email protected]
Subject: Re: [cas-user] CAS deployed on tomcat and accessed through apache over
SSL.
> If I have Apache routing all the requests to my CAS webapp
> deployed on tomcat , is it ok to have Apache over SSL and tomcat over http.
This sounds like the typical Apache reverse proxy setup for Tomcat.
In that case it's probably more common to use the AJP protocol instead
of HTTP, but I can't think of any particular problem with your
proposed setup provided you trust the network between the Apache and
Tomcat hosts. As long as the client/browser thinks it is talking
HTTPS to the CAS server, everything should work fine.
M
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user