test_class.file: pross-server/src/test/java/com/ibm/pross/server/configuration/permissions/ClientPermissionsTest.java
test_class.identifier: ClientPermissionsTest
test_case.body: @Test
  	public void testClientPermissionsMapOfStringInteger() {
  
  		Map<String, Integer> map = new HashMap<>();
  		final String secret1 = "test1";
  		final String secret2 = "test2";
  		map.put(secret1, Permissions.DELETE.getCode());
  		map.put(secret1, Permissions.ENABLE.getCode());
  		map.put(secret2, Permissions.DISABLE.getCode());
  
  		// Create permissions from map
  		final ClientPermissions clientPermission = new ClientPermissions(map);
  		Assert.assertEquals(2, clientPermission.getSecrets().size());
  	}
test_case.class_method_signature: ClientPermissionsTest.testClientPermissionsMapOfStringInteger()
test_case.full_signature: @Test public void testClientPermissionsMapOfStringInteger()
test_case.identifier: testClientPermissionsMapOfStringInteger
test_case.invocations: put getCode put getCode put getCode assertEquals size getSecrets
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testClientPermissionsMapOfStringInteger()
focal_class.declarator: secretPermissions
focal_class.modifier: private final
focal_class.original_string: private final ConcurrentMap<String, Integer> secretPermissions;
focal_class.type: ConcurrentMap<String, Integer>
focal_class.var_name: secretPermissions
focal_class.file: pross-server/src/main/java/com/ibm/pross/server/configuration/permissions/ClientPermissions.java
focal_class.identifier: ClientPermissions
focal_class.class_method_signature: ClientPermissions.ClientPermissions()
focal_class.full_signature: public  ClientPermissions()
focal_class.identifier: ClientPermissions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ClientPermissions()
focal_class.class_method_signature: ClientPermissions.ClientPermissions(final Map<String, Integer> secretPermissions)
focal_class.full_signature: public  ClientPermissions(final Map<String, Integer> secretPermissions)
focal_class.identifier: ClientPermissions
focal_class.modifiers: public
focal_class.parameters: (final Map<String, Integer> secretPermissions)
focal_class.signature:  ClientPermissions(final Map<String, Integer> secretPermissions)
focal_class.class_method_signature: ClientPermissions.addPermission(final String secretName, final Permissions permission)
focal_class.full_signature: public void addPermission(final String secretName, final Permissions permission)
focal_class.identifier: addPermission
focal_class.modifiers: public
focal_class.parameters: (final String secretName, final Permissions permission)
focal_class.return: void
focal_class.signature: void addPermission(final String secretName, final Permissions permission)
focal_class.class_method_signature: ClientPermissions.removePermission(final String secretName, final Permissions permission)
focal_class.full_signature: public void removePermission(final String secretName, final Permissions permission)
focal_class.identifier: removePermission
focal_class.modifiers: public
focal_class.parameters: (final String secretName, final Permissions permission)
focal_class.return: void
focal_class.signature: void removePermission(final String secretName, final Permissions permission)
focal_class.class_method_signature: ClientPermissions.hasPermission(final String secretName, final Permissions permission)
focal_class.full_signature: public boolean hasPermission(final String secretName, final Permissions permission)
focal_class.identifier: hasPermission
focal_class.modifiers: public
focal_class.parameters: (final String secretName, final Permissions permission)
focal_class.return: boolean
focal_class.signature: boolean hasPermission(final String secretName, final Permissions permission)
focal_class.class_method_signature: ClientPermissions.clearPermission(final String secretName)
focal_class.full_signature: public void clearPermission(final String secretName)
focal_class.identifier: clearPermission
focal_class.modifiers: public
focal_class.parameters: (final String secretName)
focal_class.return: void
focal_class.signature: void clearPermission(final String secretName)
focal_class.class_method_signature: ClientPermissions.clearAllPermissions()
focal_class.full_signature: public void clearAllPermissions()
focal_class.identifier: clearAllPermissions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearAllPermissions()
focal_class.class_method_signature: ClientPermissions.getSecrets()
focal_class.full_signature: protected Set<String> getSecrets()
focal_class.identifier: getSecrets
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getSecrets()
focal_method.body: protected Set<String> getSecrets() {
  		return Collections.unmodifiableSet(new HashSet<String>(this.secretPermissions.keySet()));
  	}
focal_method.class_method_signature: ClientPermissions.getSecrets()
focal_method.full_signature: protected Set<String> getSecrets()
focal_method.identifier: getSecrets
focal_method.invocations: unmodifiableSet keySet
focal_method.modifiers: protected
focal_method.parameters: ()
focal_method.return: Set<String>
focal_method.signature: Set<String> getSecrets()