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


Parameters

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" 
             canBeResourceLogin="true" 
             isIdentityAssociationKey="true" 
             audit="true">

    <className>com.worklight.core.auth.ext.HeaderLoginModule</className>
    <parameter name="user-name-header" value="userid"/>
    <parameter name="display-name-header" value="username"/>

</loginModule>


Parent Authentication configuration