From version < 8.3
edited by gru
on 10.03.2021, 10:15
To version < 5.1 >
edited by sas
on 01.07.2020, 14:01
<
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.gru
1 +XWiki.sas
Content
... ... @@ -1,5 +3,3 @@
1 -//Single sign-on// for {{smallcaps}}Ntlm{{/smallcaps}} and Kerberos is a {{formcycle/}} license module which is subject to additional costs.
2 -
3 3  {{content/}}
4 4  
5 5  {{figure image="single_sign_on_ntlm_en.png" width="600"}}
... ... @@ -141,11 +141,6 @@
141 141  Example: user@EXCAMPLE.COM
142 142  {{/info}}
143 143  
144 -{{info}}
145 -To this user you must, in Active Directory for example, register the Domians to be used as ServiePrincipalName beginning with the service class HTTP. You can find more information [[here>>https://social.technet.microsoft.com/wiki/contents/articles/717.service-principal-names-spn-setspn-syntax.aspx||target="_blank"]] or [[here>>https://docs.microsoft.com/en-us/windows-server/networking/sdn/security/kerberos-with-spn||target="_blank"]].
146 -{{/info}}
147 -
148 -(% class="wikigeneratedid" %)
149 149  === Password ===
150 150  
151 151  Password of the service account.
... ... @@ -287,15 +287,17 @@
287 287  
288 288  == Make user data available to forms ==
289 289  
290 -The LDAP user data for the currently authenticated user are stored in the JavaScript object {{code language="none"}}window.XFC_METADATA.user.rawData{{/code}} and can be accessed via JavaScript.
283 +The LDAP user data for the currently authenticated user are stored in the JavaScript object {{code language="none"}}window.XFC_METADATA.currentUser.ldap{{/code}} and can be accessed via JavaScript.
291 291  
292 292  {{info}}
293 -Which data the JSON structure contains under the rawData property depends mainly on the read rights of the LDAP account, which executes the user search in the LDAP system.
286 +The user data that will be retrieved for the current user depends on the (read) permissions of the user account used for the LDAP user lookup.
294 294  {{/info}}
295 295  
296 -To access the property ~/~/userPrincipalName~/~/ of the user from JavaScript, use the following code:
289 +{{panel title="Example"}}
297 297  
298 -{{code language="javascript"}}
291 +To access the property //userPrincipalName// of the user from JavaScript, use the following code:
292 +
293 +{{code language="javascript" title=""}}
299 299  try {
300 300   // Auslesen der Property und Anzeige in einem Label
301 301   var elem = $('[name=txt1]');
... ... @@ -305,3 +305,4 @@
305 305   }
306 306  } catch (err) {}
307 307  {{/code}}
303 +{{/panel}}
Copyright 2000-2024