Support access tokens in headers (Fix #65) (#70)

This commit is contained in:
Max Dor
2018-04-02 17:26:03 +02:00
committed by GitHub
parent 91ccb75fa1
commit 5ef145212a
17 changed files with 150 additions and 32 deletions

View File

@@ -22,7 +22,7 @@ package io.kamax.mxisd.exception;
import org.apache.http.HttpStatus;
public class RemoteIdentityServerException extends MatrixException {
public class RemoteIdentityServerException extends HttpMatrixException {
public RemoteIdentityServerException(String error) {
super(HttpStatus.SC_SERVICE_UNAVAILABLE, "M_REMOTE_IS_ERROR", "Error from remote server: " + error);