Tabnine Logo
LdapURL$Entry.getBaseDn
Code IndexAdd Tabnine to your IDE (free)

How to use
getBaseDn
method
in
org.ldaptive.LdapURL$Entry

Best Java code snippets using org.ldaptive.LdapURL$Entry.getBaseDn (Showing top 20 results out of 315)

origin: com.floragunn/ldaptive

sb.append("/").append(LdapUtils.percentEncode(getBaseDn()));
sb.append("?");
origin: org.ldaptive/ldaptive

sb.append("/").append(LdapUtils.percentEncode(getBaseDn()));
sb.append("?");
origin: vt-middleware/ldaptive

 /**
  * Compare all the properties of the supplied entries.
  *
  * @param  entry1  to compare
  * @param  entry2  to compare
  */
 private void compareEntries(final LdapURL.Entry entry1, final LdapURL.Entry entry2)
 {
  Assert.assertEquals(entry1.getScheme(), entry2.getScheme());
  Assert.assertEquals(entry1.getHostname(), entry2.getHostname());
  Assert.assertEquals(entry1.getPort(), entry2.getPort());
  Assert.assertEquals(entry1.getBaseDn(), entry2.getBaseDn());
  Assert.assertEquals(entry1.getAttributes(), entry2.getAttributes());
  Assert.assertEquals(entry1.getScope(), entry2.getScope());
  Assert.assertEquals(entry1.getFilter(), entry2.getFilter());
 }
}
origin: vt-middleware/ldaptive

 referralRequest.setBaseDn(url.getEntry().getBaseDn());
} else {
 referralRequest.setBaseDn(request.getBaseDn());
origin: org.ldaptive/ldaptive

 referralRequest.setBaseDn(url.getEntry().getBaseDn());
} else {
 referralRequest.setBaseDn(request.getBaseDn());
origin: vt-middleware/ldaptive

@Override
protected ModifyDnRequest createReferralRequest(final ModifyDnRequest request, final LdapURL url)
{
 final ModifyDnRequest referralRequest = new ModifyDnRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new ModifyDnReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setDeleteOldRDn(request.getDeleteOldRDn());
 referralRequest.setNewDn(request.getNewDn());
 return referralRequest;
}
origin: vt-middleware/ldaptive

@Override
protected ModifyRequest createReferralRequest(final ModifyRequest request, final LdapURL url)
{
 final ModifyRequest referralRequest = new ModifyRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new ModifyReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setAttributeModifications(request.getAttributeModifications());
 return referralRequest;
}
origin: vt-middleware/ldaptive

@Override
protected CompareRequest createReferralRequest(final CompareRequest request, final LdapURL url)
{
 final CompareRequest referralRequest = new CompareRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new CompareReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setAttribute(request.getAttribute());
 return referralRequest;
}
origin: org.ldaptive/ldaptive

@Override
protected ModifyDnRequest createReferralRequest(final ModifyDnRequest request, final LdapURL url)
{
 final ModifyDnRequest referralRequest = new ModifyDnRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new ModifyDnReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setDeleteOldRDn(request.getDeleteOldRDn());
 referralRequest.setNewDn(request.getNewDn());
 return referralRequest;
}
origin: com.floragunn/ldaptive

@Override
protected CompareRequest createReferralRequest(final CompareRequest request, final LdapURL url)
{
 final CompareRequest referralRequest = new CompareRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new CompareReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setAttribute(request.getAttribute());
 return referralRequest;
}
origin: com.floragunn/ldaptive

@Override
protected ModifyRequest createReferralRequest(final ModifyRequest request, final LdapURL url)
{
 final ModifyRequest referralRequest = new ModifyRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new ModifyReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setAttributeModifications(request.getAttributeModifications());
 return referralRequest;
}
origin: com.floragunn/ldaptive

@Override
protected ModifyDnRequest createReferralRequest(final ModifyDnRequest request, final LdapURL url)
{
 final ModifyDnRequest referralRequest = new ModifyDnRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new ModifyDnReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setDeleteOldRDn(request.getDeleteOldRDn());
 referralRequest.setNewDn(request.getNewDn());
 return referralRequest;
}
origin: org.ldaptive/ldaptive

@Override
protected AddRequest createReferralRequest(final AddRequest request, final LdapURL url)
{
 final AddRequest referralRequest = new AddRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new AddReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setLdapAttributes(request.getLdapAttributes());
 return referralRequest;
}
origin: com.floragunn/ldaptive

@Override
protected DeleteRequest createReferralRequest(final DeleteRequest request, final LdapURL url)
{
 final DeleteRequest referralRequest = new DeleteRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new DeleteReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 return referralRequest;
}
origin: org.ldaptive/ldaptive

@Override
protected DeleteRequest createReferralRequest(final DeleteRequest request, final LdapURL url)
{
 final DeleteRequest referralRequest = new DeleteRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new DeleteReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 return referralRequest;
}
origin: vt-middleware/ldaptive

@Override
protected AddRequest createReferralRequest(final AddRequest request, final LdapURL url)
{
 final AddRequest referralRequest = new AddRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new AddReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setLdapAttributes(request.getLdapAttributes());
 return referralRequest;
}
origin: org.ldaptive/ldaptive

@Override
protected ModifyRequest createReferralRequest(final ModifyRequest request, final LdapURL url)
{
 final ModifyRequest referralRequest = new ModifyRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new ModifyReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setAttributeModifications(request.getAttributeModifications());
 return referralRequest;
}
origin: org.ldaptive/ldaptive

@Override
protected CompareRequest createReferralRequest(final CompareRequest request, final LdapURL url)
{
 final CompareRequest referralRequest = new CompareRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new CompareReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setAttribute(request.getAttribute());
 return referralRequest;
}
origin: vt-middleware/ldaptive

@Override
protected DeleteRequest createReferralRequest(final DeleteRequest request, final LdapURL url)
{
 final DeleteRequest referralRequest = new DeleteRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new DeleteReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 return referralRequest;
}
origin: com.floragunn/ldaptive

@Override
protected AddRequest createReferralRequest(final AddRequest request, final LdapURL url)
{
 final AddRequest referralRequest = new AddRequest();
 referralRequest.setControls(request.getControls());
 referralRequest.setIntermediateResponseHandlers(request.getIntermediateResponseHandlers());
 referralRequest.setReferralHandler(
  new AddReferralHandler(getReferralLimit(), getReferralDepth() + 1, getReferralConnectionFactory()));
 if (!url.getEntry().isDefaultBaseDn()) {
  referralRequest.setDn(url.getEntry().getBaseDn());
 } else {
  referralRequest.setDn(request.getDn());
 }
 referralRequest.setLdapAttributes(request.getLdapAttributes());
 return referralRequest;
}
org.ldaptiveLdapURL$EntrygetBaseDn

Javadoc

Returns the base DN.

Popular methods of LdapURL$Entry

  • getHostname
    Returns the entryHostname.
  • getPort
    Returns the entryPort.
  • <init>
    Creates a new entry.
  • getAttributes
    Returns the attributes.
  • getFilter
    Returns the filter.
  • getHostnameWithSchemeAndPort
    Returns the scheme://hostname:port.
  • getScheme
    Returns the entryScheme.
  • getScope
    Returns the scope.
  • getUrl
    Returns the formatted URL as scheme://hostname:port/baseDn?attrs?scope?filter.
  • isDefaultBaseDn
    Returns whether a base DN was supplied in this entry.
  • isDefaultFilter
    Returns whether a filter was supplied in this entry.
  • isDefaultScope
    Returns whether a scope was supplied in this entry.
  • isDefaultFilter,
  • isDefaultScope

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Reference (javax.naming)
  • CodeWhisperer alternatives
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