public interface LoginModule
getEncodedCredentials(java.lang.String)
method is used to generate encoded credentials which are validated by the server.
Custom implementations of LoginModule can be used by calling LoginManager.login(String, LoginModule).| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncodedCredentials(String cacheName)
Gets a byte array representing credentials to be passed to server.
|
byte[] getEncodedCredentials(String cacheName) throws NamedCacheSecurityException
cacheName - The cache name for which to generate encoded credentials.NamedCacheSecurityException - if generation of encoded credentials failedCopyright (C) 2007-2014 ScaleOut Software, Inc.