Class OMAGServerPlatformSecurityServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.platformservices.server.OMAGServerPlatformSecurityServices
OMAGServerPlatformSecurityServices provides the capability to set up open metadata security connectors.
The open metadata security connectors validate the authorization of a user to access specific
services and metadata in Egeria. There are 2 connectors:
(1) The Open Metadata Platform Security Connector verifies the authorization of calls to the OMAG
Server Platform Services that are independent of a server.
(2) The Open Metadata Server Security Connector verifies the authorization of calls to a specific server.
The connectors are configured with a Connection. The connection for the Open Metadata Server Security Connector
is stored in the server's configuration document. The connection for the Open Metadata Platform Security Connector
is added dynamically when the platform starts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClear the connection object for the platform security connector.Return the connection object for the platform security connector.setPlatformSecurityConnection(PlatformSecurityRequestBody requestBody) Override the default platform security connector.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
OMAGServerPlatformSecurityServices
public OMAGServerPlatformSecurityServices()
-
-
Method Details
-
setPlatformSecurityConnection
Override the default platform security connector.- Parameters:
requestBody- containing serverPlatformURL (URL Root of the server platform) and connection used to create and configure the connector.- Returns:
- void response
-
getPlatformSecurityConnection
Return the connection object for the platform security connector.- Returns:
- connection response
-
clearPlatformSecurityConnection
Clear the connection object for the platform security connector. This sets the platform security back to default.- Returns:
- connection response
-