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

Header login module

The Header login module, used with the Header authenticator, validates requests by looking for specific headers.

Class Name


Parameter Description
user-name-header Header containing the user name. If the request does not contain this header, the authentication fails.
display-name-header Header containing the display name. If not specified, the user name is used as the display name. Optional.

<loginModule name="HeaderLoginModule" 

    <parameter name="user-name-header" value="userid"/>
    <parameter name="display-name-header" value="username"/>


Parent Authentication configuration