package coldfusion.server;

import java.security.Permission;
import java.util.HashMap;
import java.util.Map;

//import coldfusion.security.BasicPolicy;

public interface SecurityService extends Service {

	public abstract Map getContexts();

	//public abstract BasicPolicy getBasicPolicy();

	public abstract HashMap getCompiledCrossSiteScriptPatterns();

	public abstract String crossSiteProtectString(String arg0);

	public abstract boolean isJvmSecurityEnabled();

	public abstract boolean isSandboxSecurityEnabled();

	public abstract void setSandboxSecurityEnabled(boolean arg0);

	public abstract void checkPermission(Permission arg0);

	public abstract void setJvmSecurityEnabled(boolean arg0);

	public abstract void authenticateAdmin();

	public abstract void setAdminPassword(String arg0);

	public abstract boolean isAdminSecurityEnabled();

	public abstract void setAdminSecurityEnabled(boolean arg0);

	public abstract boolean checkAdminPassword(String arg0, String arg1);

	public abstract boolean checkAdminPassword(String arg0);

	public abstract String getAdminHash(Object arg0);

	public abstract void setRdsPassword(String arg0);

	public abstract boolean checkRdsPassword(String arg0);

	public abstract boolean isRdsSecurityEnabled();

	public abstract void setRdsSecurityEnabled(boolean arg0);

	public abstract Map getSettings();

	public abstract void setSettings(Map arg0) throws ServiceException;

	public abstract void registerWithWatchService();

	public abstract void setEnableWatch(boolean arg0);

}