Package org.jitterbit.integration.server.ldap

Examples of org.jitterbit.integration.server.ldap.LdapException


            for (NumericOid oid : classOids) {
                structs.add(factory.getStructure(oid));
            }
            return structs.toArray(new ObjectClassStructure[structs.size()]);
        } catch (NamingException ex) {
            LdapException ldapEx = new LdapException("Failed to lookup class definitions.", ex);
            ldapEx.setConnectionInfo(connInfo);
            ServerDebugLog.LOG.throwing(getClass().getName(), "lookupStructures", ex);
            throw ldapEx;
        } finally {
            JndiUtils.close(ctx);
        }
View Full Code Here


            } catch (NamingException ex) {
                String msg = "Failed to lookup class definitions.";
                if (className != null) {
                    msg += " An error occurred while retrieving the definition of the class \"" + className + "\".";
                }
                LdapException ldapEx = new LdapException(msg, ex);
                ldapEx.setConnectionInfo(connInfo);
                ServerDebugLog.LOG.throwing(getClass().getName(), "lookupStructures", ex);
                throw ldapEx;
            }
        }
View Full Code Here

            DirContext schema = ctx.getSchema("");
            NamingEnumeration<NameClassPair> names = getClassNames(schema);
            return getClassDefinitions(schema, names, skipAbstract, skipObsolete);
        }
        catch (NamingException ex) {
            LdapException ldapEx = new LdapException("Failed to retrieve requested object classes: " + ex.getMessage(), ex);
            ldapEx.setConnectionInfo(connInfo);
            ServerDebugLog.LOG.throwing(getClass().getName(), "lookupObjectClassDefinitions", ex);
            throw ldapEx;
        }
        finally {
            JndiUtils.close(ctx);
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.ldap.LdapException

Copyright © 2018 www.massapicom. 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.