Class ConnectorBase.ProtectedConnection
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.ConnectionProperties
org.odpi.openmetadata.frameworks.connectors.ConnectorBase.ProtectedConnection
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ConnectorBase
ProtectedConnection provides a subclass to Connection in order to extract protected values from the
connection in order to supply them to the Connector implementation.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.ConnectionProperties
connectionBeanFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
referenceableBean -
Method Summary
Modifier and TypeMethodDescriptionprotected ConnectionReturn a copy of the ConnectionBean.Return a copy of the secured properties.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.ConnectionProperties
equals, getClearPassword, getConfigurationProperties, getConnectionName, getConnectorType, getDescription, getDisplayName, getEncryptedPassword, getEndpoint, getUserId, hashCode, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
getAdditionalProperties, getQualifiedName, getReferenceableBean, setBeanMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
getClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getOrigin, getStatus, getType, getURL, getVersions, setBean
-
Method Details
-
getSecuredProperties
Return a copy of the secured properties. Null means no secured properties are available. This method is protected so only OCF (or subclasses) can access them. When Connector is passed to calling OMAS, the secured properties are not available.- Overrides:
getSecuredPropertiesin classConnectionProperties- Returns:
- secured properties typically user credentials for the connection
-
getConnectionBean
Return a copy of the ConnectionBean.- Overrides:
getConnectionBeanin classConnectionProperties- Returns:
- Connection bean
-