📄 authenticator.java
字号:
package org.roller.presentation;import javax.servlet.http.HttpServletRequest;/** Interface used by Roller to check user authentication and role */public interface Authenticator{/** Return the name of the request's authenticated user, or null if none */public String getAuthenticatedUserName( HttpServletRequest req );/** Return true if authenticated user is in the specified role */public boolean isAuthenticatedUserInRole( HttpServletRequest req, String role);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -