IBM Worklight v5.0.5 > Develop IBM Worklight applications > Authentication configuration

Configure device provisioning

To use a CA certificate other than the default Worklight CA certificate, configure the following properties in worklight.properties:

wl.ca.keystore.path Path to the keystore, relative to the server folder in the project, for example:

    conf/my-cert.jks
wl.ca.keystore.type Type of the keystore file. jks or pkcs12
wl.ca.keystore.password Password to the keystore file.
wl.ca.key.alias Alias of the entry where the private key and certificate are stored, in the keystore.
wl.ca.key.alias.password Password to the alias in the keystore.

To change the auto-provisioning mechanism to use different granularity (application, device or group) or a different list of pre-required realms, create your own customized authenticator, login module and challenge handler.

Typical response header...

common/init
/*-secure-
{
    "challenges":
    {"wl_antiXSRFRealm":
        {
            "WL-Instance-Id":"7grtgd9a2pdk10mcq35de9tj8a"
        }
    },
    "WL-Authentication-Success":
    {
        "wl_anonymousUserRealm":
        {
            "userId":"824ea4fe-a666-41ee-a50d-60def167d033",
            "attributes":{},
            "isUserAuthenticated":1,
            "displayName":"824ea4fe-a666-41ee-a50d-60def167d033"
        }
    }
}*/
http://pavftwor012.sonebiz.com:9080/sonepar/apps/services/preview/NorthEast/common/0/default/NorthEast.htm


Parent Authentication configuration





+

Search Tips   |   Advanced Search