aspose file tools*
The moose likes Security and the fly likes Tranasaction Rollback in JAVA LDAP API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Tranasaction Rollback in JAVA LDAP API" Watch "Tranasaction Rollback in JAVA LDAP API" New topic
Author

Tranasaction Rollback in JAVA LDAP API

Madhav Kanneganti
Greenhorn

Joined: Jan 20, 2012
Posts: 25
Hi,

We have been using a single LDAP directory background to add, update, and/or delete attributes (values) by calling the following API (code snippet).


The above code works for single call on all attribute actions (add,update,remove), if any attribute fails in that call, all will be rolled back automatically because that API will takes care of transactions.

Now we got to do the same transactions on another LDAP directory after the first LDAP directory's successes, but here if any attributes fails during the second LDAP call, all in second will be rolled back and also need to rolled back in first LDAP changes also.

Do we have any transaction process in this API like JDBC API? I couldn't find anything like that, please give me advice how to control transactions in both LDAP directories?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tranasaction Rollback in JAVA LDAP API