| @@ 272-278 (lines=7) @@ | ||
| 269 | <ClientSideCredential> |
|
| 270 | <allow-save>true</allow-save> |
|
| 271 | '; |
|
| 272 | if ($this->useAnon) { |
|
| 273 | if ($this->outerUser == '') { |
|
| 274 | $profileFileCont .= '<AnonymousIdentity>@</AnonymousIdentity>'; |
|
| 275 | } else { |
|
| 276 | $profileFileCont .= '<AnonymousIdentity>' . $this->outerId . '</AnonymousIdentity>'; |
|
| 277 | } |
|
| 278 | } |
|
| 279 | $profileFileCont .= '</ClientSideCredential> |
|
| 280 | '; |
|
| 281 | $profileFileCont .= $this->glTtlsServerValidation(); |
|
| @@ 323-329 (lines=7) @@ | ||
| 320 | <IdentityPrivacy xmlns="http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV2"> |
|
| 321 | <EnableIdentityPrivacy>true</EnableIdentityPrivacy> |
|
| 322 | '; |
|
| 323 | if ($this->outerUser == '') { |
|
| 324 | $profileFileCont .= '<AnonymousUserName/> |
|
| 325 | '; |
|
| 326 | } else { |
|
| 327 | $profileFileCont .= '<AnonymousUserName>' . $this->outerUser . '</AnonymousUserName> |
|
| 328 | '; |
|
| 329 | } |
|
| 330 | $profileFileCont .= '</IdentityPrivacy> |
|
| 331 | </PeapExtensions> |
|
| 332 | '; |
|