Enterprise Settings

OneAccess provides multiple authentication methods to meet your security requirements. You can enable the username rule to ensure a consistent username format. For account security, enable MFA and WeLink-based authentication for the administrator portal. For details, see General Settings. To prevent identity theft during login, registration, password resetting, and MFA authentication for VPN access, configure the SMS, voice, email, and DingTalk gateways to verify user identities. For details, see SMS Gateway, Voice Gateway, Email Gateway, and DingTalk Gateway.

General Settings

  • Username Rule
    If you select Username Rule, usernames of users you create or import from identity sources will be automatically filled with the corresponding Chinese PinYin. For example, if you enter a Chinese name, the username will be automatically displayed as PinYin. For details about how to add a user, see Creating a User.

    After you select Username Rule, usernames of new users you created will be renamed using Pinyin.

    Figure 1 Enabling the username rule
  • MFA Authentication

    If you enable this option, you and other administrators need to enter a password and SMS verification code when logging in to the administrator portal.

  • WeLink Authentication
    If you enable this option and configure required parameters, you and other administrators can log in to the administrator portal through WeLink.
    Table 1 Parameter description

    Parameter

    Description

    Client ID

    Client ID of an application that you have created on the WeLink open platform.

    Client Secret

    Client secret of the application.

    Callback URL

    Callback address automatically generated by the platform, for example, https://xxx.huaweibccastle.com/api/ecb/welink/login. You can only view the callback address and cannot modify it.

    Before you enable WeLink authentication, ensure that you have created an application on the WeLink open platform.

  • Verification Method
    • SMS: Users will receive an SMS verification code during login, registration, and password resetting.
    • DingTalk: Users will receive a verification code sent by DingTalk during login, password resetting (by administrators or users), RADIUS authentication, and MFA authentication. Ensure that you have configured the DingTalk gateway.

SMS Gateway

The SMS gateway helps users obtain SMS messages and verification codes. Configure the built-in gateway or custom gateway.

  • (Optional) Built-in gateway
    • The built-in gateway helps users obtain SMS messages and verification codes. If you select Built-in gateway, view the total number of SMS messages and the number of used SMS messages on the SMS Gateway page.
    • View the preset templates for different scenarios. Users will receive the preset SMS message or verification code in each scenario.
    • To test the SMS message template for a specific scenario, click Test in the Operation column, specify a user, and click Test. Then check whether the user can receive the SMS message or verification code.
  • (Optional) Custom gateway

    Register an account at the SMS service provider in advance and configure the gateway parameters in OneAccess. According to national message regulations, message template IDs and codes can be used only after the templates have been registered with and approved by the SMS service provider.

    Supported SMS service providers include HUAWEI CLOUD, Alibaba Cloud, Xiaoshui Intelligence, and ZTHY. HUAWEI CLOUD SMS service is used for illustration.

    1. On the SMS Gateway page, select Custom gateway.
    2. In the Basic Settings area, specify the SMS service provider as HUAWEI CLOUD and set other parameters.
      Table 2 Basic settings

      Parameter

      Description

      * Access Key ID

      Key of an application registered on the SMS service platform.

      * Access Key Secret

      Secret of the application.

      * Signature

      Signature name registered on the SMS service platform.

      * Verification Channel No.

      Channel No. of a verification code signature.

      Notification Channel No.

      Channel No. of a notification signature.

      * App Access Address

      Access address of the application registered on the SMS service platform.

    3. In the Scenario section, enter the template ID or code for each scenario, and click Save.

Voice Gateway

In addition to SMS verification, OneAccess also supports voice verification. If a user cannot receive an SMS verification code, they can choose to send a voice verification code instead.

  • (Optional) Built-in gateway
    • Select Built-in gateway, and view the total and used voice messages.
    • View the supported scenarios and preset voice message templates. Users will receive the preset voice messages in different scenarios.
    • To test the voice message template for a specific scenario, click Test in the Operation column, specify a user, and click Test. Then check whether the user can receive the voice message.
  • (Optional) Custom gateway

    Register an account at the voice service provider in advance and configure the gateway parameters in OneAccess. According to national message regulations, message template IDs and codes can be used only after the templates have been registered with and approved by the voice service provider. Supported voice service providers include HUAWEI CLOUD and Alibaba Cloud. For details about how to configure the HUAWEI CLOUD voice gateway, see Voice Gateway Configuration.

    1. On the Voice Gateway page, select Custom gateway.
    2. For Voice Service Provider, select HUAWEI CLOUD or Alibaba Cloud. Then set the required parameters. HUAWEI CLOUD voice gateway is used for illustration.
      Table 3 Basic settings

      Parameter

      Description

      * Access Key ID

      Access key of an application created on the voice service platform.

      * Access Key Secret

      Access secret of the application.

      * App Access Address

      Access address of the application.

      * Display Number

      Obtain it from the voice service platform.

    3. In the Scenario section, enter the template ID or code, and click Save.

Email Gateway

The email gateway helps users obtain information through emails during password resetting. If you enable the email gateway, OneAccess generates random passwords during password resetting and send them to users over email. The users can then use the received passwords to log in and set new passwords. For details about how to configure the email gateway, see Email Gateway Configuration.

  • Basic settings: Set the email gateway of your enterprise. All parameters are required.
    Table 4 Basic settings

    Parameter

    Description

    * SMTP HOST

    Address of the host that provides SMTP services.

    * SMTP PORT

    Port for providing SMTP services.

    * Email Address

    Email address of your enterprise, that is, the address from which system emails are sent.

    * THEN PERSON NAME

    Email sender. The default value is the name of the current user.

    * EMAIL PASSWORD

    Password of the email account. The default value is the password of the current user.

    * ENCRYPTION TYPE

    The options include NONE, SSL, and TLS.

  • Template settings: Configure the email template for the desired scenario. All parameters are required.
    Table 5 Template settings

    Parameter

    Description

    * Template Name

    The default name is "Reset Password". Change the name based on the application scenario.

    * Email Subject

    Enter a custom subject.

    * Template

    Enter template content.

DingTalk Gateway

If both SMS verification and voice verification cannot meet your requirements, you can use the DingTalk gateway to send verification codes. After you enable the DingTalk gateway, users can choose DingTalk to send verification codes during login, password resetting, MFA authentication, and RADIUS authentication in the user portal.

  • Basic settings
    Table 6 Basic settings

    Parameter

    Description

    * Agent ID

    Agent ID of an application created on the DingTalk open platform.

    * AppKey

    AppKey of the application.

    * AppSecret

    AppSecret of the application.

  • Scenarios
    • To modify a template, click Modify in the Operation column of the row that contains the template, and modify the template content.
    • To test a template, click Test in the Operation column of the row that contains the template, specify a user, and click Test.
    • To copy a template, click Copy in the Operation column of the row that contains the template.