|
GemFire 5.7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthInitialize
Specifies the mechanism to obtain credentials for a client or peer. It is
mandatory for clients and peers when running in secure mode and an
Authenticator has 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.
| Method Summary | |
|---|---|
Properties |
getCredentials(Properties securityProps,
DistributedMember server,
boolean isPeer)
Initialize with the given set of security properties and return the credentials for the peer/client as properties. |
void |
init(LogWriter systemLogger,
LogWriter securityLogger)
Initialize the callback for a client/peer. |
| Methods inherited from interface com.gemstone.gemfire.cache.CacheCallback |
|---|
close |
| Method Detail |
|---|
void init(LogWriter systemLogger,
LogWriter securityLogger)
throws AuthenticationFailedException
systemLogger - LogWriter for system logssecurityLogger - LogWriter for security logs
AuthenticationFailedException - if some exception occurs during the initialization
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 credentialsserver - the DistributedMember object of the
server/group-coordinator to which connection is being
attemptedisPeer - true when this is invoked for peer initialization and false
when invoked for client initialization
server
AuthenticationFailedException - in case of failure to obtain the credentials
|
GemFire 5.7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||