Interface OpenMetadataServerSecurity
- All Known Implementing Classes:
CocoPharmaSecretsSecurityConnector
,CocoPharmaServerSecurityConnector
,OpenMetadataServerSecurityVerifier
public interface OpenMetadataServerSecurity
OpenMetadataServerSecurity provides the root interface for a connector that validates access to Open
Metadata services and instances for a specific user. There are other optional interfaces that
define which actions should be validated.
Connectors are installed into a specific OMAG Server Instance
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateUserAsServerAdmin
(String userId) Check that the calling user is authorized to update the configuration for a server.void
Check that the calling user is authorized to issue operator requests to the OMAG Server.void
validateUserAsServerOperator
(String userId) Check that the calling user is authorized to issue operator requests to the OMAG Server.void
validateUserForServer
(String userId) Check that the calling user is authorized to issue a (any) request to the OMAG Server.
-
Method Details
-
validateUserForServer
Check that the calling user is authorized to issue a (any) request to the OMAG Server.- Parameters:
userId
- calling user- Throws:
UserNotAuthorizedException
- the user is not authorized to access this function
-
validateUserAsServerAdmin
Check that the calling user is authorized to update the configuration for a server.- Parameters:
userId
- calling user- Throws:
UserNotAuthorizedException
- the user is not authorized to change configuration
-
validateUserAsServerOperator
Check that the calling user is authorized to issue operator requests to the OMAG Server.- Parameters:
userId
- calling user- Throws:
UserNotAuthorizedException
- the user is not authorized to issue operator commands to this server
-
validateUserAsServerInvestigator
Check that the calling user is authorized to issue operator requests to the OMAG Server.- Parameters:
userId
- calling user- Throws:
UserNotAuthorizedException
- the user is not authorized to issue diagnostic commands to this server
-