Interface SecurityCredentialsProvider
-
- All Known Implementing Classes:
SecurityCredentialsBasicProvider
public interface SecurityCredentialsProvider
Security credentials provider for specifying security credentials. Security credentials used for node authentication.Getting credentials through
SecurityCredentialsProvider
abstraction allows users to provide custom implementations for storing user names and passwords in their environment, possibly in encrypted format. Ignite comes withSecurityCredentialsBasicProvider
which simply provides the passed inlogin
andpassword
when encryption or custom logic is not required.In addition to
login
andpassword
, security credentials allow for specifyinguserObject
as well, which can be used to pass in any additional information required for authentication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityCredentials
credentials()
Gets security credentials.
-
-
-
Method Detail
-
credentials
SecurityCredentials credentials() throws IgniteCheckedException
Gets security credentials.- Returns:
- Security credentials.
- Throws:
IgniteCheckedException
- If failed.
-
-