we are using few java class like com.opensymphony.user.UserManager in Jira 4.3.4 to fetch the user information. But when we upgrade the version to JIRA 5.0, class (com.opensymphony.user.UserManager) is not working. Please let us know, class name to
perform the user information functionality in Jira 5.0. Thanks.
By replacing your use of opensymphony with embedded crowd. As we said before, it's not a flat replacement, you may well have to modify your code to deal with it. DefaultUserManager is implemented in Crowd, and it's not that different from the opensymphony one, but you will need to work through the changes for yourself.
We can't feed you any code really. It's far better that you understand what you're doing than just blindly copy something, but more to the point here, you haven't told us what you're trying to do with user management. Without context, random snippets of code are likely to be worse than useless to you.
Um, you need to recompile a lot of stuff against the new libraries.
It really is not as simple as "use new libraries", you're going to need to redevelop some stuff separately. (Note in many cases, really all you need is "update pom.xml and recompile", but not all of them, especially any user related stuff)
The opensymphony stuff has been replaced by embedded crowd now. There aren't many one-to-one swaps you can't just replace opensymphony.user.usermanager with crowd.usermanager, it's just not that simple.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG