Uses of Class
org.passay.UnicodeString
Packages that use UnicodeString
-
Uses of UnicodeString in org.passay
Fields in org.passay declared as UnicodeStringModifier and TypeFieldDescriptionprivate final UnicodeStringPasswordData.passwordStores the password.private final UnicodeStringPasswordData.usernameStores the username.Methods in org.passay that return UnicodeStringModifier and TypeMethodDescriptionstatic UnicodeStringUnicodeString.copy(UnicodeString string) Creates a copy of the supplied unicode string.UnicodeString.difference(UnicodeString other) Returns the difference of this string and the other string.PasswordData.getPassword()Returns the password.PasswordData.getUsername()Returns the username.UnicodeString.intersection(UnicodeString other) Returns the intersection of this string and the other string.UnicodeString.reverse()Returns a new unicode string with the code points reversed.UnicodeString.reverse(boolean clear) Returns a new unicode string with the code points reversed.UnicodeString.subSequence(int beginIndex, int endIndex) UnicodeString.substring(int beginIndex) Returns a new unicode string containing code points from the supplied begin index.UnicodeString.substring(int beginIndex, int endIndex) Returns a new unicode string containing code points from the supplied begin index (inclusive) to the supplied end index (exclusive).UnicodeString.toLowerCase()Returns a new unicode string with each character lower cased.UnicodeString.toLowerCase(boolean clear) Returns a new unicode string with each character lower cased.UnicodeString.toUpperCase()Returns a new unicode string with each character upper-cased.UnicodeString.toUpperCase(boolean clear) Returns a new unicode string with each character upper-cased.UnicodeString.union(UnicodeString other) Returns the union of this string and the other string.Methods in org.passay with parameters of type UnicodeStringModifier and TypeMethodDescriptionstatic voidPassayUtils.appendRandomCharacters(UnicodeString source, CharBuffer target, int count, Random rand) Appends characters to the supplied target with count random characters from source.booleanUnicodeString.contains(UnicodeString other) Returns whether this unicode string contains the supplied string.static UnicodeStringUnicodeString.copy(UnicodeString string) Creates a copy of the supplied unicode string.UnicodeString.difference(UnicodeString other) Returns the difference of this string and the other string.booleanUnicodeString.endsWith(UnicodeString suffix) Returns whether this unicode string ends with the supplied suffix.(package private) intUnicodeString.indexOf(UnicodeString other) Returns code point index in this unicode string of the supplied string.UnicodeString.intersection(UnicodeString other) Returns the intersection of this string and the other string.booleanUnicodeString.startsWith(UnicodeString prefix) Returns whether this unicode string starts with the supplied prefix.(package private) booleanUnicodeString.startsWith(UnicodeString prefix, int offset) Returns whether this unicode string starts with the supplied prefix at the supplied offset.UnicodeString.union(UnicodeString other) Returns the union of this string and the other string.Constructors in org.passay with parameters of type UnicodeStringModifierConstructorDescriptionPasswordData(UnicodeString password) Creates a new password data.PasswordData(UnicodeString password, Origin origin) Creates a new password data.PasswordData(UnicodeString username, UnicodeString password) Creates a new password data.PasswordData(UnicodeString username, UnicodeString password, List<Reference> references) Creates a new password data.PasswordData(UnicodeString username, UnicodeString password, Origin origin) Creates a new password data.PasswordData(UnicodeString username, UnicodeString password, Origin origin, List<Reference> references) Creates a new password data.PasswordData(UnicodeString username, UnicodeString password, Origin origin, Reference... references) Creates a new password data.PasswordData(UnicodeString username, UnicodeString password, Reference... references) Creates a new password data. -
Uses of UnicodeString in org.passay.generate
Fields in org.passay.generate declared as UnicodeStringModifier and TypeFieldDescriptionprivate final UnicodeStringCharacterRuleAppender.charactersValid characters.private final UnicodeStringFillRemainingCharactersAppender.charactersValid characters.Methods in org.passay.generate that return UnicodeStringModifier and TypeMethodDescriptionPasswordGenerator.generate()Generates a new password of the configured length which meets the requirements of the configured rules.private UnicodeStringPasswordGenerator.getAllowedCharacters(List<? extends Rule> rules) Returns the unique set of allowed characters as defined in the supplied list ofAllowedCharacterRule.CharacterAppender.getCharacters()Returns the characters that may be used in by this appender.CharacterCharacteristicsAppender.getCharacters()CharacterRuleAppender.getCharacters()FillRemainingCharactersAppender.getCharacters()private UnicodeStringFillRemainingCharactersAppender.getCharacters(List<? extends Rule> rules) Return a unicode string that contains the unique characters from allCharacterRuleorCharacterCharacteristicsRulecontained in the supplied list.private UnicodeStringPasswordGenerator.getIllegalCharacters(List<? extends Rule> rules) Returns the unique set of illegal characters as defined in the supplied list ofIllegalCharacterRule.Methods in org.passay.generate with parameters of type UnicodeStringModifier and TypeMethodDescriptionprotected List<CharacterAppender>PasswordGenerator.getCharacterAppenders(List<? extends Rule> rules, UnicodeString allowedChars, UnicodeString illegalChars, Random rand) Returns the list of character appenders used for password generation.Constructors in org.passay.generate with parameters of type UnicodeStringModifierConstructorDescriptionCharacterCharacteristicsAppender(CharacterCharacteristicsRule rule, UnicodeString allowedChars, UnicodeString illegalChars, Random rand) Creates a new character characteristics appender.CharacterRuleAppender(CharacterRule rule, UnicodeString allowedChars, UnicodeString illegalChars, Random rand) Creates a new character rule appender.FillRemainingCharactersAppender(List<? extends Rule> rules, UnicodeString allowedChars, UnicodeString illegalChars, Random rand) Creates a new fill appender. -
Uses of UnicodeString in org.passay.rule
Fields in org.passay.rule declared as UnicodeStringModifier and TypeFieldDescriptionprotected static final UnicodeStringWhitespaceRule.CHARSCharacters: TAB,LF,VT,FF,CR,Space.Fields in org.passay.rule with type parameters of type UnicodeStringModifier and TypeFieldDescriptionprivate final BiFunction<UnicodeString,UnicodeString, Boolean> MatchBehavior.matcherThe matcher function.private final BiFunction<UnicodeString,UnicodeString, Boolean> MatchBehavior.matcherThe matcher function.Methods in org.passay.rule that return UnicodeStringModifier and TypeMethodDescriptionAllowedCharacterRule.getAllowedCharacters()Returns the allowed characters for this rule.IllegalCharacterRule.getIllegalCharacters()Returns the illegal character code points for this rule.WhitespaceRule.getWhitespaceCharacters()Returns the whitespace characters for this rule.Methods in org.passay.rule with parameters of type UnicodeStringModifier and TypeMethodDescriptionprotected abstract CharSequenceAbstractDictionaryRule.doWordSearch(UnicodeString text) Searches the dictionary with the supplied text.protected CharSequenceDictionaryRule.doWordSearch(UnicodeString text) protected CharSequenceDictionarySubstringRule.doWordSearch(UnicodeString text) protected CharSequenceDigestDictionaryRule.doWordSearch(UnicodeString text) private static StringCharacterRule.getMatchingCharacters(String characters, UnicodeString input, int maximumLength) Returns all the characters in the input string that are also in the characters string.booleanMatchBehavior.match(UnicodeString text, int cp) Returns whether text matches the supplied string for this match type.booleanMatchBehavior.match(UnicodeString text, CharSequence s) Returns whether text matches the supplied string for this match type.booleanMatchBehavior.match(UnicodeString text, UnicodeString s) Returns whether text matches the supplied string for this match type.protected booleanDigestHistoryRule.matches(UnicodeString password, Reference reference) Determines whether a digested password matches a reference value.protected booleanDigestSourceRule.matches(UnicodeString password, Reference reference) Determines whether a digested password matches a reference value.protected booleanHistoryRule.matches(UnicodeString password, Reference reference) Determines whether a password matches an historical password.protected booleanSourceRule.matches(UnicodeString password, Reference reference) Determines whether a password matches a source password.Constructors in org.passay.rule with parameters of type UnicodeStringModifierConstructorDescriptionAllowedCharacterRule(UnicodeString unicodeString) Create a new allowed character rule.AllowedCharacterRule(UnicodeString unicodeString, boolean reportAll) Create a new allowed character rule.AllowedCharacterRule(UnicodeString unicodeString, MatchBehavior behavior) Create a new allowed character rule.AllowedCharacterRule(UnicodeString unicodeString, MatchBehavior behavior, boolean reportAll) Create a new allowed character rule.IllegalCharacterRule(UnicodeString unicodeString) Create a new illegal character rule.IllegalCharacterRule(UnicodeString unicodeString, boolean reportAll) Create a new illegal character rule.IllegalCharacterRule(UnicodeString unicodeString, MatchBehavior behavior) Create a new illegal character rule.IllegalCharacterRule(UnicodeString unicodeString, MatchBehavior behavior, boolean reportAll) Create a new illegal character rule.WhitespaceRule(UnicodeString unicodeString) Creates a new whitespace rule.WhitespaceRule(UnicodeString unicodeString, boolean reportAll) Creates a new whitespace rule.WhitespaceRule(UnicodeString unicodeString, MatchBehavior behavior) Creates a new whitespace rule.WhitespaceRule(UnicodeString unicodeString, MatchBehavior behavior, boolean reportAll) Creates a new whitespace rule.Constructor parameters in org.passay.rule with type arguments of type UnicodeStringModifierConstructorDescriptionprivateMatchBehavior(String desc, BiFunction<UnicodeString, UnicodeString, Boolean> matcherFunction) Constructs a MatchBehavior constant.privateMatchBehavior(String desc, BiFunction<UnicodeString, UnicodeString, Boolean> matcherFunction) Constructs a MatchBehavior constant. -
Uses of UnicodeString in org.passay.support
Fields in org.passay.support declared as UnicodeStringModifier and TypeFieldDescriptionprivate final UnicodeStringAbstractReference.passwordReference password.Methods in org.passay.support that return UnicodeStringModifier and TypeMethodDescriptionAbstractReference.getPassword()Reference.getPassword()Returns the password associated with this reference.Constructors in org.passay.support with parameters of type UnicodeStringModifierConstructorDescriptionAbstractReference(String label, UnicodeString password) Creates a new abstract reference.AbstractReference(String label, UnicodeString password, Salt salt) Creates a new abstract reference.HistoricalReference(String label, UnicodeString password) Creates a new historical reference.HistoricalReference(String label, UnicodeString password, Salt salt) Creates a new historical reference.HistoricalReference(UnicodeString password) Creates a new historical reference.SourceReference(String label, UnicodeString password) Creates a new source reference.SourceReference(String label, UnicodeString password, Salt salt) Creates a new source reference.SourceReference(UnicodeString password) Creates a new source reference.