Sounds like you didn't include cas-client-core-3.4.1.jar.
Did you follow the instructions and added the following lines to your
pom.xml?
<dependency>
<groupId>org.jasig.cas.client</groupId>
<artifactId>cas-client-core</artifactId>
<version>${java.cas.client.version}</version>
</dependency>
Op maandag 30 januari 2017 14:30:43 UTC+1 schreef Sebastian Wilde:
>
> Hello,
>
> i've installed a CAS Server Version 5.0.1 and works.
>
> Furthermore i have write a website with php and works, too.
>
> But now i have written a simple java Program, but the Client doesn't work.
>
> I have added the cas-client-core.jar to the Libaries and added this code
> the web.xml:
>
>
> <filter>
> <filter-name>CAS Authentication Filter</filter-name>
>
> <filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
> <init-param>
> <param-name>casServerLoginUrl</param-name>
>
> <param-value>https://battags.ad.ess.rutgers.edu:8443/cas/login</param-value>
> </init-param>
> <init-param>
> <param-name>serverName</param-name>
> <param-value>http://www.acme-client.com</param-value>
> </init-param>
> </filter>
> <filter-mapping>
> <filter-name>CAS Authentication Filter</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
>
>
> The casServerLoginUrl and serverName are updated to our company.
>
> But when i copy the war file to the tomcat webapp folder i get the
> following error:
>
> java.lang.ClassNotFoundException:
> org.jasig.cas.client.authentication.AuthenticationFilter
>
> Is there anyone, who can help me?
>
> Thanks a lot.
>
>
--
- 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6c96d4e8-9bc9-465b-b56e-9149a5e64900%40apereo.org.