Attached. Thank you.

On Thu, Jul 14, 2016 at 2:11 PM, Misagh Moayyed <[email protected]> wrote:

> Attach your pom.xml file please.
>
> --
> Misagh
>
> From: Eric Kyle <[email protected]> <[email protected]>
> Reply: Eric Kyle <[email protected]> <[email protected]>
> Date: July 14, 2016 at 12:04:51 PM
> To: Misagh Moayyed <[email protected]> <[email protected]>
> Cc: CAS Community <[email protected]> <[email protected]>
> Subject:  Re: [cas-user] Cas 4.2.2 ADFS error
>
> ll /opt/work/local-cas/target/cas/WEB-INF/lib/ does not show the
> opensaml*.jar.
>
> On Thu, Jul 14, 2016 at 1:44 PM, Misagh Moayyed <[email protected]>
> wrote:
>
>> The module should be pulling in an opensaml dependency/jar. Do you see
>> that jar in the final artifact?
>>
>> --
>> Misagh
>>
>> From: Eric Kyle <[email protected]> <[email protected]>
>> Reply: Eric Kyle <[email protected]> <[email protected]>
>> Date: July 14, 2016 at 11:26:18 AM
>> To: CAS Community <[email protected]> <[email protected]>
>> Subject:  [cas-user] Cas 4.2.2 ADFS error
>>
>> I have a stock CAS 4.2.2 install and am trying to implement CAS using the
>> instructions at the site below.
>>
>> https://apereo.github.io/cas/4.2.x/integration/ADFS-Integration.html
>>
>> While it builds fine, deployment yields the below errors.
>>
>> 2016-07-14 13:13:59,444 ERROR
>> [org.springframework.web.context.ContextLoader] - <Context initialization
>> failed
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'adfsPrincipalResolver': Injection of autowired dependencies
>> failed; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Coul
>> d not autowire field: private
>> org.jasig.cas.support.wsfederation.WsFederationConfiguration
>> org.jasig.cas.support.wsfederation.authentication.principal.WsFederationCredentialsToPrincipalResolver.configuration;
>> nested exception is java.lan
>> g.NoClassDefFoundError: org/opensaml/security/credential/Credential
>>
>>
>>
>> Caused by: org.springframework.beans.factory.BeanCreationException: Could
>> not autowire field: private
>> org.jasig.cas.support.wsfederation.WsFederationConfiguration
>> org.jasig.cas.support.wsfederation.authentication.principal.WsFederationCr
>> edentialsToPrincipalResolver.configuration; nested exception is
>> java.lang.NoClassDefFoundError: org/opensaml/security/credential/Credential
>>
>> Thoughts,
>>
>> Eric
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAF9f9PDaED%3D8-j1k1ZWdjrC8ZSLgzXsa7e8oZTWR32dnAxsRYA%40mail.gmail.com
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAF9f9PDaED%3D8-j1k1ZWdjrC8ZSLgzXsa7e8oZTWR32dnAxsRYA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.5787dd7d.4562202d.8563%40unicon.net
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.5787dd7d.4562202d.8563%40unicon.net?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAF9f9PCoNcrj_Khe6Fu%2BcqFCcHsEVnuexwF44V-UdFFqHacO_w%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAF9f9PCoNcrj_Khe6Fu%2BcqFCcHsEVnuexwF44V-UdFFqHacO_w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.5787e3c6.3ae28835.8563%40unicon.net
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.5787e3c6.3ae28835.8563%40unicon.net?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAF9f9PAjKe%3D0Qj6Rpy%2B7BHMDXCT3SeB%2BsV7FE7t_p2j6ynBXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd ">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.jasig.cas</groupId>
    <artifactId>cas-overlay</artifactId>
    <packaging>war</packaging>
    <version>1.0</version>

    <build>
        <plugins>
            <plugin>
                <groupId>com.rimerosolutions.maven.plugins</groupId>
          	<artifactId>wrapper-maven-plugin</artifactId>
          	<version>0.0.4</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.6</version>
                <configuration>
                    <warName>cas</warName>
                    <overlays>
                        <overlay>
                            <groupId>org.jasig.cas</groupId>
                            <artifactId>cas-server-webapp</artifactId>
                            <excludes>
                                <exclude>WEB-INF/cas.properties</exclude>
                                <exclude>WEB-INF/classes/log4j2.xml</exclude>
                            </excludes>
                        </overlay>
                    </overlays>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.3</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>${maven-jetty-plugin.version}</version>
                <configuration>
                    <jettyXml>${basedir}/etc/jetty/jetty.xml,${basedir}/etc/jetty/jetty-ssl.xml,${basedir}/etc/jetty/jetty-https.xml</jettyXml>
                    <systemProperties>
                        <systemProperty>
                            <name>org.eclipse.jetty.annotations.maxWait</name>
                            <value>240</value>
                        </systemProperty>
                    </systemProperties>
                    <webApp>
                        <contextPath>/cas</contextPath>
                        <overrideDescriptor>${basedir}/etc/jetty/web.xml</overrideDescriptor>
                    </webApp>
	                <webAppConfig>
	                    <allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
	                </webAppConfig>
                    <jvmArgs>-Dlog4j.configurationFile=/etc/cas/log4j2.xml -Xdebug -Xrunjdwp:transport=dt_socket,address=5000,server=y,suspend=n</jvmArgs>
                </configuration>
            </plugin>
        </plugins>
        <finalName>cas</finalName>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.jasig.cas</groupId>
            <artifactId>cas-server-webapp</artifactId>
            <version>${cas.version}</version>
            <type>war</type>
            <scope>runtime</scope>
        </dependency>
	<dependency>
  <groupId>org.jasig.cas</groupId>
  <artifactId>cas-server-support-wsfederation-webflow</artifactId>
  <version>${cas.version}</version>
</dependency>
    </dependencies>

    <properties>
        <cas.version>4.2.2</cas.version>
        <maven-jetty-plugin.version>9.3.6.v20151106</maven-jetty-plugin.version>
        <maven.compiler.source>1.7</maven.compiler.source>
        <maven.compiler.target>1.7</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <repositories>
        <repository>
            <id>sonatype-releases</id>
            <url>http://oss.sonatype.org/content/repositories/releases/</url>
        </repository>
        <repository>
            <id>sonatype-snapshots</id>
            <url>http://oss.sonatype.org/content/repositories/snapshots/</url>
        </repository>
    </repositories>
</project>

Reply via email to