Cisco Cisco AnyConnect Secure Mobility Client v3.x Administrator's Guide

Page of 262
在 Apple iOS 设备上,anyconnect://close 命令可在 onsuccess 或 onerror 参数中用来关闭 AnyConnect
GUI:
anyconnect://connect?host=vpn.company.com
&onsuccess=anyconnect%3A%2F%2Fclose
• 提供连接信息并在 URI 中预填用户名和密码:
anyconnect://connect/?name=Example&host=hr.example.com
&prefill_username=user1&prefill_password=password1
anyconnect:connect?name=Example&host=hr.example.com/group-url
&prefill_username=user1&prefill_password=password1
• 为双重身份验证提供连接信息并预填用户名和密码:
anyconnect://connect/?name=Example&host=hr.example.com
&prefill_username=user1&prefill_password=password1
&prefill_secondary_username=user2&prefill_secondary_password=password2
• 提供连接信息、预填用户名和密码,并指定连接配置文件别名:
anyconnect://connect/?name=Example&host=hr.example.com
&prefill_username=user1&prefill_password=password1
&prefill_group_list=10.%20Single%20Authentication
断开 VPN
使用此 AnyConnect URI 处理程序可将用户从 VPN 断开。
anyconnect:[//]disconnect[/]&onsuccess=URL
参数
onsuccess 参数仅适用于 Android 设备。 指定 URL 在此连接断开或已处于断开状态时打开。
示例
anyconnect:disconnect
导入证书
使用此 URI 处理程序命令可将 PKCS12 编码的证书捆绑导入到终端。 AnyConnect 客户端使用终端
上已安装的 PKCS12 编码的证书向 ASA 验证自身。 仅支持 pkcs12 证书类型。
anyconnect:[//]import[/]?type=pkcs12&uri=http%3A%2F%2Fexample.com%2Fcertificatename.p12
参数
• type - 仅支持 pkcs12 证书类型。
• uri - 在其中找到证书的 URL 编码的标识符。
示例
anyconnect:import?type=pkcs12&uri=http%3A%2F%2Fexample.com%2FCertName.p12
   Cisco AnyConnect 安全移动客户端管理员指南,4.0 
228
移动设备上的 AnyConnect
断开 VPN