Identity Management (MOSC)

MOSC Banner

UnauthenticatedSelfService API in OIM 11g

edited Sep 4, 2012 8:48AM in Identity Management (MOSC) 2 commentsAnswered
Hello.

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center