@groovy.transform.CompileStatic class DatabaseOnlyLdapAuthoritiesPopulator extends java.lang.Object implements InitializingBean, LdapAuthoritiesPopulator
| Modifiers | Name | Description |
|---|---|---|
protected GrantedAuthority |
defaultRole |
| Type | Name and description |
|---|---|
GrailsUserDetailsService |
userDetailsServiceDependency injection for the user details service. |
| Constructor and description |
|---|
DatabaseOnlyLdapAuthoritiesPopulator() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
afterPropertiesSet() |
|
java.util.Collection<GrantedAuthority> |
getGrantedAuthorities(DirContextOperations userData, java.lang.String username) |
|
void |
setDefaultRole(java.lang.String defaultRoleName)The default role which will be assigned to all users. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Dependency injection for the user details service.
The default role which will be assigned to all users.
defaultRoleName - the role name, including any desired prefix.