MashZone NextGen 10.2 | Appendix | Administration | MashZone NextGen Security | Authentication with Digital Certificates/SSL | Configure Alternate User ID Extraction
 
Configure Alternate User ID Extraction
You can use regular expressions to define other portions of the certificate's subjectDN as the source for the user's ID. To define an alternate location for the user ID:
1. Using any text or XML editor, edit the applicationContext-security-authn-x509.xml file in the web-apps-home/mashzone/WEB-INF/classes directory.
2. Find the x509 Authorities Populator (<bean id="x509AuthoritiesPopulator" >) and:
a. Remove the comment markers around the <property name="subjectDNregex"> element.
b. Change the regular expression in the <value> to define what to use as the user ID.
3. Save your changes to this file.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release