Tabnine Logo
DirSyncControl.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.ldaptive.ad.control.DirSyncControl
constructor

Best Java code snippets using org.ldaptive.ad.control.DirSyncControl.<init> (Showing top 9 results out of 315)

origin: org.ldaptive/ldaptive

 /**
  * Returns the list of request controls configured for this client.
  *
  * @param  cookie  to add to the dir sync control or null
  *
  * @return  search request controls
  */
 private RequestControl[] createRequestControls(final byte[] cookie)
 {
  return
   new RequestControl[] {
    new DirSyncControl(dirSyncFlags, cookie, maxAttributeCount, true),
    new ExtendedDnControl(extendedDnFlag),
    new ShowDeletedControl(),
   };
 }
}
origin: com.floragunn/ldaptive

 /**
  * Returns the list of request controls configured for this client.
  *
  * @param  cookie  to add to the dir sync control or null
  *
  * @return  search request controls
  */
 private RequestControl[] createRequestControls(final byte[] cookie)
 {
  return
   new RequestControl[] {
    new DirSyncControl(dirSyncFlags, cookie, maxAttributeCount, true),
    new ExtendedDnControl(extendedDnFlag),
    new ShowDeletedControl(),
   };
 }
}
origin: vt-middleware/ldaptive

 /**
  * Returns the list of request controls configured for this client.
  *
  * @param  cookie  to add to the dir sync control or null
  *
  * @return  search request controls
  */
 private RequestControl[] createRequestControls(final byte[] cookie)
 {
  return
   new RequestControl[] {
    new DirSyncControl(dirSyncFlags, cookie, maxAttributeCount, true),
    new ExtendedDnControl(extendedDnFlag),
    new ShowDeletedControl(),
   };
 }
}
origin: vt-middleware/ldaptive

 /**
  * @param  berValue  to decode.
  * @param  expected  dir sync control to test.
  *
  * @throws  Exception  On test failure.
  */
 @Test(groups = {"control"}, dataProvider = "request-response")
 public void decode(final byte[] berValue, final DirSyncControl expected)
  throws Exception
 {
  final DirSyncControl actual = new DirSyncControl(expected.getCriticality());
  actual.decode(berValue);
  Assert.assertEquals(actual, expected);
 }
}
origin: vt-middleware/ldaptive

 new DirSyncControl(),
},
  "AAAAAAAAW88BAAAAAADzox7OKwdpRIu4ZIWpCoubAQAAAAAAAAABAAAAAAAAAPOj" +
  "Hs4rB2lEi7hkhakKi5vyzwEAAAAAAA=="),
 new DirSyncControl(
  null,
  new byte[] {
 new DirSyncControl(
  new DirSyncControl.Flag[] {DirSyncControl.Flag.ANCESTORS_FIRST_ORDER, },
  null,
  "AAAAAAAAAFvPAQAAAAAA86MezisHaUSLuGSFqQqLmwEAAAAAAAAAAQAAAAAAAADz" +
  "ox7OKwdpRIu4ZIWpCoubCdABAAAAAAA="),
 new DirSyncControl(
  new DirSyncControl.Flag[] {DirSyncControl.Flag.ANCESTORS_FIRST_ORDER, },
  new byte[] {
origin: org.ldaptive/ldaptive-apache

} else if (DirSyncControl.OID.equals(responseControl.getOid())) {
 final AdDirSync c = (AdDirSync) responseControl;
 ctl = new DirSyncControl(
  new DirSyncControl.Flag[] {DirSyncControl.Flag.valueOf(AdDirSyncFlag.getBitmask(c.getFlags())), },
  c.getCookie(),
origin: org.ldaptive/ldaptive

ctl = new DirSyncControl(critical);
ctl.decode(encoded);
break;
origin: com.floragunn/ldaptive

ctl = new DirSyncControl(critical);
ctl.decode(encoded);
break;
origin: vt-middleware/ldaptive

ctl = new DirSyncControl(critical);
ctl.decode(encoded);
break;
org.ldaptive.ad.controlDirSyncControl<init>

Javadoc

Default constructor.

Popular methods of DirSyncControl

  • getCriticality
  • getCookie
    Returns the sync request cookie.
  • getFlags
    Returns the flags value.
  • getMaxAttributeCount
    Returns the maximum attribute count.
  • getOID
  • hashCode
  • setCookie
    Sets the sync request cookie.
  • setFlags
    Sets the flags.
  • setMaxAttributeCount
    Sets the maximum attribute count.
  • decode
  • encode
  • encode

Popular in Java

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • getContentResolver (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • JPanel (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top Vim plugins
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