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

Page of 262
其中
Android-ID
bytesToHexString
的定义如下:
Android-ID = Secure.getString(context.getContentResolver(), Secure.ANDROID_ID)
String bytesToHexString(byte[] sha1rawbytes){
String hashHex = null;
if (sha1rawbytes != null){
StringBuffer sb = new StringBuffer(sha1rawbytes.length * 2);
for (int i = 0; i < sha1rawbytes.length; i++){
String s = Integer.toHexString(0xFF & sha1rawbytes[i]).toUpperCase();
if (s.length() < 2) { sb.append("0");}
sb.append(s);
}
hashHex = sb.toString();
}
return hashHex;
}
 ASA 安全网关上配置移动设备 VPN 连接
过程
步骤 1 请参阅
事项:
例外
ASDM 位置
属性
AnyConnect Mobile 忽略主页 URL 设置,您无法
在身份验证成功后重定向移动客户端。
Configuration(配置)>
Remote Access VPN
(远程访
问 VPN> Network (Client)
Access
(网络(客户端)访
问)> Group Policies(组策
略)> Add / Edit(添加/
辑)> Advanced(高级)>
AnyConnect Client
AnyConnect 客户端)>
Customization
(定制)
主页 URL
请勿在用于 AnyConnect 移动客户端连接的隧道
组(连接配置文件)的“名称”或“别名”字段
中使用特殊字符。 使用特殊字符可能导致
AnyConnect 客户端显示错误消息:Connect attempt
has failed after logging that it is Unable to process
response from Gateway(
在登录后连接尝试失败
无法
处理来自网关的响应
)。
Configuration(配置)>
Remote Access VPN
(远程访
问 VPN> Network (Client)
Access
(网络(客户端)访
问)> AnyConnect
Connection Profiles
AnyConnect 连接配置文
件)> Add / Edit(添加/
辑)
AnyConnect 连接配
置文件的名称和别
   Cisco AnyConnect 安全移动客户端管理员指南,4.0 
214
移动设备上的 AnyConnect
 ASA 安全网关上配置移动设备 VPN 连接