public class SelfRegistrationManager
extends java.lang.Object
| Constructor and Description |
|---|
SelfRegistrationManager(PlatformContext platform)
Constructs the manager with a platform context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createPerson(Person subject)
Creates a person in the provisioning platform with the specified
attributes.
|
void |
createPerson(Person subject,
java.lang.String tenantID)
Creates a person in the provisioning platform with the specified
attributes.
|
public SelfRegistrationManager(PlatformContext platform)
platform - PlatformContext identifying identity platform.public void createPerson(Person subject) throws java.rmi.RemoteException, SchemaViolationException, ApplicationException
subject - Person value object defining the attributes the person
will have.java.rmi.RemoteException - Thrown if unable to communicate with platform.SchemaViolationException - Thrown if any of the attributes
in the value object are violate the
managed object's schema. This
may be caused by an invalid attribute
or if a required attribute is missing
entirely.ApplicationException - Thrown if unable to submit the request.
This may possibly be caused by
the container being removed by another
client previous to this call.public void createPerson(Person subject, java.lang.String tenantID) throws SchemaViolationException, ApplicationException
subject - Person value object defining the attributes the person
will have.tenantID - String defining the tenantID of ITIM.java.rmi.RemoteException - Thrown if unable to communicate with platform.SchemaViolationException - Thrown if any of the attributes
in the value object are violate the
managed object's schema. This
may be caused by an invalid attribute
or if a required attribute is missing
entirely.ApplicationException - Thrown if unable to submit the request.
This may possibly be caused by
the container being removed by another
client previous to this call.