It seems that the problem is only existed when I deploy the war into web
container.  Here is the exception:

Caused by:
java.lang.NoClassDefFoundError: org/opensaml/SAMLException
at org.pac4j.cas.client.CasClient.internalInit(CasClient.java:184)
at org.pac4j.core.util.InitializableObject.init(InitializableObject.java:37)
at org.pac4j.core.client.BaseClient.getRedirectionUrl(BaseClient.java:114)
at org.pac4j.core.client.BaseClient.getRedirectionUrl(BaseClient.java:110)
at
org.jasig.cas.support.pac4j.web.flow.ClientAction.prepareForLoginPage(ClientAction.java:202)
at
org.jasig.cas.support.pac4j.web.flow.ClientAction.doExecute(ClientAction.java:172)
        ...

It seems to be the Saml11TicketValidator class loading problem.

https://github.com/leleuj/pac4j/blob/master/pac4j-cas/src/main/java/org/pac4j/cas/client/CasClient.java#L184

So no problem is found with CAS20 protocol.

Regards,
-Ken



On Thu, Apr 25, 2013 at 12:48 AM, jleleu <[email protected]> wrote:

> Hi,
>
> It should have worked even with the SNAPSHOT artifacts.
> Anyway, I know about the remaing SNAPSHOT pac4j-core : waiting for the
>  pull request : https://github.com/Jasig/cas/pull/234, still being
> discussed and reviewed...
> Best regards,
> Jérôme
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to