[GeoNetwork-users] Question with GN 3.0.2 and CAS

Hi,

I work to set the authentification of GN3.0.2 to CAS and i have search a lot on the internet and make many tests before writing to the list, so there is my setup :

CAS 4.1.0 with almost the default config and mapped to LDAP

All my tomcat is on https

Here is my settings :
Config-security.xml

    <import resource="config-security-core.xml"/>
    <import resource="config-security-mapping.xml"/>
     <import resource="config-security-ldap.xml"/>
    <!-- <import resource="config-security-ecas.xml"/> -->
     <import resource="config-security-cas.xml"/>
    <import resource="config-security-cas-ldap.xml"/>
    <!-- <import resource="config-security-cas-database.xml"/> -->
    <!-- <import resource="config-security-shibboleth.xml"/> -->
    <ctx:property-placeholder location="WEB-INF/config-security/config-security.properties" file-encoding="UTF-8" ignore-unresolvable="true" order="100"/>

Config-security.properties :

The cas section is at default settings

When I log in within the app I get 404 :
HTTP Status 404 - /geonetwork/j_spring_security_check/fre/catalog.search
________________________________
type Status report
message /geonetwork/j_spring_security_check/fre/catalog.search
description The requested resource is not available.
Nothing interesting in the geonetwork.log even if it's in debug mode

I see that the url does not seems to be good.

I tried to changed it in config-security-cas.xml with no change in URL, even if I delete WEB-INF/data/wro4j* and restart tomcat....

I worked many hours on that, but I do not see what I miss...

Can you help me ?

Thanks in advance

Dany Lemay
Technicien en informatique
Service des technologies de l'information
Université du Québec à Rimouski
418-723-1986 poste 1132 bureau k-410
www.uqar.ca<http://www.uqar.ca/&gt;

[http://www.uqar.ca/img/communications/uqar-signature.jpg\]<http://www.uqar.ca/&gt;

Suivez-nous sur les médias sociaux :
[Facebook_28_px]<http://www.facebook.com/accueil.uqar&gt; [cid:image002.jpg@anonymised.com] <http://www.twitter.com/UQAR&gt; [cid:image003.jpg@anonymised.com..] <instagram.com/universiteduquebecarimouski> [cid:image004.jpg@anonymised.com468...] <http://www.youtube.com/UQARweb&gt; [Linkedin_28_px] <https://www.linkedin.com/company/uqar&gt;

(attachments)

image013.jpg
image014.jpg
image015.jpg
image016.jpg
image017.jpg
image018.jpg

Hi Dany,

I have exactly the same problem. Did you solve it?

Regards,
Marko

On 30 November 2015 at 22:14, <Dany_Lemay@anonymised.com> wrote:

Hi,

I work to set the authentification of GN3.0.2 to CAS and i have search a
lot on the internet and make many tests before writing to the list, so
there is my setup :

CAS 4.1.0 with almost the default config and mapped to LDAP

All my tomcat is on https

Here is my settings :
Config-security.xml

    <import resource="config-security-core.xml"/>
    <import resource="config-security-mapping.xml"/>
     <import resource="config-security-ldap.xml"/>
    <!-- <import resource="config-security-ecas.xml"/> -->
     <import resource="config-security-cas.xml"/>
    <import resource="config-security-cas-ldap.xml"/>
    <!-- <import resource="config-security-cas-database.xml"/> -->
    <!-- <import resource="config-security-shibboleth.xml"/> -->
    <ctx:property-placeholder
location="WEB-INF/config-security/config-security.properties"
file-encoding="UTF-8" ignore-unresolvable="true" order="100"/>

Config-security.properties :

The cas section is at default settings

When I log in within the app I get 404 :
HTTP Status 404 - /geonetwork/j_spring_security_check/fre/catalog.search
________________________________
type Status report
message /geonetwork/j_spring_security_check/fre/catalog.search
description The requested resource is not available.
Nothing interesting in the geonetwork.log even if it's in debug mode

I see that the url does not seems to be good.

I tried to changed it in config-security-cas.xml with no change in URL,
even if I delete WEB-INF/data/wro4j* and restart tomcat....

I worked many hours on that, but I do not see what I miss...

Can you help me ?

Thanks in advance

Dany Lemay
Technicien en informatique
Service des technologies de l'information
Université du Québec à Rimouski
418-723-1986 poste 1132 bureau k-410
www.uqar.ca<http://www.uqar.ca/&gt;

[http://www.uqar.ca/img/communications/uqar-signature.jpg\]<
http://www.uqar.ca/&gt;

Suivez-nous sur les médias sociaux :
[Facebook_28_px]<http://www.facebook.com/accueil.uqar&gt;
[cid:image002.jpg@anonymised.com] <http://www.twitter.com/UQAR&gt;
[cid:image003.jpg@anonymised.com] <
instagram.com/universiteduquebecarimouski>
[cid:image004.jpg@anonymised.com] <http://www.youtube.com/UQARweb&gt;
  [Linkedin_28_px] <https://www.linkedin.com/company/uqar&gt;

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple
OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork