summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lookup
AgeCommit message (Collapse)Author
2014-10-07Repackage to org.cristaliseAndrew Branson
2014-10-06More documentationAndrew Branson
2014-10-03Rolled back the renaming of existing exceptions.Andrew Branson
2014-10-03Huge exception overhaul: Merged ClusterStorageException withAndrew Branson
PersistencyException. Replaced MembershipException with InvalidCollectionModification CORBA Exception. Made all predef steps throw more accurate exceptions when they go wrong, and let more exceptions bubble through from underneath.
2014-10-02push after rebasejet
2014-09-30Remove Serializable. CRISTAL never uses Java serialization, only Castor. Andrew Branson
2014-09-26Various problems found by FindBugsAndrew Branson
2014-09-22ItemPath.fromUUIDString unnecessary as ItemPath(String) supports bothAndrew Branson
plain UUIDs and an /entity prefix. Tightened that up and removed the fromUUIDString method for a simpler API. Also switched AgentPath(String) to a path argument for consistency. New AgentPaths should be created with AgentPath(new ItemPath(), String) instead.
2014-09-19Introduced static method ItemPath.fromUUIDString and made the UUIDAndrew Branson
constructor protected to better handle ItemPath and AgentPath construction with String UUIDs, throwing the right exceptions.
2014-09-18Hierarchical Roles. Fixes #199Andrew Branson
2014-09-16Null protection on Path.equals()Andrew Branson
2014-09-15Add trim calls to ObjectProperties.getString() to discard any extraAndrew Branson
whitespace around the values. Fixes #165 Remove old Gateway.getProperty methods - there should be no deprecated methods in the 3.0 release Move all getProperty() calls to getString or other so they will be trimmed. Introduce ObjectProperties.getInstances to create ArrayLists of objects from comma-separated class name lists.
2014-09-15Rename DomainPath.setEntity to setItemPathAndrew Branson
2014-09-09Replaced int sysKey Item identifier with UUID, which is now portable.Andrew Branson
ItemPath objects are now used to identify Items throughout the kernel, replacing ints and Integers.
2014-06-30Separated modifying Lookup methods into LookupManager, which is onlyAndrew Branson
present in a server process. This stops clients trying to write to the directory without relying on their permissions.
2014-06-23Finished half-finished doc sentence.Andrew Branson
2014-06-23Combine various Lookup.search methods into a general search(Path,Andrew Branson
Property...)
2014-06-23Separate PredefinedStepContainers for Agents and Items (and Server Item)Andrew Branson
2014-06-17Remove getChildren methods - all searches should be done by the lookupAndrew Branson
and the paths should remain data objects.
2014-06-12Refactored LDAP into its own module.Andrew Branson
2014-06-06Partial javadoc and scope tightening of the new interfaces.Andrew Branson
2014-06-05Make LDAPNextKeyManager independent of the LDAPLookup. The authenticatorAndrew Branson
is the only required common component.
2014-06-05LDAP refactored behind interfaces. All functions of LDAP now hiddenAndrew Branson
behind interfaces: Authenticator, Lookup and NextKeyManager (LDAP property storage was already a ClusterStorage). Gateway holds additional objects, and Fixes #26 #191. Refs #27 (needs additional work for read perms and auth tokens)
2014-05-14Refactored Proxy update notification server into its own class andAndrew Branson
thread, so executions return before proxy messages are sent. Another deadlock suspect.
2014-05-08Agent now extends Item, so they can have workflows. All traces of theAndrew Branson
old 'Entity' superclasses should be removed, including proxies and paths. Very large change, breaks API compatibility with CRISTAL 2.x. Fixes #135
2014-04-09Expanded server predefined steps to include server and agent maintenanceAndrew Branson
steps. Fixes #174
2014-04-04When generating the next SystemKey in NextKeyManager, make sure thatAndrew Branson
there is nothing already in the storage for that key. This prevents data loss when the LDAP is out-of-sync with the storages. Fixes #179
2014-02-26Properties extended as ObjectProperties, which can return any Object,Andrew Branson
and wrap int and boolean parsing. Gateway.getProperties() returns the new ObjectProperty instance. Old Gateway property methods still present but deprecated. Refs #149
2014-01-23Refactored Resource into a new ResourceLoader interface, which allowsAndrew Branson
CRISTAL processes in other enviroments with complex class loading (e.g. OSGi) to supply their own resource and class loader to the kernel and its modules. Fixes #149
2013-12-12Properties preserve and respect the PropertyDescription 'isMutable'Andrew Branson
property. This setting prevents the WriteProperty predefined step from changing the property value when isMutable is false. WriteProperty also requires the selected property to already exist - they should be created either during Item instantiation or using AddC2KObject. LDAPPropertyManager prepends the Property name in its entries with ! if they are non mutable. Various places around the kernel that create properties now set the mutable field. Fixes #150
2013-07-29new lookup search method that uses a PropertyDescriptionList to findAndrew Branson
instances of an item description. Closes #114
2013-06-14Escape DNs with hex codes instead - more compatibleAndrew Branson
2013-06-13Escape DNs in Path, so special characters can be used in PathAndrew Branson
components. Fixes #125
2013-05-17Add Role management support to module, instead of just creating one ifAndrew Branson
it's not already there. Supports 'jobList' attribute to enable job pushing
2013-01-24LDAP search by property. Returns EntityPaths though.Andrew Branson
2012-08-03Logging and error message clean-upAndrew Branson
Logger.debug(String) now deprecated so they're easier to spot when left in.
2012-08-01LDAP properties: Integer port and support for generating secure adminAndrew Branson
passwords for embedded LDAP servers.
2012-05-30Remove old top DN settings for compatibility with latest jldap libAndrew Branson
(maybe)
2012-05-30Initial Maven ConversionAndrew Branson