In this section:
Any Parasoft tool connected to License Server can request a license. The license will be granted if a token is available. You can define pairs of regex patterns, however, that match user names and host names/IP addresses and grant or deny access to license tokens based the matches.
You can filter access based on individual patterns or group one or more patterns and assign a deny or allow action to the group. Alternatively, you can filter access based on membership to groups imported to User Administration from your LDAP server. Using LDAP groups simplifies license access configuration because specifying regex patterns becomes unnecessary.
If the pattern or pattern group is assigned an allow action, only the pattern(s) defined in the group that match username/host pair(s) will be granted licenses. If the pattern or pattern group is assigned a deny action, licenses will be denied to the matching pattern(s); requests from all other machines will be granted.
The host name format (name or IP) should match the format specified by the tool sending the license token request. Tools on different platforms use different formats. For example, the same machine can be defined in three different ways: 10.9.1.50
, gina
, gina.parasoft.com.pl
. You can verify the user/host format by checking the Tokens Usage Details or Licenses Usage Details report.
You can define individual patterns from the License Details screen. You can access the License Details page by choosing Manage Licenses from the License Server menu and clicking on a link in the Tool name column.
Specify the user name and host name in the Filter requests for section click [Deny] or [Allow].
When a pattern is configured and the [Allow] action is used, only the machines that are included in the filter will be granted licenses. If the [Deny] action is used, licenses will be denied to machines defined in the filter–requests from all other machines will be granted. You can either filter by user on a specific host or define a pattern to filter by groups of hosts and users. For example, if the deny action is applied to the pattern above, all users on hosts with IP addresses starting with 10.10.4 will be denied license tokens.
A group is a collection of username/host patterns. You can create groups that match how dev/test members are segmented and apply filters for more precise control over license access.
The group includes information about patterns and sub-groups matches in parenthesis:
Filter actions are accumulative. You can add a pattern to several groups and any allow actions applied grant additional access to the matched users in the pattern. Deny actions, however, supersede allow actions.
You can specify patterns to manually create groups or use groups defined in User Administration.
Enter a name for the pattern group and click Add. A new empty group is created. The group name appears in the Existing groups section, along with the following codes in parenthesis:
Click Edit button next to the name of a new or existing group to edit.
user1,.*
or user2,192.168.1.101.
You can leverage groups already defined in the User Administration module, rather than of manually creating user groups as described in Manually Creating Groups.
Groups in User Administration will appear in the User groups section. You can click [View] to view details about the group.
The following example demonstrates creating a group with one pattern and denying the group access to license tokens.
.
as the user name and 10.10.4.*
as the host name..
as the user name and 10.10.5.*
as the host name.