Class DSACreationTemplate.DNParam

java.lang.Object
com.isode.dsapi.config.DSACreationTemplate.DNParam
Enclosing class:
DSACreationTemplate

public static class DSACreationTemplate.DNParam extends Object
DN parameter for template.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Initial DN, which is the DN as it is used in the rest of this configuration (including attached LDIF and GAC XML).
    Label of param, to use as prompt.
    boolean
    If true, indicates that RDN-type changes (e.g.
    User-supplied replacement DN for the initial DN, or null if not entered yet.
    Restrict valid values for the replacement DN to always be below the given DN.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Test whether the given new value for 'repl' would be valid according to 'ocsfixed' flag.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • label

      public String label
      Label of param, to use as prompt. Never null.
    • init

      public DN init
      Initial DN, which is the DN as it is used in the rest of this configuration (including attached LDIF and GAC XML). Never null.
    • sub

      public DN sub
      Restrict valid values for the replacement DN to always be below the given DN. If null, then there is no restriction.
    • ocsfixed

      public boolean ocsfixed
      If true, indicates that RDN-type changes (e.g. o=acme to ou=acme) shouldn't be permitted.
    • repl

      public DN repl
      User-supplied replacement DN for the initial DN, or null if not entered yet. This is not saved to XML. Should be non-null for DSA creation.
  • Constructor Details

    • DNParam

      public DNParam()
  • Method Details

    • isValidForOCs

      public boolean isValidForOCs(DN dn)
      Test whether the given new value for 'repl' would be valid according to 'ocsfixed' flag.