Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.2.0
-
None
-
Windows XP SP3, Intel Core2 Duo
Description
The DomainPermission(string, string) constructor incorrectly sets the 'targets' field to the value supplied for 'actions':
055 public DomainPermission(String actions, String targets)
{ 056 this.domain = getDomain(getClass()); 057 this.actions = StringUtils.splitToSet(actions, SUBPART_DIVIDER_TOKEN); 058 this.targets = StringUtils.splitToSet(actions, SUBPART_DIVIDER_TOKEN); 059 encodeParts(this.domain, actions, targets); 060 }