public class BasicAuthUtil extends Object
| Constructor and Description |
|---|
BasicAuthUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
base64DecodeToStr(String value) |
static String |
base64EncodeToStr(String user,
String password) |
static boolean |
basicAuth(org.noear.solon.core.handle.Context ctx,
DocDocket docket)
WWW-Authenticate 简单认证
|
static void |
response401(org.noear.solon.core.handle.Context ctx) |
public static boolean basicAuth(org.noear.solon.core.handle.Context ctx,
DocDocket docket)
throws IOException
IOExceptionpublic static void response401(org.noear.solon.core.handle.Context ctx)
throws IOException
IOExceptionCopyright © 2025. All rights reserved.