List < String > wordList ( ) { List < String > words = new ArrayList <> ( ) ; if ( userName != null ) { words . add ( userName ) ; } if ( name != null ) { if ( name . givenName != null ) { words . add ( name . givenName ) ; } if ( name . familyName != null ) { words . add ( name . familyName ) ; } if ( nickName != null ) { words . add ( nickName ) ; } } if ( emails != null ) { for ( Email email : emails ) { words . add ( email . getValue ( ) ) ; } } return words ; }
Creates a word list from the user data for use in password checking implementations