<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.open-xchange.com/wiki/index.php?action=history&amp;feed=atom&amp;title=6.22_Necessary_Code_Changes</id>
	<title>6.22 Necessary Code Changes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.open-xchange.com/wiki/index.php?action=history&amp;feed=atom&amp;title=6.22_Necessary_Code_Changes"/>
	<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=6.22_Necessary_Code_Changes&amp;action=history"/>
	<updated>2026-09-13T20:50:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=6.22_Necessary_Code_Changes&amp;diff=11465&amp;oldid=prev</id>
		<title>Sonja.krause-harder: Created page with &quot;= Code changes necessary for Open-Xchange Server v6.22 =  This page describes changes in the Open-Xchange Server code base which affect custom OSGI bundles interacting with ou...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=6.22_Necessary_Code_Changes&amp;diff=11465&amp;oldid=prev"/>
		<updated>2012-09-27T19:11:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Code changes necessary for Open-Xchange Server v6.22 =  This page describes changes in the Open-Xchange Server code base which affect custom OSGI bundles interacting with ou...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Code changes necessary for Open-Xchange Server v6.22 =&lt;br /&gt;
&lt;br /&gt;
This page describes changes in the Open-Xchange Server code base which affect custom OSGI bundles interacting with our core bundles. This is important if you have custom plugins for your Open-Xchange Server systems which you are maintaining yourself.&lt;br /&gt;
&lt;br /&gt;
If Open-Xchange has built and is maintaining custom packages for you, please check with your contact person at Open-Xchange when updated packages will be available.&lt;br /&gt;
&lt;br /&gt;
= Backend Improvements =&lt;br /&gt;
&lt;br /&gt;
Please see the page [http://oxpedia.org/wiki/index.php?title=Backend_Improvements_6_22 Backend Improvements v6.22] for an overview of improvements to the Open-Xchange architecture.&lt;br /&gt;
&lt;br /&gt;
Make sure to check the section about the [http://oxpedia.org/wiki/index.php?title=Backend_Improvements_6_22#New_Exception_Framework new exception framework], many custom bundles use this and need to be changed to work with v6.22 and later.&lt;br /&gt;
&lt;br /&gt;
= Authentication plugins =&lt;br /&gt;
&lt;br /&gt;
Custom authentication bundles must now implement an additional method to&lt;br /&gt;
handle Autologin (if desired).&lt;br /&gt;
&lt;br /&gt;
For this, just add&lt;br /&gt;
&lt;br /&gt;
 @Override&lt;br /&gt;
 public Authenticated handleAutoLoginInfo(LoginInfo loginInfo) throws OXException {&lt;br /&gt;
      throw LoginExceptionCodes.NOT_SUPPORTED.create(MyAuthentication.class.getName());&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition, you need to return an &amp;lt;code&amp;gt;Authenticated&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;handleLoginInfo()&amp;lt;/code&amp;gt;. This can be done by adding the implementation class as inner class like this:&lt;br /&gt;
&lt;br /&gt;
 [...]&lt;br /&gt;
    private static final class AuthenticatedImpl implements Authenticated {&lt;br /&gt;
 &lt;br /&gt;
        private final String[] splitted;&lt;br /&gt;
 &lt;br /&gt;
        protected AuthenticatedImpl(String[] splitted) {&lt;br /&gt;
            this.splitted = splitted;&lt;br /&gt;
        }&lt;br /&gt;
 &lt;br /&gt;
        @Override&lt;br /&gt;
        public String getContextInfo() {&lt;br /&gt;
            return splitted[0];&lt;br /&gt;
        }&lt;br /&gt;
 &lt;br /&gt;
        @Override&lt;br /&gt;
        public String getUserInfo() {&lt;br /&gt;
            return splitted[1];&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
 [...]&lt;/div&gt;</summary>
		<author><name>Sonja.krause-harder</name></author>
	</entry>
</feed>