public enum PamPasswordRestrictionCause extends Enum<PamPasswordRestrictionCause>
Enum Constant and Description |
---|
ERR_NO_REGEX |
ERR_PWD_EMPTY |
ERR_PWD_IS_OLD_PWD |
ERR_PWD_NOT_MATCH |
ERR_PWD_TOO_SHORT |
OK |
Modifier and Type | Method and Description |
---|---|
static String |
findMessage(int cause)
Return the
PAMMessages , which belongs to the specified cause number. |
int |
getCause() |
String |
getMessage() |
static PamPasswordRestrictionCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PamPasswordRestrictionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PamPasswordRestrictionCause OK
public static final PamPasswordRestrictionCause ERR_PWD_EMPTY
public static final PamPasswordRestrictionCause ERR_PWD_TOO_SHORT
public static final PamPasswordRestrictionCause ERR_PWD_NOT_MATCH
public static final PamPasswordRestrictionCause ERR_NO_REGEX
public static final PamPasswordRestrictionCause ERR_PWD_IS_OLD_PWD
public static PamPasswordRestrictionCause[] values()
for (PamPasswordRestrictionCause c : PamPasswordRestrictionCause.values()) System.out.println(c);
public static PamPasswordRestrictionCause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCause()
public String getMessage()
public static String findMessage(int cause)
PAMMessages
, which belongs to the specified cause number.cause
- The cause number, which will be used for searching.null
if the cause number is not known.Copyright © 2022 KOBIL Systems GmbH. All rights reserved.