Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:latest:soapsessionbackend [2016/07/19 12:10]
127.0.0.1 external edit
documentation:latest:soapsessionbackend [2019/04/04 20:34] (current)
Line 21: Line 21:
 ^  Required parameters ​ ^^^ ^  Required parameters ​ ^^^
 ^  Name  ^  Comment ​ ^  Example ​ ^ ^  Name  ^  Comment ​ ^  Example ​ ^
-|  **proxy** ​ | URL of sessions SOAP end point | %%http://​auth.example.com/​index.pl/sessions%% |+|  **proxy** ​ | URL of sessions SOAP end point | %%http://​auth.example.com/​index.fcgi/sessions%% |
  
 <note tip>Use /​adminSessions if the Handler need to modify the session, for example if you configured an idle timeout.</​note>​ <note tip>Use /​adminSessions if the Handler need to modify the session, for example if you configured an idle timeout.</​note>​
  
 +By default, only few sessions keys are shared by SOAP (authenticationLevel,​ groups, ipAddr, _startTime, _utime, _lastSeen, _session_id),​ you need to define which other keys you want to share in ''​General parameters''​ » ''​Plugins''​ » ''​Portal servers''​ » ''​SOAP/​REST exported attributes''​.
 +
 +You must start with ''​+''​ to keep default keys, else they will not be shared. For example:
 +<​code>​
 ++ uid cn mail
 +</​code>​
 +
 +To share only the listed attributes:
 +<​code>​
 +_utime _session_id uid cn mail
 +</​code>​
 ==== Apache ==== ==== Apache ====
  
Line 31: Line 42:
 <file apache> <file apache>
 # SOAP functions for sessions management (disabled by default) # SOAP functions for sessions management (disabled by default)
-<​Location /index.pl/​adminSessions>​ +<​Location /index.fcgi/​adminSessions>​ 
-    ​Order deny,​allow +    ​Require ​192.168.2.0/​24
-    Deny from all +
-    Allow from 192.168.2.0/​24+
 </​Location>​ </​Location>​
  
 # SOAP functions for sessions access (disabled by default) # SOAP functions for sessions access (disabled by default)
-<​Location /index.pl/​sessions>​ +<​Location /index.fcgi/​sessions>​ 
-    ​Order deny,​allow +    ​Require ​192.168.2.0/​24
-    Deny from all +
-    Allow from 192.168.2.0/​24+
 </​Location>​ </​Location>​
 </​file>​ </​file>​