Decrypting attributes on-the-fly

Cantor, Scott cantor.2 at osu.edu
Wed Feb 19 09:57:16 EST 2014


On 2/19/14, 4:54 AM, "Griffin Cheng [CLIB]" <cscheng at cpce-polyu.edu.hk>
wrote:

>Dear Mr. Bongaarts,
>
>Thank you.  So I just change the file:
>
>shibsp/attribute/StringAttributeDecoder.cpp
>
>and add the GPG code to decode the variable "val".  Is it right?

No. That's a starting point to work from. You must create a different
plugin in your own extension library, assign it an xsi:type as part of
defining a schema for it, and then implement it. The actual implementation
is essentially an extension of the original.

The plugins subdirectory contains an extension library included with the
SP and is an example of the boilerplate involved.

>If I make the project, would it produce a plug-in of which type?

It's an AttributeDecoder.

>Sorry, I am a total noob on this.

Then an Apache module will be much more practical for you to build.

-- Scott




More information about the dev mailing list