Skip to main content
Version: v11.6.2

Switching Security Providers based on Profile

WaveMaker supports many security providers which can be enabled from the Security dialog. You can now switch between the security providers based on the profile that is being used to build the application. To learn more about profiles, see Configuration Profiles.

For example, the Development profile can have Demo security and other profiles can have SAML as the security provider. This feature is now supported in the studio as WaveMaker application security configuration has been migrated from XML-based configuration to Java-based configuration. To know more, see Migration from XML to Java Configuration.

Switching Security Provider

  1. Configure the security provider from the Security dialog. To know more, see Selecting Security Providers.
note

The Security provider has to be configured at least once so that the required profile properties for the providers can be generated.

  1. Once the security providers are configured, navigate to the file explorer and open the profile property file.
  2. Every profile property file has security.activeProviders property that takes the provider name as input and sets it as the security provider for the profile.

security.activeProviders

note

The acceptable values for the security.activeProviders property in WaveMaker Studio are given below.

Security Provider
Name
Security.activeProviders
Value
DemoDEMO
DatabaseDATABASE
Open IDOPENID
Active DirectoryAD
LDAPLDAP
CASCAS
SAMLSAML
Custom SecurityCUSTOM
JWS (Secondary provider)JWS
Opaque Token (Secondary provider)OPAQUE_TOKEN