Change the property injection to
<property name="casProtocol" value="SAML" />
and got the same result.
Regards,
-Ken
On Wed, Apr 24, 2013 at 12:25 PM, Ken LAI <[email protected]> wrote:
> Thanks Jérôme. In order to retrieve user profile from external CAS
> server via CasClient, I switch to use the SAML protocol instead of CAS20.
>
> <bean id="clients" class="org.pac4j.core.client.Clients">
> <property name="callbackUrl" value="
> http://localhost:8080/cas/login" />
> <property name="clients">
> <list>
> ...
> <ref bean="cas1" />
> ...
> </list>
> </property>
> </bean>
>
> <bean id="cas1" class="org.pac4j.cas.client.CasClient">
> <property name="casLoginUrl" value="
> http://localhost:8080/cas2/login" />
> <property name="casProtocol">
> <util:constant
> static-field="org.pac4j.cas.client.CasClient.CasProtocol.SAML" />
> </property>
> </bean>
>
> It seems that org.pac4j.cas.client.CasClient is failed to load. Is it not
> supported?
>
> Regards,
> -Ken
>
>
> On Tue, Apr 23, 2013 at 11:26 PM, jleleu <[email protected]> wrote:
>
>> Hi,
>>
>> Right, the user profile is retrieved only from the external provider (for
>> example : Facebook, Twitter, another CAS server...)
>> And this happens in the authentication handler :
>> https://github.com/Jasig/cas/blob/master/cas-server-support-pac4j/src/main/java/org/jasig/cas/support/pac4j/authentication/handler/support/ClientAuthenticationHandler.java
>> .
>> 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