Search in sources :

Example 16 with SimpleBranch

use of io.jans.orm.model.base.SimpleBranch in project jans by JanssenProject.

the class JansPersistenceService method addBranch.

public void addBranch(String dn, String ouName) {
    SimpleBranch branch = new SimpleBranch();
    branch.setOrganizationalUnitName(ouName);
    branch.setDn(dn);
    this.persistenceEntryManager.persist(branch);
}
Also used : SimpleBranch(io.jans.orm.model.base.SimpleBranch)

Aggregations

SimpleBranch (io.jans.orm.model.base.SimpleBranch)16 Fido2RuntimeException (io.jans.fido2.exception.Fido2RuntimeException)2 EntryPersistenceException (io.jans.orm.exception.EntryPersistenceException)2 ProcessBatchOperation (io.jans.orm.model.ProcessBatchOperation)2 List (java.util.List)2 Fido2AuthenticationEntry (io.jans.fido2.model.entry.Fido2AuthenticationEntry)1 Fido2RegistrationEntry (io.jans.fido2.model.entry.Fido2RegistrationEntry)1 MetricEntry (io.jans.model.metric.ldap.MetricEntry)1 DuplicateEntryException (io.jans.orm.exception.operation.DuplicateEntryException)1 SearchException (io.jans.orm.exception.operation.SearchException)1 DefaultBatchOperation (io.jans.orm.model.DefaultBatchOperation)1