Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Spring message feature used in the example view supports a limited form of internationalization. The browser's Accept-Language header can be used to favor a language-specific message file that will be used in place of the default file. For example, a file named messages/messages_fr.properties would be used for a French locale. As far as we know, Spring limits this to a single locale that either has a match or falls back to the default, which does not allow for preference-based selection.

Have a look at the Messages Translation page to find out how to download existing or create new translations of the IdP's messages.

Reference

Expand
titleProperties

Properties defined in idp.properties directly related to this configuration area follow:

Property

Type

Default

Description

idp.errors.detailed

Boolean

false

Whether to expose detailed error causes in status information provided to outside parties

idp.errors.signed

Boolean

true

Whether to digitally sign error responses in SAML or similar protocols, if signing is otherwise warranted (this can prevent a simple denial of service vector, since errors are simple to trigger)

idp.errors.defaultView

String

error

The default view name to render for exceptions and events

idp.errors.exceptionMappings

Bean ID


Bean defing Properties mapping exception class names to error views. The matching by class name does not support wildcards, but does do substring matches (so it's not necessary to fully qualify the class).

idp.errors.excludedExceptions

Bean ID


Bean defining Collection<Class> identifying exception classes to ignore (causing them to bubble outward, so use with caution)

...