{
// Validate / Fix policy settings arriving from browser.
for ( Map.Entry<String, Policy> entry : getPolicyMap().entrySet() )
{
String policyId = entry.getKey();
Policy policy = entry.getValue();
List<String> options = policy.getOptions();
if ( !connector.getPolicies().containsKey( policyId ) )
{
addActionError( "Policy [" + policyId + "] must be set (missing id)." );
continue;