You must add the properties to the casServiceValidationSuccess jsp. This is a
custom extension.
Example:
<cas:attributes>
<cas:isRemembered>${fn:escapeXml(assertion.chainedAuthentications[fn:length(assertion.chainedAuthentications)-1].attributes['org.jasig.cas.authentication.principal.REMEMBER_ME'])}</cas:isRemembered>
<cas:isFromNewLogin>${fn:escapeXml(assertion.fromNewLogin)}</cas:isFromNewLogin>
</cas:attributes>
The isRemembered attribute is just the checkbox state (and of no help to get if
this was a remembered login or not)
The isFromNewLogin is the interesting one. This really gives you the info if
this was an authentication via a rememberMe ticket/cookie.
The info above is missing in the wiki currently. A CAS Jira ticket was opened a
while ago regarding this.
Robert
Am 26.04.2011 um 10:48 schrieb Jérôme LELEU:
> Hello,
>
> I followed the doc to setup remember me :
> https://wiki.jasig.org/display/CASUM/Remember+Me and it works fine on CAS
> 3.4.7 : the Authentication object has a new property
> AUTHENTICATION_ATTRIBUTE_REMEMBER_ME set to TRUE when I check the "Remember
> me" checkbox.
>
> My question is : how can I notify client applications that it is a "remember
> me" authentication ? authentication attributes are never send to client
> applications through /smalValidate or /serviceValidate ?
>
> Thanks,
> 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-user
--
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-user