Using x509 login data in ldap data connector
Cantor, Scott
cantor.2 at osu.edu
Mon Nov 28 12:08:25 EST 2016
> could you please send me an example of how to get the Subject's field
> out of the 'subject array' you mentioned?
You need to use a Script. So you need to read that documentation. The script will have a variable called "subjects" populated with an array of Subject objects. Subject is a standard Java object that you can read the Javadoc for. It contains a collection of "public credentials" one of which is an X509Certificate, also a standard Java class you can read the documentation for.
You also, if you choose, can do what Rod said and just change the configuration to make the principal name itself whatever part of the certificate you want it to be, but that impacts the whole system anywhere the principal name is used, which may or may not be appropriate. But that's the only non-developer oriented way to do this.
-- Scott
More information about the users
mailing list