Page 1 of 1

Adding spring-security-openid jar

Posted: Wed May 15, 2013 11:53 am
by Sambhav
I am trying to integrate openid with blc.
I am getting compilation error on @RequestMapping throughout the application once I add Maven dependency for spring-security-openid.

This is probably because version mismatch in Spring dependencies.
As suggested in response in url : http://stackoverflow.com/questions/16525710/adding-openid-support-in-broadleaf-commerce , I tried adding exclusions to the openid dependecy like this:-

<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-openid</artifactId>
<version>3.1.3.RELEASE</version>
<exclusions>
<exclusion>
<artifactId>spring-core</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-web</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-aop</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-beans</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-context</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
</exclusions>
</dependency>

This also didn't help. Please suggest a workaround this.

Thanks for your guidance.

Sambahv

Re: Adding spring-security-openid jar

Posted: Wed May 15, 2013 2:13 pm
by phillipuniverse
Did you do a full maven clean and install after you added the exclusions? You might also check the 'Dependency Hierarchy' in your pom.xml in Eclipse which gives a nice visual view. For instance: http://cl.ly/image/2p1U142R083T