UpperCAse/LoweCase
Peter Schober
peter.schober at univie.ac.at
Thu Jul 23 09:34:15 EDT 2015
* Rod Widdowson <rdw at steadingsoftware.com> [2015-07-23 14:58]:
> > mail.getValues().add(forKronos.getValues().get(0).toUpperCase());
>
> You need to be populating "forKronos" *from* mail, not mail from forKronos
He did both:
* Argenis Lopez <alopez at fcci-group.com> [2015-07-23 13:57]:
> forKronos = new BasicAttribute("forKronos");
> forKronos.getValues().add(mail.getValues().get(0).toUpperCase());
So forKronos should now have the first value of mail, uppercased.
> mail.getValues().clear();
> mail.getValues().add(forKronos.getValues().get(0).toUpperCase());
And now mail == forKronos basically.
As an aside: The names in both encoders are invalid: MACE-Dir has
never defined such an attribute name, and 2.5.4.4:forKronos is not a
legal assignment in the ISO/ITU-T managed OID tree for X.500
attributes:
> <resolver:AttributeEncoder xsi:type="enc:SAML1String" name="urn:mace:dir:attribute-def:forKronos" />
> <resolver:AttributeEncoder xsi:type="enc:SAML2String" name="urn:oid:2.5.4.4:forKronos" friendlyName="forKronos" />
-peter
More information about the users
mailing list