Package com.hazelcast.config.security
Class TokenIdentityConfig
java.lang.Object
com.hazelcast.config.security.TokenIdentityConfig
- All Implemented Interfaces:
IdentityConfig
Simple token identity configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionTokenIdentityConfig(byte[] token) TokenIdentityConfig(TokenEncoding encoding, String encodedToken) -
Method Summary
Modifier and TypeMethodDescriptionConverts current configuration to aICredentialsFactoryinstance.copy()Makes a copy (or clone) of the config object.booleanbyte[]getToken()inthashCode()toString()
-
Constructor Details
-
TokenIdentityConfig
-
TokenIdentityConfig
public TokenIdentityConfig(byte[] token)
-
-
Method Details
-
getTokenEncoded
-
getToken
public byte[] getToken() -
getEncoding
-
asCredentialsFactory
Description copied from interface:IdentityConfigConverts current configuration to aICredentialsFactoryinstance.- Specified by:
asCredentialsFactoryin interfaceIdentityConfig- Parameters:
cl- class loader to be used if the credentials factory class has to be constructed.- Returns:
ICredentialsFactoryinstance
-
copy
Description copied from interface:IdentityConfigMakes a copy (or clone) of the config object.- Specified by:
copyin interfaceIdentityConfig
-
hashCode
public int hashCode() -
equals
-
toString
-