本文整理汇总了Java中org.gluu.persist.model.base.SimpleBranch类的典型用法代码示例。如果您正苦于以下问题:Java SimpleBranch类的具体用法?Java SimpleBranch怎么用?Java SimpleBranch使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
SimpleBranch类属于org.gluu.persist.model.base包,在下文中一共展示了SimpleBranch类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("application");
branch.setDn(getDnForPushApplication(null));
ldapEntryManager.persist(branch);
}
示例2: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("device");
branch.setDn(getDnForPushDevice(null));
ldapEntryManager.persist(branch);
}
示例3: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("resources");
branch.setDn(getDnForResource(null));
ldapEntryManager.persist(branch);
}
示例4: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("scopes");
branch.setDn(getDnForScopeDescription(null));
ldapEntryManager.persist(branch);
}
示例5: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch(String branchDn, String ou) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName(ou);
branch.setDn(branchDn);
ldapEntryManager.persist(branch);
}
示例6: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch(final String userInum) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("clientAuthorizations");
branch.setDn(getBaseDnForClientAuthorizations(userInum));
ldapEntryManager.persist(branch);
}
示例7: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch(final String userInum) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("pairwiseIdentifiers");
branch.setDn(getBaseDnForPairwiseIdentifiers(userInum));
ldapEntryManager.persist(branch);
}
示例8: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch(final String userInum) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("fido");
branch.setDn(getBaseDnForU2fUserDevices(userInum));
ldapEntryManager.persist(branch);
}
示例9: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("pct");
branch.setDn(branchBaseDn());
ldapEntryManager.persist(branch);
}
示例10: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("resources");
branch.setDn(getDnForResource(null));
ldapEntryManager.persist(branch);
}
示例11: containsBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public boolean containsBranch() {
return ldapEntryManager.contains(SimpleBranch.class, getDnForPushApplication(null));
}
示例12: containsBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public boolean containsBranch() {
return ldapEntryManager.contains(SimpleBranch.class, getDnForPushDevice(null));
}
示例13: containsBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public boolean containsBranch() {
return ldapEntryManager.contains(SimpleBranch.class, getDnForResource(null));
}
示例14: containsBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
public boolean containsBranch() {
return ldapEntryManager.contains(SimpleBranch.class, getDnForScopeDescription(null));
}
示例15: containsBranch
import org.gluu.persist.model.base.SimpleBranch; //导入依赖的package包/类
private boolean containsBranch(final String userInum) {
return ldapEntryManager.contains(SimpleBranch.class, getDnForFidoDevice(userInum,null));
}