Class SecurityManagerRESTServices
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.server.SecurityManagerRESTServices
-
public class SecurityManagerRESTServices extends Object
The SecurityManagerRESTServices provides the server-side implementation of the services that are generic for all types of security managers.
-
-
Constructor Summary
Constructors Constructor Description SecurityManagerRESTServices()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GUIDResponsecreateDatabaseManagerInCatalog(String serverName, String userId, DatabaseManagerRequestBody requestBody)Create information about the integration daemon that is managing the acquisition of metadata from the security manager.GUIDResponsecreateFileManagerInCatalog(String serverName, String userId, FileManagerRequestBody requestBody)Files live on a file system.GUIDResponsecreateFileSystemInCatalog(String serverName, String userId, FileSystemRequestBody requestBody)Files live on a file system.GUIDResponsegetMetadataSourceGUID(String serverName, String userId, String qualifiedName)Retrieve the unique identifier of the integration daemon service.ConnectionResponsegetOutTopicConnection(String serverName, String userId, String callerId)Return the connection object for the Security Manager OMAS's out topic.
-
-
-
Method Detail
-
getOutTopicConnection
public ConnectionResponse getOutTopicConnection(String serverName, String userId, String callerId)
Return the connection object for the Security Manager OMAS's out topic.- Parameters:
serverName- name of the service to route the request to.userId- identifier of calling user.callerId- unique identifier of the caller- Returns:
- connection object for the out topic or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem retrieving the discovery engine definition.
-
createFileSystemInCatalog
public GUIDResponse createFileSystemInCatalog(String serverName, String userId, FileSystemRequestBody requestBody)
Files live on a file system. This method creates a top level capability for a file system.- Parameters:
serverName- name of calling serveruserId- calling userrequestBody- properties of the file system- Returns:
- unique identifier for the file system or InvalidParameterException one of the parameters is null or invalid or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
createFileManagerInCatalog
public GUIDResponse createFileManagerInCatalog(String serverName, String userId, FileManagerRequestBody requestBody)
Files live on a file system. This method creates a top level capability for a file system.- Parameters:
serverName- name of calling serveruserId- calling userrequestBody- properties of the file system- Returns:
- unique identifier for the file system or InvalidParameterException one of the parameters is null or invalid or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
createDatabaseManagerInCatalog
public GUIDResponse createDatabaseManagerInCatalog(String serverName, String userId, DatabaseManagerRequestBody requestBody)
Create information about the integration daemon that is managing the acquisition of metadata from the security manager. Typically this is Egeria's security manager proxy.- Parameters:
serverName- name of the server to route the request to.userId- calling userrequestBody- description of the database manager- Returns:
- unique identifier of the integration daemon's software server capability or InvalidParameterException the bean properties are invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem accessing the property server
-
getMetadataSourceGUID
public GUIDResponse getMetadataSourceGUID(String serverName, String userId, String qualifiedName)
Retrieve the unique identifier of the integration daemon service.- Parameters:
serverName- name of the server to route the request to.userId- calling userqualifiedName- unique name of the integration daemon- Returns:
- unique identifier of the integration daemon's software server capability or InvalidParameterException the bean properties are invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem accessing the property server
-
-