Interface UsernameAttributeProvider


public interface UsernameAttributeProvider
Provider for the username attribute to use when one is not otherwise provided.
Since:
7.1.0
  • Method Details

    • getUsernameAttribute

      String getUsernameAttribute()
      Gets username attribute.
      Returns:
      The username attribute to use when one is not otherwise provided, will never return null.
    • getUsernameFromQuery

      String getUsernameFromQuery(Map<String,List<Object>> query)
      Gets username from query.
      Parameters:
      query - The query map of attributes
      Returns:
      The username included in the query, determined using the username attribute. Returns null if no username attribute is included in the query.