interface GrailsUserDetailsService extends UserDetailsService
Extension of the standard interface that allows specifying whether or not to load roles from the database, e.g. for LDAP where role information is inferred from LDAP group membership.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract UserDetails |
loadUserByUsername(java.lang.String username, boolean loadRoles)Locates the user based on the username. |
Locates the user based on the username.
username - the username identifying the user whose data is required.loadRoles - whether to load roles at the same time as loading the usernull)