* @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;
//---------------------------
private String baseDn;
- private boolean writableLdap = false;
-
private boolean useDefaultRoleName = false;
@PostConstruct
this.groupsDn = this.baseDn;
}
- this.writableLdap = userConf.getBoolean( UserConfigurationKeys.LDAP_WRITABLE, this.writableLdap );
-
this.useDefaultRoleName =
userConf.getBoolean( UserConfigurationKeys.LDAP_GROUPS_USE_ROLENAME, this.useDefaultRoleName );
}