Class SecurityManagerOMASResource


  • @RestController
    @RequestMapping("/servers/{serverName}/open-metadata/access-services/security-manager/users/{userId}")
    public class SecurityManagerOMASResource
    extends Object
    Server-side REST API support for security manager independent REST endpoints
    • Constructor Detail

      • SecurityManagerOMASResource

        public SecurityManagerOMASResource()
        Instantiates a new Security Manager OMAS resource.
    • Method Detail

      • getOutTopicConnection

        @GetMapping(path="/topics/out-topic-connection/{callerId}")
        public ConnectionResponse getOutTopicConnection​(@PathVariable
                                                        String serverName,
                                                        @PathVariable
                                                        String userId,
                                                        @PathVariable
                                                        String callerId)
        Return the connection object for the Security Manager OMAS's out topic.
        Parameters:
        serverName - name of the server 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

        @PostMapping(path="/metadata-sources/filesystems")
        public GUIDResponse createFileSystemInCatalog​(@PathVariable
                                                      String serverName,
                                                      @PathVariable
                                                      String userId,
                                                      @RequestBody
                                                      FileSystemRequestBody requestBody)
        Files live on a file system. This method creates a top level software server capability for a filesystem.
        Parameters:
        serverName - name of calling server
        userId - calling user
        requestBody - 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

        @PostMapping(path="/metadata-sources/file-managers")
        public GUIDResponse createFileManagerInCatalog​(@PathVariable
                                                       String serverName,
                                                       @PathVariable
                                                       String userId,
                                                       @RequestBody
                                                       FileManagerRequestBody requestBody)
        Files can be owned by a file manager. This method creates a top level software server capability for a file manager.
        Parameters:
        serverName - name of calling server
        userId - calling user
        requestBody - properties of the file manager
        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
      • createDatabaseManager

        @PostMapping(path="/metadata-sources/database-managers")
        public GUIDResponse createDatabaseManager​(@PathVariable
                                                  String serverName,
                                                  @PathVariable
                                                  String userId,
                                                  @RequestBody
                                                  DatabaseManagerRequestBody requestBody)
        Create information about the database manager (DBMS) that manages database schemas.
        Parameters:
        serverName - name of the server to route the request to.
        userId - calling user
        requestBody - description of the integration daemon (specify qualified name at a minimum)
        Returns:
        unique identifier of the database manager'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

        @GetMapping(path="metadata-sources/by-name/{qualifiedName}")
        public GUIDResponse getMetadataSourceGUID​(@PathVariable
                                                  String serverName,
                                                  @PathVariable
                                                  String userId,
                                                  @PathVariable
                                                  String qualifiedName)
        Retrieve the unique identifier of the software server capability representing a metadata source.
        Parameters:
        serverName - name of the server to route the request to.
        userId - calling user
        qualifiedName - 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