I'm trying to add a SAML attribute in the SAML 1 token CAS creates. The 
attribute is a HMAC signature. To calculate the signature I need the 
NameIdentifier and the NotOnOrAfter attribute from Conditions.

What would be a reasonable way to do this? A good place to inject my own code 
where I'd have access to the data I need, to do the calculation and add the 
result as an attribute in the outgoing token?

I guess I can create my own AbstractSaml10ResponseView and copy all of the 
behaviour from the existing Saml10SuccessResponseView (it's final so I can't 
extend it … ), but it seems there should be a more elegant solution.

(There are -- of course -- "historical reasons" for why I'm trying to do this 
... )



/ET

-- 
"However vast the darkness, we must supply our own light" -- Stanley Kubrick


-- 
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

Reply via email to