Package com.hazelcast.config.security
Class StaticCredentialsFactory
java.lang.Object
com.hazelcast.config.security.StaticCredentialsFactory
- All Implemented Interfaces:
 ICredentialsFactory
The credentials factory implementation which just takes credentials in a constructor and provides it for every
 
newCredentials() call.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(CallbackHandler callbackHandler) ConfiguresICredentialsFactory.voiddestroy()DestroysICredentialsFactory.Creates newCredentialsobject.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hazelcast.security.ICredentialsFactory
init, newCredentials 
- 
Constructor Details
- 
StaticCredentialsFactory
 
 - 
 - 
Method Details
- 
configure
Description copied from interface:ICredentialsFactoryConfiguresICredentialsFactory.- Specified by:
 configurein interfaceICredentialsFactory- Parameters:
 callbackHandler- callback handler which can provide access to system internals
 - 
newCredentials
Description copied from interface:ICredentialsFactoryCreates newCredentialsobject.- Specified by:
 newCredentialsin interfaceICredentialsFactory- Returns:
 - the new Credentials object
 
 - 
destroy
public void destroy()Description copied from interface:ICredentialsFactoryDestroysICredentialsFactory.- Specified by:
 destroyin interfaceICredentialsFactory
 
 -