org.jasig.services.persondir.support
Interface IUsernameAttributeProvider
- All Known Implementing Classes:
- SimpleUsernameAttributeProvider
public interface IUsernameAttributeProvider
Provider for the username attribute to use when one is not otherwise provided.
- Version:
- $Revision$
- Author:
- Eric Dalquist
getUsernameAttribute
String getUsernameAttribute()
- Returns:
- The username attribute to use when one is not otherwise provided, will never return null.
getUsernameFromQuery
String getUsernameFromQuery(Map<String,List<Object>> 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.
Copyright © 2012 Jasig. All Rights Reserved.