cancel
Showing results for 
Search instead for 
Did you mean: 

NAKISA Role Mapping

ABDULHAKEEM_ALH
Explorer
0 Kudos

Hi All

I’m in the process in implementing NAKIZA V4.1

when i did the NAKISA role Mapping to SAP role it is always give me in the debug Nakisa role = null.

How can i slove it

Any directions are appreciated.

Regard.

Accepted Solutions (1)

Accepted Solutions (1)

StephenMillard
Active Contributor
0 Kudos

Are you able to provide the log and role assignment mapping information or have you managed to step through and resolve this?

Regards,

Stephen.

ABDULHAKEEM_ALH
Explorer
0 Kudos

Dears,

Thank you very much we solve the role mapping by removed the Tenant key from the application.

Thanks

Answers (1)

Answers (1)

StephenMillard
Active Contributor
0 Kudos

Looking at the role mapping screen shot I can see the SAP role Z:HRPA_GOVT_OFFICER_00 is being mapped to the ROLE_Manager Nakisa role.

In the debug page screen shot I can see only one "Z:*" SAP role - Z:HRPA_REPORT_SPECIALIST_00, which is obviously different to the one in the previous screen shot.

So my first questions would be have you ....

  1. Added the Z:HRPA_GOVT_OFFICER_00 SAP role to the user account you are using to test with (the screen shot does appear to be cropped so I guess it could be there in the debug output source roles row)?
  2. Mapped the Z:HRPA_REPORT_SPECIALIST_00 SAP role in your Nakisa application to a particular Nakisa role?

Regards,

Stephen.

ABDULHAKEEM_ALH
Explorer
0 Kudos

Dear STEPHEN,

for the Role Z:HRPA_GOVT_OFFICER_00 it is already added to the user role and

i aready mapped Z:HRPA_REPORT_SPECIALIST_00

still the ssame result

StephenMillard
Active Contributor
0 Kudos

So that's different to the original screen shot ... therefore just to rule out the chance the change hasn't been properly picked up have you since making the amendment:

  1. Submitted the role mapping change and published the build?
  2. Closed all browser windows?
  3. Opened a new browser window?
  4. Logged in using the same user account?
  5. Verified the issue again using the debug screen?

Failing that perhaps double check that the role is being assigned in the same SAP environment and client as that being accessed by your Nakisa application.

If that's aligned then are there any errors appearing in the cds.log on or after user login?

It may even be worth trying to set-up a very basic account to test with.  i.e. one that just has one mapped SAP role (mapped in Nakisa app) and the appropriate roles to run RFCs, etc.  Does the issue still occur for such an account?

Regards,

Stephen.

ABDULHAKEEM_ALH
Explorer
0 Kudos

Dear STEPHEN,

I did all the steps above but still the same. NAKISA Role = null .

we are using : Single Sign-On with Logon Tickets (Required Portal integration)

Thanks

StephenMillard
Active Contributor
0 Kudos

Could you post some screen shots highlighting the role assignment in AdminConsole, the role assignment in SAP and the debug page for the "very basic account"?

Are you indicating that there are no errors appearing in the cds.log during login ... you didn't really specify either way.

Are you otherwise able to login to the application with the user and navigate normally - i.e. SSO signing you into the application successfully and the app is allowing you to interact with it?

Regards,

Stephen.

StephenBurr
Active Contributor
0 Kudos

Could you post your RoleMapping.xml file from your .delta\Security folder?

What does the CDS log say at login?

Stephen