Tabnine Logo
DummyAccount.removeAttributeValues
Code IndexAdd Tabnine to your IDE (free)

How to use
removeAttributeValues
method
in
com.evolveum.icf.dummy.resource.DummyAccount

Best Java code snippets using com.evolveum.icf.dummy.resource.DummyAccount.removeAttributeValues (Showing top 3 results out of 315)

origin: Evolveum/midpoint

@Test
public void test403removeAllAssignments() throws Exception {
  final String TEST_NAME = "test403removeAllAssignments";
  displayTestTitle(TEST_NAME);
  DummyGroup testersGroup = getDummyResource(RESOURCE_DUMMY_AUTOGREEN_NAME).getGroupByName(GROUP_DUMMY_TESTERS_NAME);
  testersGroup.removeMember(USER_HERMAN_USERNAME);
  
  DummyAccount hermanAccount = getDummyAccount(RESOURCE_DUMMY_AUTOGREEN_NAME, USER_HERMAN_USERNAME);
  hermanAccount.removeAttributeValues(DummyResourceContoller.DUMMY_ACCOUNT_ATTRIBUTE_TITLE_NAME, Arrays.asList("graphic", "cratic"));
  // GIVEN
  Task task = createTask(TEST_NAME);
  OperationResult result = task.getResult();
  
  // WHEN
  displayWhen(TEST_NAME);
  unassignRole(userHermanOid, ROLE_ADMINS_OID);
  
  // THEN
  displayThen(TEST_NAME);
  assertSuccess(result);
  PrismObject<UserType> userAfter = getUser(userHermanOid);
  display("User after", userAfter);
  assertAssignedRole(userAfter, ROLE_AUTOCRATIC_OID);
  assertAssignments(userAfter, 1);
}

origin: Evolveum/midpoint

String name = attr.getName();
try {
  account.removeAttributeValues(name, attr.getValue());
  log.ok("Removed attribute {0} values {1} from {2}, resulting values: {3}",
      name, attr.getValue(), account, account.getAttributeValues(name, Object.class));
origin: Evolveum/midpoint

hermanAccount.removeAttributeValues(DummyResourceContoller.DUMMY_ACCOUNT_ATTRIBUTE_TITLE_NAME, Arrays.asList("didactic"));
com.evolveum.icf.dummy.resourceDummyAccountremoveAttributeValues

Popular methods of DummyAccount

  • <init>
  • addAttributeValues
  • setEnabled
  • setPassword
  • getAttributeValue
  • getAttributeValues
  • getName
  • getPassword
  • replaceAttributeValue
  • replaceAttributeValues
  • addAttributeValue
  • debugDump
  • addAttributeValue,
  • debugDump,
  • getId,
  • isEnabled,
  • isLockout,
  • setLockout,
  • getValidFrom,
  • getValidTo,
  • setValidFrom

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Table (org.hibernate.mapping)
    A relational table
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now