Currently, in EJBCA 4.0.3, we can extract password used for request authentication using the regToken control. To be able to configure support for various CMP clients additional methods are needed. One method used by a client is to use the O fields from the DN as password.
We need a configurable list of "password extraction modules", i.e. classes, that can be used to extract this password. the two modules implemented to begin with would be the:
- regToken control (current code)
- user DN - O