public class PasswordPolicySpec extends AbstractPolicySpec
| Constructor and Description |
|---|
PasswordPolicySpec() |
| Modifier and Type | Method and Description |
|---|---|
int |
getHistoryLength() |
int |
getMaxLength() |
int |
getMinLength() |
List<String> |
getPrefixesNotPermitted() |
List<String> |
getSchemasNotPermitted() |
List<String> |
getSuffixesNotPermitted() |
List<String> |
getWordsNotPermitted() |
boolean |
isAllowNullPassword() |
boolean |
isAlphanumericRequired() |
boolean |
isDigitRequired() |
boolean |
isLowercaseRequired() |
boolean |
isMustEndWithAlpha() |
boolean |
isMustEndWithDigit() |
boolean |
isMustEndWithNonAlpha() |
boolean |
isMustntEndWithAlpha() |
boolean |
isMustntEndWithDigit() |
boolean |
isMustntEndWithNonAlpha() |
boolean |
isMustntStartWithAlpha() |
boolean |
isMustntStartWithDigit() |
boolean |
isMustntStartWithNonAlpha() |
boolean |
isMustStartWithAlpha() |
boolean |
isMustStartWithDigit() |
boolean |
isMustStartWithNonAlpha() |
boolean |
isNonAlphanumericRequired() |
boolean |
isUppercaseRequired() |
void |
setAllowNullPassword(boolean allowNullPassword) |
void |
setAlphanumericRequired(boolean alphanumericRequired) |
void |
setDigitRequired(boolean digitRequired) |
void |
setHistoryLength(int historyLength) |
void |
setLowercaseRequired(boolean lowercaseRequired) |
void |
setMaxLength(int maxLength) |
void |
setMinLength(int minLength) |
void |
setMustEndWithAlpha(boolean mustEndWithAlpha) |
void |
setMustEndWithDigit(boolean mustEndWithDigit) |
void |
setMustEndWithNonAlpha(boolean mustEndWithNonAlpha) |
void |
setMustntEndWithAlpha(boolean mustntEndWithAlpha) |
void |
setMustntEndWithDigit(boolean mustntEndWithDigit) |
void |
setMustntEndWithNonAlpha(boolean mustntEndWithNonAlpha) |
void |
setMustntStartWithAlpha(boolean mustntStartWithAlpha) |
void |
setMustntStartWithDigit(boolean mustntStartWithDigit) |
void |
setMustntStartWithNonAlpha(boolean mustntStartWithNonAlpha) |
void |
setMustStartWithAlpha(boolean mustStartWithAlpha) |
void |
setMustStartWithDigit(boolean mustStartWithDigit) |
void |
setMustStartWithNonAlpha(boolean mustStartWithNonAlpha) |
void |
setNonAlphanumericRequired(boolean nonAlphanumericRequired) |
void |
setUppercaseRequired(boolean uppercaseRequired) |
equals, hashCode, toStringpublic boolean isDigitRequired()
public void setDigitRequired(boolean digitRequired)
public boolean isLowercaseRequired()
public void setLowercaseRequired(boolean lowercaseRequired)
public int getMaxLength()
public void setMaxLength(int maxLength)
public int getMinLength()
public void setMinLength(int minLength)
public boolean isMustEndWithDigit()
public void setMustEndWithDigit(boolean mustEndWithDigit)
public boolean isMustEndWithNonAlpha()
public void setMustEndWithNonAlpha(boolean mustEndWithNonAlpha)
public boolean isMustStartWithDigit()
public void setMustStartWithDigit(boolean mustStartWithDigit)
public boolean isMustStartWithNonAlpha()
public void setMustStartWithNonAlpha(boolean mustStartWithNonAlpha)
public boolean isMustntEndWithDigit()
public void setMustntEndWithDigit(boolean mustntEndWithDigit)
public boolean isMustntEndWithNonAlpha()
public void setMustntEndWithNonAlpha(boolean mustntEndWithNonAlpha)
public boolean isMustntStartWithDigit()
public void setMustntStartWithDigit(boolean mustntStartWithDigit)
public boolean isMustntStartWithNonAlpha()
public void setMustntStartWithNonAlpha(boolean mustntStartWithNonAlpha)
public boolean isNonAlphanumericRequired()
public void setNonAlphanumericRequired(boolean nonAlphanumericRequired)
public boolean isUppercaseRequired()
public void setUppercaseRequired(boolean uppercaseRequired)
public boolean isAlphanumericRequired()
public void setAlphanumericRequired(boolean alphanumericRequired)
public boolean isMustEndWithAlpha()
public void setMustEndWithAlpha(boolean mustEndWithAlpha)
public boolean isMustStartWithAlpha()
public void setMustStartWithAlpha(boolean mustStartWithAlpha)
public boolean isMustntEndWithAlpha()
public void setMustntEndWithAlpha(boolean mustntEndWithAlpha)
public boolean isMustntStartWithAlpha()
public void setMustntStartWithAlpha(boolean mustntStartWithAlpha)
public int getHistoryLength()
public void setHistoryLength(int historyLength)
public boolean isAllowNullPassword()
public void setAllowNullPassword(boolean allowNullPassword)
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.