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
- Configure the security provider from the Security dialog. To know more, see Selecting Security Providers.
The Security provider has to be configured at least once so that the required profile properties for the providers can be generated.
- Once the security providers are configured, navigate to the file explorer and open the profile property file.
- 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.
The acceptable values for the security.activeProviders
property in WaveMaker Studio are given below.
Security Provider Name | Security.activeProviders Value |
---|---|
Demo | DEMO |
Database | DATABASE |
Open ID | OPENID |
Active Directory | AD |
LDAP | LDAP |
CAS | CAS |
SAML | SAML |
Custom Security | CUSTOM |
JWS (Secondary provider) | JWS |
Opaque Token (Secondary provider) | OPAQUE_TOKEN |