SAML setup

106 views
Skip to first unread message

John Wynstra

unread,
Mar 7, 2017, 3:12:56 PM3/7/17
to cas-...@apereo.org
I am trying to add saml support to CAS 5.0.3 maven overlay.  After adding the following dependency to pom.xml


<dependency>
  <groupId>org.apereo.cas</groupId>
  <artifactId>cas-server-support-saml-idp</artifactId>
  <version>${cas.version}</version>
</dependency>
 the repackaged CAS.WAR file will deploy but not start on TomCat. I have not configured any of the saml properties in cas.properties, because I'm not quite sure where to begin.  

Catalina.out has the following or similar errors related to shibboleth.ParserPool

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apereo.cas.support.saml.OpenSamlConfigBean]: Factory method 'openSamlConfigBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.ParserPool' defined in class path resource [org/apere        o/cas/config/CoreSamlConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instanti        ate [net.shibboleth.utilities.java.support.xml.BasicParserPool]: Factory method 'parserPool' threw exception; nested exception is java.lang.RuntimeException: java.lang.ClassNotFound        Exception: org.apache.xerces.util.SecurityManager



Dmitriy Kopylenko

unread,
Mar 8, 2017, 8:21:37 AM3/8/17
to cas-...@apereo.org
Add this repository to your overlay’s pom:

<repository>
        <id>shibboleth-releases</id>
        <url>https://build.shibboleth.net/nexus/content/repositories/releases</url>
    </repository>

D.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CADTFBKrXVYN%3DsgnJAaAFniMQFfVRqXhEWF_pHGf9usR5tD9bVQ%40mail.gmail.com.

John Wynstra

unread,
Mar 8, 2017, 10:56:09 AM3/8/17
to cas-...@apereo.org
I do have that repository in my pom.xml listed with the other repositories.

To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.

--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58c0055b.70aabefd.266%40unicon.net.

Angel Fernandez Leal

unread,
Nov 16, 2017, 6:32:57 AM11/16/17
to CAS Community
Hi John,
I encountered the same problem.
Did you fix it?
Thanks in advance.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.

--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.

Misagh Moayyed

unread,
Nov 16, 2017, 5:42:55 PM11/16/17
to cas-...@apereo.org
Set cas.samlCore.securityManager to blank…and upgrade to the latest 5.0.x.

--Misagh


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG

---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
Reply all
Reply to author
Forward
0 new messages