UnauthenticatedSelfService API in OIM 11g
I am using the UnauthenticatedSelfService API (oracle.iam.selfservice.uself.uselfmgmt.api.UnauthenticatedSelfService) to perform unauth self-registration and passing in the User Manager attribute, but it's not working...
I'm getting a java.lang.NullPointerException in the OIM client and in the OIM server log...When I removed this attribute from the request, the self-reg request works fine...
The code looks something like the following:
long jsimpson = 122; // usr_key for jsimpson
mapRequest.put("User Manager", new Long(jsimpson)); // Make jsimpson the User Manager
mapAttrRef.put("User Manager", "usr_manager_key");
...
requestId = unauthn.submitRegistrationRequest(mapRequest, mapQnA, template, mapAttrRef);
Does the API support passing the User Manager attribute in the submitRegistrationRequest method? I would think and hope so, as I want to have the manager ID in the request, where my custom SOA approval process can retrieve it.