Skip to main content

Configuring Authentication for PingCastle Enterprise

Authentication

PingCastle Enterprise supports multiple authentication methods that can work simultaneously. You can configure any combination of Local Authentication, Windows Authentication, OpenID Connect, Entra ID Authentication, Header Authentication, SAML2, and Client Certificate authentication, allowing users to choose their preferred login method.

Set up each method's identity provider using the instructions on this page, then enter the resulting values on the Login options, Windows authentication, Certificate authentication, Header authentication, OIDC Connect, and SAML screens under Configuration > Settings in the PingCastle Enterprise web interface.

note

Most changes on these screens take effect within about 30 seconds, without a restart. Two setting groups — HTTPS redirection and allowed hosts settings, and database schema changes — restart PingCastle Enterprise automatically: it stops itself about 1 second after you save, then IIS restarts it. Six other restart-flagged settings — the three file logging settings, maximum concurrent scans, and both SCIM rate limit settings — require you to restart PingCastle Enterprise manually after saving.

tip

You can enable OpenID Connect, SAML2, Windows Authentication, and Disable Password Login during installation, on the Authentication method screen of the installer. See Step 2 - Run PingCastleEnterpriseInstaller.exe (production). The instructions on this page apply whether you configure a method during installation or afterward on the Configuration > Settings screens.

Local authentication

PingCastle Enterprise enables local authentication by default, using a username and password stored in the PingCastle Enterprise database. It needs no additional configuration.

To hide the local authentication option when you configure other authentication methods, enable Disable Password Login on Configuration > Settings > Login options.

warning

When you enable both Disable Password Login and Windows Authentication, any account calling the API must be a member of the Windows group you set in Windows Group.

Login options

The Login options screen also includes these fields:

FieldDescription
Minimum Password LengthThe minimum number of characters required for local authentication passwords. Applies only when you enable Local Authentication.
Session TimeoutThe number of minutes a user session can remain idle before PingCastle Enterprise logs the user out.

Custom login message

You can display a custom message on the login page, such as an internal notice or an authorized-use banner, by setting Custom Login Message on Configuration > Settings > Login options.

Example:

<p>The PingCastle UK Instance for Consto</p>

The custom message appears on the login page within about 30 seconds:

The login screen showing the custom login message

Security Note

The Custom Login Message setting renders raw HTML without escaping. While this allows formatting flexibility using Bootstrap CSS styles, Content Security Policy (CSP) protections prevent injection of custom CSS or JavaScript.