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 Details

    • ENFORCED

      public static final boolean ENFORCED
  • Constructor Details

    • WeakSecretException

      public WeakSecretException(String message)
  • Method Details

    • getWeaknesses

      public EnumSet<com.hazelcast.security.impl.WeakSecretError> getWeaknesses()
    • of

      public static WeakSecretException of(String label, EnumSet<com.hazelcast.security.impl.WeakSecretError> weaknesses)
    • formatMessage

      public static String formatMessage(String label, EnumSet<com.hazelcast.security.impl.WeakSecretError> weaknesses)