Added support for the ipsec.conf aaa_identity keyword

This commit is contained in:
Martin Willi
2010-08-31 17:52:52 +02:00
parent 81137552e5
commit 64d7b0733f
9 changed files with 18 additions and 0 deletions
@@ -502,6 +502,11 @@ static auth_cfg_t *build_auth_cfg(private_stroke_config_t *this,
}
cfg->add(cfg, AUTH_RULE_EAP_IDENTITY, identity);
}
if (msg->add_conn.aaa_identity)
{
cfg->add(cfg, AUTH_RULE_AAA_IDENTITY,
identification_create_from_string(msg->add_conn.aaa_identity));
}
}
else
{