OAuth-Unterstuetzung fuer jdk.httpserver
ulrich
2021-06-11 4bf4d11154ddb0ecc5057bdcb7485867064a37de
Umstellungen bei http-base eingearbeitet
3 files modified
8 ■■■■ changed files
src/de/uhilger/httpserver/oauth/BearerAuthenticator.java 2 ●●● patch | view | raw | blame | history
src/de/uhilger/httpserver/oauth/BearerLoginHandler.java 4 ●●●● patch | view | raw | blame | history
src/de/uhilger/httpserver/oauth/BearerRefreshHandler.java 2 ●●● patch | view | raw | blame | history
src/de/uhilger/httpserver/oauth/BearerAuthenticator.java
@@ -22,7 +22,7 @@
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpPrincipal;
import de.uhilger.httpserver.auth.realm.Realm;
import de.uhilger.httpserver.base.handler.HttpResponder;
import de.uhilger.httpserver.base.HttpResponder;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.JwtException;
import io.jsonwebtoken.Jwts;
src/de/uhilger/httpserver/oauth/BearerLoginHandler.java
@@ -23,8 +23,8 @@
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import de.uhilger.httpserver.auth.realm.User;
import de.uhilger.httpserver.base.handler.HttpHelper;
import de.uhilger.httpserver.base.handler.HttpResponder;
import de.uhilger.httpserver.base.HttpHelper;
import de.uhilger.httpserver.base.HttpResponder;
import java.io.IOException;
import java.util.logging.Logger;
src/de/uhilger/httpserver/oauth/BearerRefreshHandler.java
@@ -19,7 +19,7 @@
import com.sun.net.httpserver.HttpContext;
import com.sun.net.httpserver.HttpExchange;
import de.uhilger.httpserver.base.handler.HttpHelper;
import de.uhilger.httpserver.base.HttpHelper;
import static de.uhilger.httpserver.oauth.BearerLoginHandler.ATTR_AUTHENTICATOR;
import java.io.IOException;