Tabnine Logo
DN.getRDNs
Code IndexAdd Tabnine to your IDE (free)

How to use
getRDNs
method
in
com.novell.ldap.util.DN

Best Java code snippets using com.novell.ldap.util.DN.getRDNs (Showing top 5 results out of 315)

origin: com.novell.ldap/jldap

/**
 * Creates an RDN object from the DN component specified in the string RDN
 *
 * @param rdn the DN component
 */
public RDN(String rdn){
  rawValue = rdn;
  DN dn = new DN(rdn);
  Vector rdns = dn.getRDNs();
  //there should only be one rdn
  if (rdns.size() != 1)
    throw new IllegalArgumentException("Invalid RDN: see API " +
      "documentation");
  RDN thisRDN   = (RDN)(rdns.elementAt(0));
  this.types    = thisRDN.types;
  this.values   = thisRDN.values;
  this.rawValue = thisRDN.rawValue;
  return;
}
origin: sakaiproject/sakai

DN dn = new DN(dnString);
DN containerDN = dn.getParent();
Vector<RDN> containerRDNs = containerDN.getRDNs();
Iterator<RDN> containerRDNsIterator = containerRDNs.iterator();
RDN rdn = containerRDNsIterator.next();
origin: com.novell.ldap/jldap

Identifier id = new Identifier();
try {
  id.setType(this.getIdentifierType(((RDN)dn.getRDNs().get(0)).getType()));
} catch (IllegalArgumentException e1) {
  throw new LDAPException("Could not determine type",53, e1.toString(), e1);
origin: com.novell.ldap/jldap

RDN rdn = (RDN) dn.getRDNs().get(0);
Identifier id = new Identifier();
origin: com.novell.ldap/jldap

RDN rdn = (RDN) dnVal.getRDNs().get(0);
Identifier id = new Identifier();
com.novell.ldap.utilDNgetRDNs

Javadoc

Retrieves a list of RDN Objects, or individual names of the DN

Popular methods of DN

  • <init>
    Constructs a new DN based on the specified string representation of a distinguished name. The syntax
  • equals
    Compares this DN to the specified DN to determine if they are equal.
  • explodeDN
    return a string array of the individual RDNs contained in the DN
  • getParent
    Returns the Parent of this DN
  • hexToChar
    Converts two valid hex digit characters that form the string representation of an ascii character va
  • isAlpha
    Checks a character to see if it is an ascii alphabetic character in ranges 65-90 or 97-122.
  • isDigit
    Checks a character to see if it is an ascii digit (0-9) character in the ascii value range 48-57.
  • isHexDigit
    Checks a character to see if it is valid hex digit 0-9, a-f, or A-F (ASCII value ranges 48-47, 65-70
  • needsEscape
    Checks a character to see if it must always be escaped in the string representation of a DN. We must
  • toString
    Creates and returns a string that represents this DN. The string follows RFC 2253, which describes S

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • startActivity (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Top PhpStorm 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