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
protected static class ConnectorBase.ProtectedConnection extends ConnectionProperties
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.ConnectionProperties
connectionBean
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
referenceableBean
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConnectiongetConnectionBean()Return a copy of the ConnectionBean.protected Map<String,String>getSecuredProperties()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, toString
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
getAdditionalProperties, getQualifiedName, getReferenceableBean, setBean
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
getClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getOrigin, getStatus, getType, getURL, getVersions, setBean
-
-
-
-
Method Detail
-
getSecuredProperties
protected Map<String,String> 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
protected Connection getConnectionBean()
Return a copy of the ConnectionBean.- Overrides:
getConnectionBeanin classConnectionProperties- Returns:
- Connection bean
-
-