Interface OpenMetadataServerSecurity
-
public interface OpenMetadataServerSecurityOpenMetadataServerSecurity 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidateUserAsServerAdmin(String userId)Check that the calling user is authorized to update the configuration for a server.voidvalidateUserAsServerInvestigator(String userId)Check that the calling user is authorized to issue operator requests to the OMAG Server.voidvalidateUserAsServerOperator(String userId)Check that the calling user is authorized to issue operator requests to the OMAG Server.voidvalidateUserForServer(String userId)Check that the calling user is authorized to issue a (any) request to the OMAG Server.
-
-
-
Method Detail
-
validateUserForServer
void validateUserForServer(String userId) throws UserNotAuthorizedException
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
void validateUserAsServerAdmin(String userId) throws UserNotAuthorizedException
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
void validateUserAsServerOperator(String userId) throws UserNotAuthorizedException
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
void validateUserAsServerInvestigator(String userId) throws UserNotAuthorizedException
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
-
-