Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alec Lanter
Security APIs and new versions of Liferay
December 18, 2006 1:42 PM
Answer

Alec Lanter

Rank: New Member

Posts: 19

Join Date: March 21, 2006

Recent Posts

Any idea when the security API will stabilize and not change with every freaking revision of Liferay? We're using a custom authenticator, and it has to be changed with every new release of Liferay because there's invariably a modification to the method signatures of the XLocalServiceUtil classes. This time, there was also a package change.

Just curious if I should tell my users that we won't be upgrading Liferay again, or if this might actually become a more pleasant experience in the future. emoticon
Brian Chan
RE: Security APIs and new versions of Liferay
December 18, 2006 10:16 PM
Answer

Brian Chan

LIFERAY STAFF

Rank: Liferay Master

Posts: 751

Join Date: August 4, 2004

Recent Posts

We're working on stablelizing them.

In general, there are no api changes between minor revisions (4.1.0, 4.1.1, etc). These are meant to be drop in replacements for bug fixes.

4.1 to 4.2 is a medium size revision which will include api changes, but nothing that can't be done without just a quick search and replace.

Thanks for the input Alec.
Mika Koivisto
RE: Security APIs and new versions of Liferay
December 19, 2006 1:23 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

You should use @deprecate more and delegate the old method to the new method if possible. Radical API changes without backwards compatibility should only occur in major revisions such as moving from 3.x to 4.x or from 4.x moving to 5.x. Refactoring is always good but should keep the changes under the hood of "public" API. This is one of the reasons people at work hate Bea products. Bea might make API changes between service packs which is insane.
Alec Lanter
RE: Security APIs and new versions of Liferay
December 22, 2006 9:50 AM
Answer

Alec Lanter

Rank: New Member

Posts: 19

Join Date: March 21, 2006

Recent Posts

Thanks for the reply, Brian. You could also solve this issue by not making so many useful changes in every revision of Liferay, you know. ;) Then, maybe I could convince people to put off the portal upgrades! emoticon

Again, thanks for the reply.