UpperCase Attribute

Kidd, Don W. kidddw at muohio.edu
Fri Dec 2 19:37:48 GMT 2011


I am connecting our IDP to a new SP, and they expect our EPPN to be in Uppercase, is there a way to uppercase an attribute in attribute-filter?  Or do I need to setup a new attribute in attribute-resolver?  

I tried to create a new attribute in resolver as a script but it didn't really like this, I've never had to do this kind of thing for attributes, so any help would be appreciated.  


<Script><![CDATA[
                        importPackage(Packages.edu.internet2.middleware.shibboleth.common.attribute.provider);
                        String testEPPN = uid.getValues();                 
                        upperEPPN = new BasicAttribute("upperEPPN");
                        upperEPPN.getValues().add(newEPPN.toUpperCase());
                ]]></Script>

Thanks,
Don


--------
Don W. Kidd
Senior Systems Analyst
Information Technology Services
Office : 513.529.9655
EMail: dkidd at muohio.edu



More information about the users mailing list