Hi! I want to add a custom SSO service (very similar to CAS) but I don't know how to implement it.
First, I thought to use the authorize pipeline mecanism inside Jahia; thus, I implemented an SSOValve like the Cas example that already exist in Jahia 4.1.1. But now I am not sure that is the right way... What do you think ? Maybe using filter is another solution, like you have done it. Thank you! Fabrice Marchon > -----Message d'origine----- > De : Nicolas Lafaury [mailto:[EMAIL PROTECTED] > Envoyé : lundi, 16. janvier 2006 17:04 > À : [email protected] > Objet : RE: Cas service into Jahia > > Yes I have done this. > > I just add this in the web.xml > > <filter> > <filter-name>JahiaCASFilter</filter-name> > > <filter-class>fr.smile.servlet.filter.JahiaCASFilter</filter-class> > <init-param> > > <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name> > > <param-value>https://elus.cotedor.fr/cas-server/login</param-value> > </init-param> > <init-param> > > <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name> > > <param-value>https://elus.cotedor.fr/cas-server/serviceValidat > e</param-value> > </init-param> > <init-param> > > <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name> > <param-value>elus.cotedor.fr</param-value> > </init-param> > </filter> > <filter-mapping> > <filter-name>JahiaCASFilter</filter-name> > <url-pattern>/Jahia/site/elus/*</url-pattern> > </filter-mapping> > <filter-mapping> > <filter-name>JahiaCASFilter</filter-name> > <url-pattern>/Jahia/site/elus</url-pattern> > </filter-mapping> > <filter-mapping> > <filter-name>JahiaCASFilter</filter-name> > <url-pattern>/webdav/site/elus/*</url-pattern> > </filter-mapping> > > > Then redirect to my service. > > But what is your problem? > > > Nicolas LAFAURY > Ingénieur étude et développement. > Smile- Motoriste Internet > 01-41-40-11-05 > [EMAIL PROTECTED]
