Signing Assertion with SHA256
Brent Putman
putmanb at georgetown.edu
Wed Jan 15 21:27:42 EST 2014
On 1/13/14 2:00 PM, Yang, Gang CTR (US) wrote:
>
> I also found some posts that mentioned SecurityConfiguration class, which contains the security parameters including the reference digest method. However, this a read-only interface and I can't seem to change anything. I'm wondering what's the right interface or class in OpenAM to programmatically change the configuration. This way may be more general than changing each ContentReference instance's settings. Would appreciate if any one can provide any pointer on this.
>
Realized I never answered this...
Yes, the Configuration instance holds an instance defined by the
SecurityConfiguration interface, which has only accessor methods. But
in reality there is only impl of that interface,
BasicSecurityConfiguration in the same package, and it has setter
methods. In v2 OpenSAML the instance will always be of that type,
although you should of course check before casting.
Changing the signatureReferenceDigestMethod property there is a global
change and will cause all SAMLContentReferences to use the specified
algorithm.
More information about the dev
mailing list