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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(CallbackHandler callbackHandler) ConfiguresICredentialsFactory
.void
destroy()
DestroysICredentialsFactory
.Creates newCredentials
object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.hazelcast.security.ICredentialsFactory
init, newCredentials
-
Constructor Details
-
StaticCredentialsFactory
-
-
Method Details
-
configure
Description copied from interface:ICredentialsFactory
ConfiguresICredentialsFactory
.- Specified by:
configure
in interfaceICredentialsFactory
- Parameters:
callbackHandler
- callback handler which can provide access to system internals
-
newCredentials
Description copied from interface:ICredentialsFactory
Creates newCredentials
object.- Specified by:
newCredentials
in interfaceICredentialsFactory
- Returns:
- the new Credentials object
-
destroy
public void destroy()Description copied from interface:ICredentialsFactory
DestroysICredentialsFactory
.- Specified by:
destroy
in interfaceICredentialsFactory
-