Forum Post: RE: Rest: Spring-generated client-principal: what is the domain code?

  • Thread starter Thread starter mjacobs
  • Start date Start date
Status
Not open for further replies.
M

mjacobs

Guest
The Domain's access code can be added using a property to the OEClientPrincipalFilter bean: b:property name="key" value="xxxx" / The value of the property can one of : a) a clear-text string (what you may want to use in development mode for debugging) b) an encoded string (what you may want to use in a production mode for security) The encoded string follows the same pattern used for passing encoded passwords to things like -U, client-principal:initialize(), etc. To generate the encoded string first run $DLC/bin/genpassword -password "clear-text-password" It will produce a hex-binary encoded string. Next, append the hex-binary encode string to "oech1::" to get the 'key' property's value. example: $DLC/bin/genpassword -password "password" 20333c34252a2137 b:property name="key" value="oech1::20333c34252a2137" /

Continue reading...
 
Status
Not open for further replies.
Back
Top