Used by thread-friendly application to register a
listener that will be called whenever a DataQuery request has
been completed (or equivalently, an error thrown).
If you want to include language translation files in
your plugin, simply zip 'em up, and use this method
to register the base name of the translation files.
TableAttributeEditor utility class; encapsulates the idea of
a displayable object type name, that may or may not be mandatory
(and hence displayed differently).
Java layout managers are frustrating, badly written
pieces of garbage that are difficult to use, erratic,
throw strange errors, and are generally junk.
This should be used to clear all the passwords
saved in this data object when they have been
used and are no longer needed... make sure however
that no references to the passwords remain to be
used by other parts of the program first :-)!
Included for Naming Enumeration compatibility... does nothing,
'cause DXNamingEnumeration isn't really an enumeration, and
has already slurped all the data... :-)
close() -
Method in class com.ca.commons.cbutil.CBpbar
removes everything except the root DN node(s), and
sets things up as they were in the beginning, the
point being to force the tree to reload from the
data source, which has changed independantly of the
tree...
This takes a byte array of PEM (originally rfc 1421-1424, but
has drifted a bit) encoded data, such as might be read as raw
bytes from a text file, and converts it to 'raw' DER binary
data (i.e. a byte array with values from 0x0 to 0xFF).
This takes a byte array of PEM (originally rfc 1421-1424, but
has drifted a bit) encoded data, such as might be read as raw
bytes from a text file, and converts it to 'raw' DER binary
data (i.e. a byte array with values from 0x0 to 0xFF).
This takes a byte array of PEM (originally rfc 1421-1424, but
has drifted a bit) encoded data, such as might be read as raw
bytes from a text file, and converts it to 'raw' DER binary
data (i.e. a byte array with values from 0x0 to 0xFF).
This takes a byte array of PEM (originally rfc 1421-1424, but
has drifted a bit) encoded data representing an X509 certificate
and converts it to 'raw' DER binary
data (i.e. a byte array with values from 0x0 to 0xFF).
This takes an array of raw data representing a DER encoded X509 certificate,
and base64 encodes it, adding PEM style -----BEGIN CERTIFICATE-----
and -----END CERTIFICATE----- tags.
This takes an array of raw data representing an
Encrypted DER encoded private key (probably pkcs 8),
and base64 encodes it, adding PEM style -----BEGIN CERTIFICATE-----
and -----END CERTIFICATE----- tags.
This takes an array of raw data representing a DER encoded RSA private key,
and base64 encodes it, adding PEM style -----BEGIN CERTIFICATE-----
and -----END CERTIFICATE----- tags.
COPY -
Static variable in class com.ca.directory.jxplorer.DataQuery
Copies the node 'from' (creating a new node to hold the copy),
adding it as a child to 'toParent',
and recursively copies all the children held by 'from' into
the newly created copy.
Creates an audio cache directory named 'temp/audio' and adds temporary files to it currently naming
them (for example) with the hash of their 'DN + a unique number + .wav'.
Creates a cache directory named 'temp' and adds temporary files to it currently naming them (for example)
with the hash of their 'DN + a unique number + .jpg'.
'Cuts' a subtree by registering the DN of the cut branch,
which is accessed by the paste ftn. - the @paste ftn then
has responsibility for moving the subtree.
DataSink defines the interface used by objects that
are consumers of information from a tree, such as display
panels that show information about a data node, or the off-line
data store used to view ldif files off-line.
Decreases the size of the audio cache (usually if the cache contains 100 or more temporary files),
by deleting the oldest files until there is only 50 temporary files left in the cache.
Decreases the size of the cache (usually if the cache contains 100 or more temporary files),
by deleting the oldest files until there is only 50 temporary files left in the cache.
A Data class that encapsulated the idea of an
ldap Distinguished Name of the form:
ou=frog farmers,o=frogcorp,c=au
- and provides a bunch of utility methods for modifying
and reading these values, especially the various bits
of each rdn in various ways.
DN() -
Constructor for class com.ca.commons.naming.DN
DN(DN) -
Constructor for class com.ca.commons.naming.DN
Copy constructor creates a new DN with an item by item
copy of the parameter DN.
DN(Name) -
Constructor for class com.ca.commons.naming.DN
This Constructor takes an existing jndi Name,
And initialises itself by taking that Name's rdn elements
an element at a time, and converting them to RDN objects.
DN(String) -
Constructor for class com.ca.commons.naming.DN
Main Constructor takes an ldap Distinguished Name string
(e.g.
When Cancel is pressed (or the window is finished)
this method shuts the window down, and prompts the
parent to repaint (avoiding those nasty paint artifacts).
HERE BE MAGIC
In order for pluggable editors to truncate trees, special displays for aliases,
object class based icons, and object class based popup menus, we need special
handling for nodes where the object class is known.
HERE BE MAGIC
In order for pluggable editors to truncate trees, special displays for aliases,
object class based icons, and object class based popup menus, we need special
handling for nodes where the object class is known.
Encodes an arbitrary byte array into an array of base64 encoded bytes
(i.e. bytes that have values corresponding to the ascii values of base 64
data, and can be type cast to those chars).
Encodes an arbitrary byte array into an array of base64 encoded bytes
(i.e. bytes that have values corresponding to the ascii values of base 64
data, and can be type cast to those chars).
This takes a attribute type name and the complete attribute list, as
well as an optional modifier, and returns the formatted html necessary
to display the attribute in the html text.
This takes a attribute type name and the complete attribute list, as
well as an optional modifier, and returns the formatted html necessary
to display the attribute in the html text.
This picks up the name parser used at the root level... if
the context only spans a single name space (i.e. for an ldap
directory) this will be the same as the one used throughout.
Factory Method to create BasicOps objects, initialised
with an ldap context created from the connectionData,
and maintaining a reference to that connectionData.
Factory Method to create BasicOps objects, initialised
with an ldap context created from the connectionData,
and maintaining a reference to that connectionData.
If a UNIQUE pluggable editor exists for an entry, the display tree will
call this method to see if a special pull down menu ('right click menu')
is desired.
Static method that should be used rather than creating an object directly if
you wish to get the user input after the user has finished making selections and
has closed the window.
Static method that should be used rather than creating an object directly if
you wish to get the user input after the user has finished making selections and
has closed the window.
Overloaded renderer is used to a) get the foreground and background
working sanely on all platforms (was screwed under motif), and
to set up our 'node-type-dependant' icon images, rather than the
default 'open' or 'close' icon images.
Checks if any of the objectClasses of this object are on the list
of special objects that require all attributes to be sent in a
'replace' list, whether or not they have been modified by the user.
Help -
Variable in class com.ca.commons.cbutil.CBDialog
If a UNIQUE pluggable editor exists for an entry, the display tree will
call this method to see if it should hide the subtree below this entry
because the pluggable editor is directly handling this data.
Display Template handles the insertion of attribute values into
an HTML template, in order to display filtered information to
the user in an attractive manner.
Goes through the html template, checking for any field tags of text type for example:
<tr>
<th align="right" width="200">Common Name:</th>
<td width="230"><input type="text" name="cn" value=""/></td>
</tr>
If one is found, it checks the name and gets (in this example) the cn value from the entry and inserts
it into the value part of the tag (for example value="Trudi").
Goes through the html template, checking for any text area tags for example:
<tr>
<th align="right" valign="top" width="200">Address:</th>
<td width="230"><textarea name="postalAddress" rows="4"></textarea></td>
</tr>
If one is found, it checks the name and gets (in this example) the postalAddress value from the entry and inserts
it into the value part of the tag (for example value="21 Jump Street").
Checks if a given attribute is valid by searching it for a space i.e. a string 'hello colour' would return false,
whereas a string 'hello' would return true.
Whether the attribute contains binary data; ideally found by checking Syntax, but
often set by inspection of the attribute value (whether it is a Byte array).
This sets whether the component expects to be the only
editor used for its object class, or whether it will co-exist
with any other applicable editors, and the default (html/table)
editor.
This sets whether the component expects to be the only
editor used for its object class, or whether it will co-exist
with any other applicable editors, and the default (html/table)
editor.
Gets all the names of the saved list from the property file 'return_attributes.txt', then
pops up a JOptionPane dialog that has a combo box displaying these names.
Gets the values of the base dn, search level, return attributes and alias state from the
property file that pertain to the filter being loaded and sets these values in
the GUI.
Utility ftn for updateNode - takes a list of attributes to modify, and
the type of modification, and adds them to an array of modifications (starting
at a particular index).
Checks if there is any jpegPhoto, audio or odDocumentDOC attributes in the entry if so creates temporary files for them
only if there isn't any already.
This status constant implies that the entry is
a new entry, that has just been written to the directory,
but may not yet have been added to the tree or re-displayed
by the editor.
This creates the GUI, using the passed parameters
to set up the default name and default object classes
(if possible), and the destination of the prepared
data.
This creates the GUI, using the passed parameters
to set up the default name and default object classes
(if possible), and the destination of the prepared
data.
This creates the GUI, using the passed parameters
to set up the default name and default object classes
(if possible), and the destination of the prepared
data.
This creates the GUI, using the passed parameters
to set up the default name and default object classes
(if possible), and the destination of the prepared
data.
NODATA -
Static variable in class com.ca.directory.jxplorer.tree.SmartTree
NONE -
Static variable in class com.ca.directory.jxplorer.viewer.AttributeDisplay
A utility constant - this is used in the editor hashtable to indicate
that no pluggable editor has been found, and that there is no need
to use the resource loader to look again.
NORMAL -
Static variable in class com.ca.commons.naming.DXEntry
This status constant implies that the entry is
a 'normal' directory entry.
Class that extends BasicBinaryEditor to basically customise the display with
the title 'odDocumentDOC' and to add a launch button that when clicked creates
a temp file and tries to launch the file in MS Word (or the default viewer).
Class that extends BasicBinaryEditor to basically customise the display with
the title 'odMovieAVI' and to add a launch button that when clicked creates
a temp file and tries to launch the file in the default player.
Class that extends BasicBinaryEditor to basically customise the display with
the title 'odMusicMID' and to add a launch button that when clicked creates
a temp file and tries to launch the file in the default player.
Class that extends BasicBinaryEditor to basically customise the display with
the title 'odSoundWAV' and to add a launch button that when clicked creates
a temp file and tries to launch the file in the default player.
Class that extends BasicBinaryEditor to basically customise the display with
the title 'odSpreadSheetXLS' and to add a launch button that when clicked creates
a temp file and tries to launch the file in MS Excel (or the default viewer).
parses the byte array as per a normal resource file
(i.e. looking for key/data pairs seperated by an
unescaped '=' sign) after first converting the byte
array into a String, using whichever language encoding
(unicode16, utf8, locale-specific) seems appropriate.
Checks the value of the property 'Configuration' in %pkihome%\path_properties.config
If the configuration has run successfully, this will be >0; if not pki still needs to be
configured.
push tells the progress bar that the process we are
tracking has gone down a level, and that this level
has a certain number of entries (i.e. branches).
Resets a JNDIBroker, using the same underlying directory connection
as the passed broker, but clearing the data listener list, and resetting debug flags.