public interface GridSecurityCredentialsProvider
For grid node, security credentials provider is specified in
GridConfiguration.setSecurityCredentialsProvider(GridSecurityCredentialsProvider)
configuration property. For Java clients, you can provide credentials in
GridClientConfiguration.setSecurityCredentialsProvider(...) method.
Getting credentials through GridSecurityCredentialsProvider abstraction allows
users to provide custom implementations for storing user names and passwords in their
environment, possibly in encrypted format. GridGain comes with
GridSecurityCredentialsBasicProvider which simply provides
the passed in login and password when encryption or custom logic is not required.
In addition to login and password, security credentials allow for
specifying userObject as well, which can be used
to pass in any additional information required for authentication.
| Modifier and Type | Method and Description |
|---|---|
GridSecurityCredentials |
credentials()
Gets security credentials.
|
GridSecurityCredentials credentials() throws GridException
GridException - If failed.Copyright © 2014. All rights reserved.