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

  • Thread starter Thread starter BartMille
  • Start date Start date
Status
Not open for further replies.
B

BartMille

Guest
I'm trying to create a rest-service using basic-authentication (+ ssl in production). In the appSecurity-basic-local.xml file I've enabled the "OEClientPrincipal"-section: b:bean id="OEClientPrincipalFilter" class="com.progress.rest.security.OEClientPrincipalFilter" b:property name="enablecp" value="true" / b:property name="domain" value="rest" / b:property name="roles" value="sample" / b:property name="authz" value="false" / b:property name="expires" value="600" / b:property name="accntinfo" value="true" / b:property name="properties" b:map b:entry key="prop-1" value="string1"/ b:entry key="prop-2" value="string2"/ /b:map /b:property b:property name="ccid" value="true" / b:property name="anonymous" value="true" / /b:bean Indeed, in the appserver's activate hook, I get a sealed CP containing the correct domain name. When I try to execute a "set-db-client", I get an error (corrupt cp (16385)). Which seems logical since I've never entered the domain's passphrase anywhere(except in the db). Does anybody have an idea where I can enter this info? Or, how to solve this? Using 11.3

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