robe-auth/src/main/java/io/robe/auth/AbstractAuthResource.java
public void verifyAccountNameStrength(String accountName) throws AuthenticationException {
        Matcher matcher = PATTERN.matcher(accountName);
        if (!matcher.matches()) {
            throw new AuthenticationException(accountName + " is not a valid email");
        }
    }
public void verifyAccountNameStrength(String accountName) throws AuthenticationException {
        Matcher matcher = PATTERN.matcher(accountName);
        if (!matcher.matches()) {
            throw new AuthenticationException(accountName + " is not a valid email");
        }
    }
public void verifyAccountNameStrength ( String accountName ) throws AuthenticationException { Matcher matcher = PATTERN . matcher ( accountName ) ; if ( ! matcher . matches ( ) ) { throw new AuthenticationException ( accountName + " is not a valid email" ) ; } }
Ensures that the account name passes site-specific complexity requirements, like minimum length.

@param accountName the account name
@throws io.dropwizard.auth.AuthenticationException if account name does not meet complexity requirements
Ensures that the account name passes site - specific complexity requirements like minimum length .