java.lang.Object
org.odpi.openmetadata.frameworkservices.omf.client.handlers.ActorRoleHandler
org.odpi.openmetadata.accessservices.communityprofile.client.ActorRoleManagement

public class ActorRoleManagement extends ActorRoleHandler
ActorRoleManagement is the client for explicitly managing the actor profile entities and associating them with profiles. It is typically used when the relationship between user identities and profiles are many to one.
  • Constructor Details

    • ActorRoleManagement

      public ActorRoleManagement(String localServerName, String serverName, String serverPlatformURLRoot, AuditLog auditLog, int maxPageSize) throws InvalidParameterException
      Create a new client with no authentication embedded in the HTTP request.
      Parameters:
      localServerName - name of this server (view server)
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      auditLog - logging destination
      maxPageSize - maximum number of results supported by this server
      Throws:
      InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
    • ActorRoleManagement

      public ActorRoleManagement(String localServerName, String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog, int maxPageSize) throws InvalidParameterException
      Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      maxPageSize - maximum number of results supported by this server
      auditLog - logging destination
      Throws:
      InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.