Integrate Software AG Products Using Digital Event Services : MashZone NextGen Help : 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 © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback