public class AdminUiAuthorization extends Object implements InvokerFilter, net.hasor.core.spi.AppContextAware
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
AdminUiAuthorization(String adminBaseUri,
net.hasor.core.Environment environment) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
checkDwAuthData(Invoker invoker) |
protected String |
cookieValue(javax.servlet.http.HttpServletRequest httpRequest,
String cookieName) |
Object |
doInvoke(Invoker invoker,
InvokerChain chain) |
protected boolean |
doLogin(Invoker invoker) |
protected Object |
responseLoginPage(Invoker invoker) |
void |
setAppContext(net.hasor.core.AppContext appContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, initpublic AdminUiAuthorization(String adminBaseUri, net.hasor.core.Environment environment) throws NoSuchAlgorithmException
public void setAppContext(net.hasor.core.AppContext appContext)
setAppContext 在接口中 net.hasor.core.spi.AppContextAwarepublic Object doInvoke(Invoker invoker, InvokerChain chain) throws Throwable
doInvoke 在接口中 InvokerFilterThrowableprotected boolean checkDwAuthData(Invoker invoker) throws NoSuchAlgorithmException
protected Object responseLoginPage(Invoker invoker) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionprotected String cookieValue(javax.servlet.http.HttpServletRequest httpRequest, String cookieName)
protected boolean doLogin(Invoker invoker) throws NoSuchAlgorithmException
Copyright © 2020–2021. All rights reserved.