Other ways to transform binary LDAP balues?
Cantor, Scott
cantor.2 at osu.edu
Thu Dec 8 12:51:31 EST 2016
> How would I convert objectGUID into a bignum
> 111487613748703971219535939675916290004 or a UUID like
> 53dfbbbe-7198-4d09-a859-bfe38e7347d4? The LDAPProperty name
> java.naming.ldap.attributes.binary base64-encodes the objectGUID, but
> I'm afraid that the encoding will break apps that receive identifiers
> that look like vrvfU5hxCU2oWb/jjnNH1A==@irtnog.org. I wasn't able to
> find a suitable environment variable similar to
> java.naming.ldap.attributes.binary on docs.oracle.com, and I don't know
> where else to look.
I don't how the IdP handles binary data internally if at all, but no matter what you have, you can always just write a script to manually build whatever values you want. If they're base64'd, a script can undo that back into byte[] and then you can do something else to it.
-- Scott
More information about the users
mailing list