public interface AuthInitialize extends CacheCallback
Authenticatorhas been configured on the server/locator side respectively. Implementations should register name of the static creation function (that returns an object of the class) as the security-peer-auth-init system property on peers and as the security-client-auth-init system property on clients.
|Modifier and Type||Method and Description|
Initialize with the given set of security properties and return the credentials for the peer/client as properties.
Initialize the callback for a client/peer.
void init(LogWriter systemLogger, LogWriter securityLogger) throws AuthenticationFailedException
Properties getCredentials(Properties securityProps, DistributedMember server, boolean isPeer) throws AuthenticationFailedException
securityProps- the security properties obtained using a call to
DistributedSystem.getSecurityProperties()that will be used for obtaining the credentials
DistributedMemberobject of the server/group-coordinator to which connection is being attempted
isPeer- true when this is invoked for peer initialization and false when invoked for client initialization
AuthenticationFailedException- in case of failure to obtain the credentials
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.