public interface OpenMetadataConnectionSecurity
| Modifier and Type | Method and Description |
|---|---|
Connection |
validateUserForAssetConnectionList(String userId,
Asset asset,
List<Connection> connections)
Select a connection from the list of connections attached to an asset.
|
void |
validateUserForConnection(String userId,
Connection connection)
Tests for whether a specific user should have access to a connection.
|
void validateUserForConnection(String userId, Connection connection) throws UserNotAuthorizedException
userId - identifier of userconnection - connection objectUserNotAuthorizedException - the user is not authorized to access this serviceConnection validateUserForAssetConnectionList(String userId, Asset asset, List<Connection> connections) throws UserNotAuthorizedException
userId - calling userasset - asset requested by callerconnections - list of attached connectionsUserNotAuthorizedException - the user is not authorized to access this serviceCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.