5.2.2 Specifying Common Class Properties

Both basic and password classes can use Query Property, JSP Property, and MainJSP Property. You can also specify these properties on a method derived from the class.

If you require to create multiple methods from the same class, consider the following conditions:

  • If you want the methods to share the same properties, configure the properties on the class.

  • If you want the methods to use different values for the properties, such as one method specifying one custom login page and another method specifying a different custom login page, then you must specify the properties on the method.

This section includes the following topics: