Note that there are some explanatory texts on larger screens.

plurals
  1. POWorklight: multiple security realms
    primarykey
    data
    text
    <p>I want to know can we have multiple security tests defined in the <code>authenticationconfig.xml</code> file?</p> <p>Will it work fine, or cause problems?</p> <p>Sort of like this:</p> <pre><code> &lt;securityTests&gt; &lt;mobileSecurityTest name="myMobileSecurity"&gt; &lt;testUser realm="myAppRealm"/&gt; &lt;testDeviceId provisioningType="none"/&gt; &lt;/mobileSecurityTest&gt; &lt;customSecurityTest name="PushApplication-custom-securityTest"&gt; &lt;test realm="PushAppRealm" isInternalUserID="true" /&gt; &lt;/customSecurityTest&gt; &lt;customSecurityTest name="myAppSecurityTestCustom"&gt; &lt;test realm="myAppRealm" isInternalUserID="true" /&gt; &lt;/customSecurityTest&gt; &lt;/securityTests&gt; &lt;realms&gt; &lt;realm loginModule="abcModule" name="myAppRealm"&gt; &lt;className&gt;com.worklight.core.auth.ext.FormBasedAuthenticator&lt;/className&gt; &lt;parameter name="login-page" value="login.html" /&gt; &lt;/realm&gt; &lt;realm loginModule="PushAppLoginModule" name="PushAppRealm"&gt; &lt;className&gt;com.worklight.core.auth.ext.BasicAuthenticator&lt;/className&gt; &lt;parameter name="basic-realm-name" value="PushAppRealm"/&gt; &lt;/realm&gt; &lt;realm loginModule="requireLogin" name="WorklightConsole"&gt; &lt;className&gt;com.worklight.core.auth.ext.FormBasedAuthenticator&lt;/className&gt; &lt;onLoginUrl&gt;/console&lt;/onLoginUrl&gt; &lt;/realm&gt; &lt;/realms&gt; &lt;loginModules&gt; &lt;loginModule name="PushAppLoginModule"&gt; &lt;className&gt;com.abc.MyCustomLoginModule&lt;/className&gt; &lt;/loginModule&gt; &lt;loginModule name="abcModule"&gt; &lt;className&gt;com.worklight.core.auth.ext.NonValidatingLoginModule&lt;/className&gt; &lt;/loginModule&gt; &lt;loginModule name="requireLogin"&gt; &lt;className&gt;com.worklight.core.auth.ext.SingleIdentityLoginModule&lt;/className&gt; &lt;/loginModule&gt; &lt;/loginModules&gt; </code></pre>
    singulars
    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.
    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