diff --git a/src/main/java/org/jitsi/jicofo/auth/ShibbolethAuthAuthority.java b/src/main/java/org/jitsi/jicofo/auth/ShibbolethAuthAuthority.java
index af8dde3f0d..b29a62fb10 100644
--- a/src/main/java/org/jitsi/jicofo/auth/ShibbolethAuthAuthority.java
+++ b/src/main/java/org/jitsi/jicofo/auth/ShibbolethAuthAuthority.java
@@ -17,7 +17,7 @@
*/
package org.jitsi.jicofo.auth;
-import org.jitsi.jicofo.rest.*;
+import org.jitsi.jicofo.auth.rest.*;
import org.jitsi.xmpp.extensions.jitsimeet.*;
import org.jivesoftware.smack.packet.*;
import org.jxmpp.jid.*;
diff --git a/src/main/java/org/jitsi/jicofo/rest/ShibbolethLogin.java b/src/main/java/org/jitsi/jicofo/auth/rest/ShibbolethLogin.java
similarity index 75%
rename from src/main/java/org/jitsi/jicofo/rest/ShibbolethLogin.java
rename to src/main/java/org/jitsi/jicofo/auth/rest/ShibbolethLogin.java
index 7966ad298f..ced8c5e72b 100644
--- a/src/main/java/org/jitsi/jicofo/rest/ShibbolethLogin.java
+++ b/src/main/java/org/jitsi/jicofo/auth/rest/ShibbolethLogin.java
@@ -13,11 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jitsi.jicofo.rest;
+package org.jitsi.jicofo.auth.rest;
import com.google.common.html.*;
import org.jetbrains.annotations.*;
import org.jitsi.jicofo.auth.*;
+import org.jitsi.jicofo.rest.*;
import org.jxmpp.jid.*;
import org.jxmpp.jid.impl.*;
import org.jxmpp.stringprep.*;
@@ -25,7 +26,6 @@
import javax.servlet.http.*;
import javax.ws.rs.*;
import javax.ws.rs.core.*;
-import javax.ws.rs.core.Response;
import static org.apache.commons.lang3.StringUtils.isBlank;
@@ -40,10 +40,9 @@ public class ShibbolethLogin
*
* @param request HttpServletRequest instance used to obtain
* Shibboleth attributes.
- * @param name the name of Shibboleth attribute to get.
- *
+ * @param name the name of Shibboleth attribute to get.
* @return Shibboleth attribute value retrieved from the request or
- * null if there is no value for given name.
+ * null if there is no value for given name.
*/
private static String getShibAttr(HttpServletRequest request, String name)
{
@@ -58,7 +57,7 @@ private static String getShibAttr(HttpServletRequest request, String name)
@NotNull
private final ShibbolethAuthAuthority shibbolethAuthAuthority;
- ShibbolethLogin(@NotNull ShibbolethAuthAuthority shibbolethAuthAuthority)
+ public ShibbolethLogin(@NotNull ShibbolethAuthAuthority shibbolethAuthAuthority)
{
this.shibbolethAuthAuthority = shibbolethAuthAuthority;
}
@@ -135,38 +134,38 @@ private String createResponse(
// Store session-id script
String script =
"