add mechanism and policy in configuration