Index: app-config/src/main/java/org/duracloud/appconfig/domain/Application.java =================================================================== --- app-config/src/main/java/org/duracloud/appconfig/domain/Application.java (revision 831) +++ app-config/src/main/java/org/duracloud/appconfig/domain/Application.java (working copy) @@ -17,6 +17,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import java.util.HashMap; import java.util.Map; import java.util.Collection; @@ -63,7 +64,9 @@ String xml = config.asXml(); String url = getInitUrl(config); try { - Map headers = null; + Map headers = new HashMap(); + headers.put("REMOTE_USER", new RootUserCredential().getUsername()); +// headers.put("REMOTE_USER", "awoods"); return getRestHelper().post(url, xml, headers); } catch (Exception e) { @@ -83,7 +86,8 @@ public RestHttpHelper.HttpResponse setSecurityUsers(Collection users) { String xml = SecurityUsersDocumentBinding.createDocumentFrom(users); try { - Map headers = null; + Map headers = new HashMap(); + headers.put("REMOTE_USER", new RootUserCredential().getUsername()); return getRestHelper().post(getSecurityUrl(), xml, headers); } catch (Exception e) { Index: duradmin/src/main/webapp/WEB-INF/config/security-config.xml =================================================================== --- duradmin/src/main/webapp/WEB-INF/config/security-config.xml (revision 831) +++ duradmin/src/main/webapp/WEB-INF/config/security-config.xml (working copy) @@ -14,9 +14,10 @@ - + + - + @@ -25,31 +26,63 @@ - + - - + + - - - - + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: duradmin/pom.xml =================================================================== --- duradmin/pom.xml (revision 831) +++ duradmin/pom.xml (working copy) @@ -317,6 +317,60 @@ test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + org.springframework.ldap + spring-ldap + 1.2.1 + + + commons-logging + commons-logging + + + + + + + + + + + + + + + org.apache.tiles