code: @Deprecated
      public void setDefaultRole(String defaultRole) {
          Assert.notNull(defaultRole, "The defaultRole property cannot be set to null");
          this.defaultRole = new SimpleGrantedAuthority(defaultRole);
      }
docs: The default role which will be assigned to all users.
  
  @param defaultRole the role name, including any desired prefix.
  @deprecated Assign a default role in the {@code AuthenticationProvider} using a {@code GrantedAuthoritiesMapper}.