import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.brooklyn.api.mgmt.ManagementContext;
import org.apache.brooklyn.core.mgmt.entitlement.Entitlements;
import org.apache.brooklyn.core.mgmt.entitlement.WebEntitlementContext;
<BUG>import org.apache.brooklyn.core.server.BrooklynServiceAttributes;</BUG>
import org.apache.brooklyn.rest.security.provider.DelegatingSecurityProvider;
import org.apache.brooklyn.util.text.Strings;
<BUG>import com.sun.jersey.core.util.Base64;
public class BrooklynPropertiesSecurityFilter implements Filter {</BUG>
public static final String AUTHENTICATED_USER_SESSION_ATTRIBUTE = "brooklyn.user";

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.brooklyn.api.mgmt.ManagementContext;
import org.apache.brooklyn.core.mgmt.entitlement.Entitlements;
import org.apache.brooklyn.core.mgmt.entitlement.WebEntitlementContext;
import org.apache.brooklyn.rest.security.provider.DelegatingSecurityProvider;
import org.apache.brooklyn.util.text.Strings;
import com.sun.jersey.core.util.Base64;
import org.apache.brooklyn.rest.util.OsgiCompat;
public class BrooklynPropertiesSecurityFilter implements Filter {
public static final String AUTHENTICATED_USER_SESSION_ATTRIBUTE = "brooklyn.user";
