Package com.hazelcast.security
Class WeakSecretException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hazelcast.core.HazelcastException
com.hazelcast.security.WeakSecretException
- All Implemented Interfaces:
 Serializable
public final class WeakSecretException
extends com.hazelcast.core.HazelcastException
Exception thrown when a weak secret is detected.
 Contains the collection of weakness types, and a beautified human readable message.
- See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDeprecated, for removal: This API element is subject to removal in a future version. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatMessage(String label, EnumSet<com.hazelcast.security.impl.WeakSecretError> weaknesses) EnumSet<com.hazelcast.security.impl.WeakSecretError>static WeakSecretExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Field Details
- 
ENFORCED
Deprecated, for removal: This API element is subject to removal in a future version.Because it does not consider properties from the config (Config.getProperties()), as implemented inWeakSecretsConfigChecker.policyEnforced 
 - 
 - 
Constructor Details
- 
WeakSecretException
 
 - 
 - 
Method Details
- 
getWeaknesses
 - 
of
public static WeakSecretException of(String label, EnumSet<com.hazelcast.security.impl.WeakSecretError> weaknesses)  - 
formatMessage
 
 - 
 
Config.getProperties()), as implemented inWeakSecretsConfigChecker.policyEnforced