Package org.springframework.cloud.config.server.ssh
-
Class Summary Class Description FileBasedSshSessionFactory FileBasedSshTransportConfigCallback Configure JGit transport command to use a default SSH session factory based on local machines SSH config.HostKeyAlgoSupportedValidator JSR-303 Cross Field validator that ensures that aMultipleJGitEnvironmentPropertiesbean for the constraints: - If host key algo is supported Beans annotated withHostKeyAlgoSupportedandValidatedwill have the constraints applied.HostKeyAndAlgoBothExistValidator JSR-303 Cross Field validator that ensures that aMultipleJGitEnvironmentPropertiesbean for the constraints: - If host key is set then host key algo must also be set - If host key algo is set then host key must also be set Beans annotated withHostKeyAndAlgoBothExistandValidatedwill have the constraints applied.KnownHostsFileValidator JSR-303 Cross Field validator that ensures that aMultipleJGitEnvironmentPropertiesbean for the constraints: - Verifies that known hosts file existsPrivateKeyValidator JSR-303 Cross Field validator that ensures that anMultipleJGitEnvironmentPropertiesbean for the constraints: - Private key is present and can be correctly parsed usingKeyPairBeans annotated withPrivateKeyValidatorandValidatedwill have the constraints applied.PropertiesBasedSshTransportConfigCallback Configure JGit transport command to use a SSH session factory that is configured using properties defined inMultipleJGitEnvironmentProperties.PropertyBasedSshSessionFactory In a cloud environment local SSH config files such as `.known_hosts` may not be suitable for providing configuration settings due to ephemeral filesystems.SshPropertyValidator Validate SSH related properties.SshUriPropertyProcessor Check if Git repo properties refer to an SSH based transport then filter and extract the properties. -
Annotation Types Summary Annotation Type Description HostKeyAlgoSupported Beans annotated withHostKeyAlgoSupportedandValidatedwill have the constraints applied.HostKeyAndAlgoBothExist Beans annotated withHostKeyAndAlgoBothExistandValidatedwill have the constraints applied.KnownHostsFileIsValid Beans annotated withKnownHostsFileIsValidandValidatedwill have the constraints applied.PrivateKeyIsValid Beans annotated withPrivateKeyValidatorandValidatedwill have the constraints applied.