Authentication

compared with
Version 5 by Sandra TRINO
on Jan 21, 2011 16:30.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
{code}

*cas.server.url* : your CAS server URL.
*cas.logout.path*: the path to the CAS server logout page. In the above example, the full URL to the logout page is: [https://localhost:8443/cas/logout].
*cas.login.path*: the path to the CAS server login page. In the above example, the full URL to the login page is https//localhost:8443/cas/login.
*webapp.url*: the URL to your Petals View webapp. This URL must be accessible from the CAS server as it will redirect to this URL after authentication.

*cas.logout.path* : the path to the CAS server logout page. In the above example, the full URL to the logout page is: [https://localhost:8443/cas/logout].

{color:#333333}{*}cas.login.path{*}{color} {color:#333333}: the path to the CAS server login page. In the above example, the full URL to the login page is : {color}{color:#000000}https:{color}{color:#000000}//localhost:8443/cas/login.{color}

{color:#000000}{*}webapp.url{*}{color} {color:#000000}:{color} the URL to your Petals View webapp. This URL must be accessible from the CAS server as it will redirect to this URL after authentication.

h3. *petals-view-security-cas.xml* configuration

Your CAS server is also based on a Spring framework, so if you want to use the same user details service as the one configured in your CAS server, you could find it in the */WEB-INF/deployerConfigContext.xml* avalaible in the CAS server webapp directory.

{warning}
{warning}Be careful, the Spring framework version used in CAS server is 2.5 which is different from the one used in Petals View. Some packages have changed, but you could easily retrieve equivalent classes.{warning}
{warning}

Here is a simple In Memory user details service for Spring 2.5.x: