[Progress Communities] [Progress OpenEdge ABL] Forum Post: GetClientPrincipal return unkown value for REST

  • Thread starter Thread starter wvdgraaf
  • Start date Start date
Status
Not open for further replies.
W

wvdgraaf

Guest
Again I'm struggling with validating a token received from a Single Sign On server. I changed the configuration in oeablSecurity.properties and tested this using the /web/_oepingService. The result is correct. I get a valid handle using GetClientPrincipal and I can access all information contained in the token. BUT! When I try to access my REST service, suddenly the GetClientPrincipal returns the unknown value and I ḿ stuck. It's the same PASOE server instance (11.7.4) and I use the idmactivate.p procedure to check the contents of the token. WHY is calling /web/_oepingService different than calling /wilko/rest/wilkoService/debug? In both cases it will first start the idmactivate procedure. function debug2logg returns logical (cMelding as char): output to c:\temp\debugg.log append. put unformatted string(now) " " cMelding skip. output close. end function. define variable hCP as handle no-undo. define variable cReqName as char no-undo. def var lok as logical init true no-undo. cReqName = session:current-request-info:procedureName. hCP = session:current-request-info:GetClientPrincipal(). if valid-handle(hCP) then debug2logg(hCP:qualified-user-id).

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