Examples of LdapRuntimeException


Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

                // case 3
                entry.add(SchemaConstants.STRING_ATTRIBUTE,
                        StringUtils.join(descriptions, ServerConfig.multipleValueSeparator));
            }
        } catch (LdapException e) {
            throw new LdapRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

    public static Dn concatDn(String rdnAttribute, String rdnValue, Dn basedn) {
        try {
            Rdn rdn = new Rdn(rdnAttribute, rdnValue);
            return basedn.add(rdn);
        } catch (LdapInvalidDnException e) {
            throw new LdapRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

            return null;
        }
        try {
            return attribute.getString();
        } catch (LdapInvalidAttributeValueException e) {
            throw new LdapRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

            while (cursor.next()) {
                Entry entry = cursor.getEntry();
                result.add(extractAttributeEmptyCheck(entry, attributeType));
            }
        } catch (Exception e) {
            throw new LdapRuntimeException(e);
        }
        return result;
    }
View Full Code Here

Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

    public static Dn baseDn() {
        try {
            return new Dn(SchemaConstants.BASE_DN);
        } catch (LdapInvalidDnException e) {
            throw new LdapRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

        List<User> userList;
        try {
            userList = createUsers(ldapDao.getDirectChildren(DnFactory.users()));
        } catch (NoSuchNodeException | MissingParentException e) {
            LOGGER.error("LDAP exception", e);
            throw new LdapRuntimeException(e);
        }
        return userList;
    }
View Full Code Here

Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

        List<Assignment> assignmentList;
        try {
            assignmentList = createAssignments(ldapDao.getDirectChildren(DnFactory.assignments()));
        } catch (NoSuchNodeException | MissingParentException e) {
            LOGGER.error("LDAP exception", e);
            throw new LdapRuntimeException(e);
        }
        return assignmentList;
    }
View Full Code Here

Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

        List<Project> projectList;
        try {
            projectList = createProjects(ldapDao.getDirectChildren(DnFactory.projects()));
        } catch (NoSuchNodeException | MissingParentException e) {
            LOGGER.error("LDAP exception", e);
            throw new LdapRuntimeException(e);
        }
        return projectList;
    }
View Full Code Here

Examples of org.openengsb.connector.userprojects.ldap.internal.LdapRuntimeException

        List<Role> roleList;
        try {
            roleList = createRoles(ldapDao.getDirectChildren(DnFactory.roles()));
        } catch (NoSuchNodeException | MissingParentException e) {
            LOGGER.error("LDAP exception", e);
            throw new LdapRuntimeException(e);
        }
        return roleList;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.