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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatMessage
(String label, EnumSet<com.hazelcast.security.impl.WeakSecretError> weaknesses) EnumSet<com.hazelcast.security.impl.WeakSecretError>
static WeakSecretException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ENFORCED
public static final boolean ENFORCED
-
-
Constructor Details
-
WeakSecretException
-
-
Method Details
-
getWeaknesses
-
of
public static WeakSecretException of(String label, EnumSet<com.hazelcast.security.impl.WeakSecretError> weaknesses) -
formatMessage
-