Skip to main content

Governance Connectors Management API Definition

You're reading Identity & Access Management 7.0.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

This is the RESTful API for managing identity governance configurations in WSO2 Identity Server. These configurations are grouped into five main categories. Each category has subcategories which are called connectors, and properties of connectors as mentioned below.

Password Policies

Password History

Property display nameProperty namePurpose
Validate password historypasswordHistory.enableUser will not be allowed to use previously used passwords.
Password history validation countpasswordHistory.countRestrict reusing this number of previously used passwords during a password update.

Password Patterns

Property display nameProperty namePurpose
Validate passwords based on a policy patternpasswordPolicy.enableValidate user passwords against a policy.
Minimum number of characterspasswordPolicy.min.lengthThis denotes the minimum number of characters in the password.
Maximum number of characterspasswordPolicy.max.lengthThis denotes the maximum number of characters in the password.
Password pattern regexpasswordPolicy.patternThe regular expression pattern to validate the password.
Error message on pattern violationpasswordPolicy.errorMsgThe error message that will be displayed when a pattern violation is detected in the password.
User Onboarding

Self Registration

Property display nameProperty namePurpose
User self registrationSelfRegistration.EnableUsers are allowed to self register to the system.
Lock user account on creationSelfRegistration.LockOnCreationLock self-registered user account until e-mail verification.
Manage notifications sending internallySelfRegistration.Notification.InternallyManageThis property should be disabled if the client application handles notification sending.
Prompt reCaptchaSelfRegistration.ReCaptchaThis denotes whether reCaptcha verification is required during self registration.
User self registration verification link expiry timeSelfRegistration.VerificationCode.ExpiryTimeThis denotes the expiry time in minutes for the verification link.
User self registration SMS OTP expiry timeSelfRegistration.VerificationCode.SMSOTP.ExpiryTimeThis denotes the expiry time in minutes for the SMS OTP.
User self registration callback URL regexSelfRegistration.CallbackRegexThis prefix will be used to validate the callback URL.
Manage Self-Sign-Up purposes_url_listPurposeSelfSignUpManage Self-Sign-Up purposes
Send sign up confirmation emailSelfRegistration.NotifyAccountConfirmationThis enable sending notification for self signup confirmation.
Prompt reCaptcha on re-send confirmationSelfRegistration.ResendConfirmationReCaptchaThis prompts reCaptcha verification for resend confirmation.
Enable Auto Login After Account ConfirmationSelfRegistration.AutoLogin.EnableUser will be logged in automatically after the account confirmation.
Alias of the key used to sign to cookieSelfRegistration.AutoLogin.AliasNameThis is the alias of the key used to sign to cookie. The public key has to be imported to the keystore.

Lite User Registration

Property display nameProperty namePurpose
Lite user registrationLiteRegistration.EnableUsers are allowed to self register to the system without a password.
Lock user account on creationLiteRegistration.LockOnCreationThe self-registered user account will be locked until e-mail verification.
Manage notifications sending internallyLiteRegistration.Notification.InternallyManageThis property should be disabled if the client application handles notification sending.
Prompt reCaptchaLiteRegistration.ReCaptchaThe reCaptcha verification will be prompted during self registration.
Lite user registration verification link expiry timeLiteRegistration.VerificationCode.ExpiryTimeSpecify the expiry time in minutes for the verification link.
Lite user registration SMS OTP expiry timeLiteRegistration.VerificationCode.SMSOTP.ExpiryTimeSpecify the expiry time in minutes for the SMS OTP.
Lite user registration callback URL regexLiteRegistration.CallbackRegexThis regular expression pattern will be used to validate the callback URL.
Manage Lite-Sign-Up purposes_url_listPurposeSelfSignUpManage Lite-Sign-Up purposes

Ask Password

Property display nameProperty namePurpose
Enable user email verificationEmailVerification.EnableA verification notification will be triggered during user creation.
Enable account lock on creationEmailVerification.LockOnCreationThe user account will be locked during user creation.
Manage notifications sending internallyEmailVerification.Notification.InternallyManageDisable if the client application handles notification sending.
Email verification code expiry timeEmailVerification.ExpiryTimeSet the time span that the verification e-mail would be valid, in minutes. (For infinite validity period, set -1)
Ask password code expiry timeEmailVerification.AskPassword.ExpiryTimeSet the time span that the ask password e-mail would be valid, in minutes. (For infinite validity period, set -1)
Temporary password generation extension classEmailVerification.AskPassword.PasswordGeneratorTemporary password generation extension point in ask password feature
Manage JIT provisioning purposes_url_listPurposeJITProvisioningClick here to manage just in time provisioning purposes.
Login Attempts Security

Account Lock

Property display nameProperty namePurpose
Lock user accountsaccount.lock.handler.enableLock user accounts on failed login attempts
Maximum failed login attemptsaccount.lock.handler.On.Failure.Max.AttemptsNumber of failed login attempts allowed before the account is locked.
Initial account lock durationaccount.lock.handler.TimeThe time period for which an account will remain locked during the first account locking instance. Account will be automatically unlocked after this time period.
Account lock duration increment factoraccount.lock.handler.login.fail.timeout.ratioAccount lock duration will be increased by this factor. Ex: Initial duration: 5m; Increment factor: 2; Next lock duration: 5 x 2 = 10m
Manage notification sending internallyaccount.lock.handler.notification.manageInternallyThis property should be disabled if the client application handles notification sending.

reCaptcha for SSO Login

Property display nameProperty namePurpose
Always prompt reCaptchasso.login.recaptcha.enable.alwaysAlways prompt reCaptcha verification during SSO login flow.
Prompt reCaptcha after max failed attemptssso.login.recaptcha.enablePrompt reCaptcha verification during SSO login flow only after the max failed attempts exceeded.
Max failed attempts for reCaptchasso.login.recaptcha.on.max.failed.attemptsNumber of failed attempts allowed without prompting reCaptcha verification.
Other Settings

Consent Information Controller

Property display nameProperty namePurpose
Controller NamepiiControllerName of the first Controller who collects the data
Contact NamecontactContact name of the Controller
Email AddressemailContact email address of the Controller
Phone NumberphoneContact phone number of the Controller
On BehalfonBehalfA user information (PII) Processor acting on behalf of a Controller or PII Processor
UrlpiiControllerUrlA URL for contacting the Controller
CountryaddressCountryCountry of the Controller
LocalityaddressLocalityLocality of the Controller
RegionaddressRegionRegion of the Controller
Post Office Box NumberpostOfficeBoxNumberPost Office Box Number of the Controller
Postal CodepostalCodePostal Code of the Controller
Street AddressstreetAddressStreet Address of the Controller

Analytics Engine Configuration

Property display nameProperty namePurpose
Target Hostadaptive_authentication.analytics.receiverTarget Host
Enable Basic Authenticationadaptive_authentication.analytics.basicAuth.enabledEnable Basic Authentication
User IDadaptive_authentication.analytics.basicAuth.usernameTarget Host Secured User ID
Secret__secret__adaptive_authentication.analytics.basicAuth.passwordTarget Host Secured Secret
HTTP Connection Timeoutadaptive_authentication.analytics.HTTPConnectionTimeouHTTP Connection Timeout in milliseconds
HTTP Read Timeoutadaptive_authentication.analytics.HTTPReadTimeoutHTTP Read Timeout in milliseconds
HTTP Connection Request Timeoutadaptive_authentication.analytics.HTTPConnectionRequestTimeoutHTTP Connection Request Timeout in milliseconds
Hostname verificationadaptive_authentication.analytics.hostnameVerfierHostname verification. (STRICT, ALLOW_ALL)

User Claim Update

Property display nameProperty namePurpose
Enable user email verification on updateUserClaimUpdate.Email.EnableVerificationTrigger a verification notification when user's email address is updated.
Email verification on update link expiry timeUserClaimUpdate.Email.VerificationCode.ExpiryTimeValidity time of the email confirmation link in minutes.
Enable user mobile number verification on updateUserClaimUpdate.MobileNumber.EnableVerificationTrigger a verification SMS OTP when user's mobile number is updated.
Mobile number verification on update SMS OTP expiry timeUserClaimUpdate.MobileNumber.VerificationCode.ExpiryTimeValidity time of the mobile number confirmation OTP in minutes.
Account Management

Idle Account Suspend

Property display nameProperty namePurpose
Suspend idle user accountssuspension.notification.enableLock user account after a given idle period.
Allowed idle time span in dayssuspension.notification.account.disable.delayTime period in days before locking the user account.
Alert sending time periods in dayssuspension.notification.delaysSend warning alerts to users before locking the account after each period. Comma-separated multiple values accepted.

Account Disable

Property display nameProperty namePurpose
Enable account disablingaccount.disable.handler.enableAllow an administrative user to disable user accounts
Manage notification sending internallyaccount.disable.handler.notification.manageInternallyThis property should be disabled if the client application handles notification sending.

Account Recovery

Property display nameProperty namePurpose
Notification based password recoveryRecovery.Notification.Password.EnableThis enables password recovery via email notifications.
Enable reCaptcha for password recoveryRecovery.ReCaptcha.Password.EnablereCaptcha is prompted during password recovery via email notifications.
Security question based password recoveryRecovery.Question.Password.EnableThis enables password recovery via answering security questions.
Number of questions required for password recoveryRecovery.Question.Password.MinAnswersThis defines the number of security questions that are required to be answered.
Security question answer regexRecovery.Question.Password.ReCaptcha.EnableThe regular expression pattern for answers provided for security questions.
Enforce security question answer uniquenessRecovery.Question.Answer.UniquenessThis enforces the uniqueness of the answers provided for security questions.
Enable reCaptcha for security questions based password recoveryRecovery.Question.Password.ReCaptcha.EnablePrompt reCaptcha for security question-based password recovery
Max failed attempts for reCaptchaRecovery.Question.Password.ReCaptcha.MaxFailedAttemptsThe reCaptcha will be prompted only after it exceeds this number of failed attempts.
Username recoveryRecovery.Notification.Username.EnableThis enables the user to recover the account if the user has forgotten the username.
Enable reCaptcha for username recoveryRecovery.ReCaptcha.Username.EnablereCaptcha is prompted during username recovery
Manage notifications sending internallyRecovery.Notification.InternallyManageThis property should be disabled if the client application handles notification sending.
Notify when recovery successRecovery.NotifySuccessUpon a successful password reset, a success notification is sent to the user.
Notify when security questions based recovery startsRecovery.Question.Password.NotifyStartA notification will be sent to the user that the security question-based recovery has started.
Recovery link expiry time in MinutesRecovery.ExpiryTimeThe expiration time for the recovery link.
SMS OTP expiry timeRecovery.Notification.Password.ExpiryTime.smsOtpExpiration time of the SMS OTP code for password recovery
SMS OTP regexRecovery.Notification.Password.smsOtp.RegexThe regular expression pattern for SMS OTP in format [allowed characters]{length}. Supported character ranges are a-z, A-Z, 0-9.
Enable forced security questionsRecovery.Question.Password.Forced.EnableForce users to provide answers to security questions during sign-in
Minimum number of forced security questions to be answeredRecovery.Question.MinQuestionsToAnswerForce users to provide answers to more security questions during sign-in if the number of questions answered is lesser than this value
Recovery callback URL regexRecovery.CallbackRegexThis regular expression pattern will be used to validate the recovery callback URL.
Enable Auto Login After Password ResetRecovery.AutoLogin.EnableUser will be logged in automatically after completing the Password Reset wizard

Password Reset

Property display nameProperty namePurpose
Enable password reset via recovery e-mailRecovery.AdminPasswordReset.RecoveryLinkUser gets notified with a link to reset password.
Enable password reset via OTPRecovery.AdminPasswordReset.OTPUser gets notified with a one-time password to try with SSO login.
Enable password reset offlineRecovery.AdminPasswordReset.OfflineAn OTP will be generated and stored in users claims.

The APIs can be used to retrieve the above mentioned categories, connectors of the categories, properties of the categories, and update the property values.

Was this page helpful?