public void setDefaultRoles(final String defaultRolesStr) {
        this.defaultRoles = Arrays.asList(defaultRolesStr.split(","));
    }
Setter for defaultRoles

@param defaultRolesStr a coma-separated string of role names
pac4j-core/src/main/java/org/pac4j/core/authorization/generator/DefaultRolesAuthorizationGenerator.java