Hi,
This is in reference to com.sap.security.api.
I am looking for a way to add Actions to Role.
Tried the following:
IPrincipalMaint principalMaint = principalFactory.getMutablePrincipal(newRole.getUniqueID());
principalMaint.setAttribute("com.sap.security.role", "actions", {"SomeAction"});
principalMaint.save();
principalMaint.commit();
Is the way correct or am i missing something?
There are Factory for IRole, IGroup, IUser. What is the better way to get a handle for Actions and bind it to Roles?
Regards
Dixit