Advanced login settings

The Advanced login settings section of the Login Management view is used to configure advanced login settings and logout page detection.

Scan configuration > Login management > Advanced options > Advanced login settings.

Setting

Details

Advanced login settings

Always log out before logging in: Logs out any existing session before AppScan executes the login sequence, ensuring the scan starts from a clean, logged-out state. Use this when applications maintain persistent sessions or SSO to prevent reusing stale credentials and improve authentication accuracy.

Limit login attempts to avoid lockout: If your application locks a user out after a certain number of failed login attempts, select this check box and configure the number. AppScan sends valid login requests between failed login requests to ensure this threshold is never reached, as further scanning would then be impossible.

Logout page detection

AppScan® uses a regexp to identify logout pages. This helps it scan more efficiently by avoiding getting logged out too often and having to log in again. It is also used to identify logout pages when you configure the scan not to test login/logout pages (see Test options), and to log out when needed as part of some security tests. This is the default regexp:
(logout|signout|logoff|signoff|exit|quit|invalidate)
If any of the indicators in this regexp appear in the URL, AppScan® assumes that the page is a logout page, and therefore that it is currently logged in to the application.
Note: AppScan may add to this expression when you record a Login procedure if it identifies additional indicators.

You can add further indicators as necessary, but be sure to follow the regular expression syntax rules.

Note: The Expression Test PowerTool (Tools > Power Tools > Expression Test) can be useful for verifying the syntax of your regular expressions. If you need additional help, you may find the following link useful: http://www.regular-expressions.info/quickstart.html