Note that there are some explanatory texts on larger screens.

plurals
  1. POWorklight having the same session for all users
    primarykey
    data
    text
    <p>I'm facing a problem related to the users' session. I'm using Adapter Based Authentication which I user to authenticate the user to have secret data from the web service.</p> <p>For example when the user1 login, he gets his own data. Now when the user2 login , he gets his own data. But the user1 , also , get the user2's data. So all the users are getting the data of last login user.</p> <p>I tried to put this <code>connectAs="endUser"</code> but I'm still facing the same problem. Any idea to solve this problem.</p> <p>Practically I have the opposite behaviour of this question: <a href="https://stackoverflow.com/questions/17773649/ibm-worklight-6-0-adapter-with-basic-auth-doesnt-update-auth-header-if-client">IBM Worklight 6.0 - Adapter with basic auth doesn't update auth header if client logs out/in</a></p> <p>this is the authenticationConfig.xml :</p> <pre><code>&lt;securityTests&gt; &lt;customSecurityTest name="AdapterSecurityTest"&gt; &lt;test isInternalUserID="true" realm="AdapterAuthRealm" /&gt; &lt;/customSecurityTest&gt; &lt;mobileSecurityTest name="PushSecurityTest"&gt; &lt;testUser realm="AdapterAuthRealm"/&gt; &lt;testDeviceId provisioningType="none"/&gt; &lt;/mobileSecurityTest&gt; &lt;/securityTests&gt; &lt;realms&gt; &lt;realm name="AdapterAuthRealm" loginModule="AdapterLoginModule"&gt; &lt;className&gt;com.worklight.integration.auth.AdapterAuthenticator&lt;/className&gt; &lt;parameter name="login-function" value="MyAdapter.onAuthRequired" /&gt; &lt;parameter name="logout-function" value="MyAdapter.onLogout" /&gt; &lt;/realm&gt; &lt;/realms&gt; &lt;loginModules&gt; &lt;loginModule name="AdapterLoginModule"&gt; &lt;className&gt;com.worklight.core.auth.ext.NonValidatingLoginModule&lt;/className&gt; &lt;/loginModule&gt; &lt;/loginModules&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload