Package com.isode.dsapi.config
Class DSACreationTemplate.DNParam
java.lang.Object
com.isode.dsapi.config.DSACreationTemplate.DNParam
- Enclosing class:
- DSACreationTemplate
DN parameter for template.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInitial 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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidForOCs
(DN dn) Test whether the given new value for 'repl' would be valid according to 'ocsfixed' flag.
-
Field Details
-
label
Label of param, to use as prompt. Never null. -
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
Restrict valid values for the replacement DN to always be below the given DN. If null, then there is no restriction. -
ocsfixed
public boolean ocsfixedIf true, indicates that RDN-type changes (e.g. o=acme to ou=acme) shouldn't be permitted. -
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
Test whether the given new value for 'repl' would be valid according to 'ocsfixed' flag.
-