webMethods 10.2 | Dynamic Apps Platform | Administering My webMethods Server | Managing the User Interface | Creating Login Page Rules
 
Creating Login Page Rules
The Manage Login Page Rules page allows you to define rules that dictate what login page should be used. Login page rules can be defined to dynamically set the default login page for a given for a given user, group, or role.
* To create a new login page rule
1. As system administrator: Administration > User Interface > Manage Login Page Rules > Create New Rule.
2. In the Name field, type a name for the rule.
3. (Optional) In the Description field, type a description for the new rule.
4. Unless you want to disable the rule during creation, leave Is Enabled selected.
5. To add a condition for individual users, click Current User(s) and do the following:
a. In the Keywords field, type a keyword representing the users you want to search for, and click Search.
b. Move one or more users to the Selected box and click Apply.
6. To add a condition based on group or role membership, click Group / Role Membership and do the following:
a. Under Search For, choose the Groups or Roles option.
b. In the Keywords field, type a keyword representing the groups or roles you want to search for, and click Search.
c. Move one or more groups or roles to the Selected box and click Apply.
7. To add a condition based on user attributes, click User Attributes, on the Pick User Attribute list, choose a user attribute, and click Apply.
For more information about the user attributes in the list, see User Information.
8. To add a condition based on global session attributes, click Global Session and do the following:
a. In the Global Session Attribute Name field, type the name of the global session attribute.
b. (Optional) In the Variable Value field, type a value for the global session attribute.
c. Click Apply.
9. To add a condition based on the request header, click Request and do the following:
a. Choose the expression, and click Submit.
b. In the Condition field, complete the expression.
For example, assume that you want to match any HTTP GET request. The wizard moves #{request.method} into the Condition field and you type the remainder:
#{request.method} == "GET"
10. To add a condition that matches the current resource or a parent of the current resource, click Parent Resource and then do the following:
a. To find children of a resource, click the name of the resource.
b. To select a resource, click the option button to the left of the resource.
c. Click Apply.
11. To add a condition that matches the current resource type, click Current Resource Type, choose the resource type and do the following:
a. To find children of a resource, click the name of the resource.
b. To select a resource, click the option button to the left of the resource.
c. Click Apply.
12. To add a condition for a resource property and a value associated with it, click Resource Properties, and do the following:
a. In the Property Name field, type the property name.
b. In the Property Value field, type the property value.
c. Click Apply.
For example, if you want to match files that are PDFs, the property name is mimeType and the property value is pdf.
13. In the Result field, type an alias for the login page, or to browse to the page, click Pick and do the following:
a. To find children of a resource, click the name of the resource.
b. To select a resource, click the option button to the left of the resource.
c. Click Apply.
14. Click Create Rule.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.