* @author Olivier Lamy
* @since 2.1
*/
-@Service( "ldapRoleMapper#default" )
+@Service("ldapRoleMapper#default")
public class DefaultLdapRoleMapper
implements LdapRoleMapper
{
private LdapConnectionFactory ldapConnectionFactory;
@Inject
- @Named( value = "userConfiguration#default" )
+ @Named(value = "userConfiguration#default")
private UserConfiguration userConf;
//---------------------------
roles.add( role );
}
}
+ else
+ {
+ if ( this.useDefaultRoleName )
+ {
+ roles.add( group );
+ }
+ }
}
return new ArrayList<String>( roles );
}
-
public String getUserIdAttribute()
{
return userIdAttribute;