Configuring Viewpoint > Configuring security in Viewpoint > Configuring login modules

2.5.1 Configuring login modules

To configure login modules

  1. Open the core.xml file located in the Viewpoint home directory. Locate the <security> element.
  2. Use the <login-modules> element to enable extensible security in the Viewpoint framework.
  3. This allows a system administrator to specify one or more LoginModules, which are used to authenticate a user across the domains or realms those LoginModules were defined to access. For more information, see the JAAS Reference Guide.

    1. Set <login-module class="class name">. This sets the LoginModule to be used to authenticate a user. This LoginModule is used to populate the user with "principals" which are then used to authorize the user to take specific actions within the system.
    2. Set the class attribute to the fully-qualified class name of the LoginModule.
    3. Set the flag attribute to control the overall behavior as authentication proceeds down the stack of LoginModules. The JavaDoc for the Configuration class gives a more detailed specification of the purpose and use of these configurations.

Related topics