We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

How to Use and Create Attributes

  • Last updated on

There are two types of attributes: session attributes and user attributes. Both types can be used to personalize web forwards or to configure single sign-on authentication.

Session Attributes

The following Session attributes are available:

  • ${session:username} – This session attribute contains the username used to log into the SSL VPN.
  • ${session:password} – This session attribute contains the password used to log into the SSL VPN.

User Attributes

You can create user attributes that are filled in by the end user in the web portal or CudaLaunch. User attributes are used when different usernames or personalized variables are needed. To enter a user attribute in the web forward configuration, use the following format:

  • ${user:user_attribute_name}

Create a User Attribute

  1. Go to VPN > SSL VPN.
  2. Click the Resources tab.
  3. Under the Native Apps section, click Show Advanced Options.
  4. Click Add User Attribute. The Add User Attribute window opens.
  5. Configure the following settings for each user attribute:
    • Format – Select the type of user attribute.
    • Name – Enter the name of the user attribute.
    • Label – Enter the name visible to the end user.
    • Description – Enter a description of the attribute.
    • Default Value – If the attribute should be set to default value, enter the value here.
    • Category – Enter a category name. User attributes will be grouped by category in the web portal.
    • Weight – Enter a value. Attributes are sorted within a category according to their weight.
    • Validator – Enter a regular expression to validate the input.

      4 digits PIN number
      [0-9]{4}

      URL
      (https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?

      IPv4 address
      (?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)

  6. Click Save.

Filling in User Attributes

When a web resource is launched that uses user attributes that have not been filled in yet, the user is prompted to enter the values. Alternatively, user attributes can also be entered in the Settings menu of the web portals or CudaLaunch.

Last updated on