mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
修复错误的 javadoc 格式
This commit is contained in:
parent
017546bedf
commit
f4dd609d8a
@ -27,7 +27,7 @@ import cn.dev33.satoken.dao.SaTokenDao;
|
||||
* <p> 在应用全局范围内: 存值、取值。数据在应用重启后失效,如果集成了 Redis,则在 Redis 重启后失效。
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-8-17
|
||||
* @since 2022-8-17
|
||||
*/
|
||||
public class SaApplication implements SaSetValueInterface {
|
||||
|
||||
|
@ -22,7 +22,7 @@ import cn.dev33.satoken.util.SaFoxUtil;
|
||||
* <p> 封装 SaStorage、SaSession、SaApplication 等存取值的一些固定方法,减少重复编码 </p>
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-8-16
|
||||
* @since 2022-8-16
|
||||
*/
|
||||
public interface SaGetValueInterface {
|
||||
|
||||
|
@ -22,7 +22,7 @@ import cn.dev33.satoken.fun.SaRetFunction;
|
||||
* <p> 封装 SaStorage、SaSession、SaApplication 等存取值的一些固定方法,减少重复编码 </p>
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-8-17
|
||||
* @since 2022-8-17
|
||||
*/
|
||||
public interface SaSetValueInterface extends SaGetValueInterface {
|
||||
|
||||
|
@ -30,7 +30,7 @@ import cn.dev33.satoken.stp.StpLogic;
|
||||
* <p> 提供侦听器注册、事件发布能力 </p>
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-8-19
|
||||
* @since 2022-8-19
|
||||
*/
|
||||
public class SaTokenEventCenter {
|
||||
|
||||
|
@ -23,7 +23,7 @@ import cn.dev33.satoken.stp.SaLoginModel;
|
||||
* <p> 对所有事件方法提供空实现,方便开发者通过继承此类快速实现一个可用的侦听器 </p>
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-8-20
|
||||
* @since 2022-8-20
|
||||
*/
|
||||
public class SaTokenListenerForSimple implements SaTokenListener {
|
||||
|
||||
|
@ -13,7 +13,7 @@ import com.pj.sso.util.AjaxJson;
|
||||
* 封装一些 sso 共用方法
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-4-30
|
||||
* @since 2022-4-30
|
||||
*/
|
||||
public class SsoRequestUtil {
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.springframework.stereotype.Component;
|
||||
* <b> 此种方式有性能问题,仅做demo示例,真实项目中请更换为其它方案记录用户会话数据 </b>
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-4-30
|
||||
* @since 2022-4-30
|
||||
*/
|
||||
@Component
|
||||
public class MyHttpSessionHolder implements HttpSessionListener {
|
||||
|
@ -12,7 +12,7 @@ import org.springframework.web.socket.handler.TextWebSocketHandler;
|
||||
* 处理 WebSocket 连接
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-11
|
||||
* @since 2022-2-11
|
||||
*/
|
||||
public class MyWebSocketHandler extends TextWebSocketHandler {
|
||||
|
||||
|
@ -9,7 +9,7 @@ import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry
|
||||
* WebSocket 相关配置
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-11
|
||||
* @since 2022-2-11
|
||||
*/
|
||||
@Configuration
|
||||
@EnableWebSocket
|
||||
|
@ -13,7 +13,7 @@ import cn.dev33.satoken.stp.StpUtil;
|
||||
* WebSocket 握手的前置拦截器
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-11
|
||||
* @since 2022-2-11
|
||||
*/
|
||||
public class WebSocketInterceptor implements HandshakeInterceptor {
|
||||
|
||||
|
@ -19,7 +19,7 @@ package cn.dev33.satoken.solon.error;
|
||||
* 定义 sa-token-solon-plugin 所有异常细分状态码
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-10-30
|
||||
* @since 2022-10-30
|
||||
*/
|
||||
public interface SaSolonErrorCode {
|
||||
|
||||
|
@ -19,7 +19,7 @@ package cn.dev33.satoken.error;
|
||||
* 定义 sa-token-spring-boot-starter 所有异常细分状态码
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-10-30
|
||||
* @since 2022-10-30
|
||||
*/
|
||||
public interface SaSpringBootErrorCode {
|
||||
|
||||
|
@ -33,7 +33,7 @@ import cn.dev33.satoken.strategy.SaStrategy;
|
||||
* Sa-Token 综合拦截器,提供注解鉴权和路由拦截鉴权能力
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-8-21
|
||||
* @since 2022-8-21
|
||||
*/
|
||||
public class SaInterceptor implements HandlerInterceptor {
|
||||
|
||||
|
@ -32,7 +32,7 @@ import jakarta.servlet.http.HttpServletResponse;
|
||||
* Sa-Token 综合拦截器,提供注解鉴权和路由拦截鉴权能力
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-8-21
|
||||
* @since 2022-8-21
|
||||
*/
|
||||
public class SaInterceptor implements HandlerInterceptor {
|
||||
|
||||
|
@ -25,7 +25,7 @@ import cn.dev33.satoken.context.SaHolder;
|
||||
* SaApplication 存取值测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-4
|
||||
* @since 2022-9-4
|
||||
*/
|
||||
public class SaApplicationTest {
|
||||
|
||||
|
@ -26,7 +26,7 @@ import cn.dev33.satoken.config.SaTokenConfigFactory;
|
||||
* 配置类测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-4
|
||||
* @since 2022-9-4
|
||||
*/
|
||||
public class SaTokenConfigTest {
|
||||
|
||||
|
@ -24,7 +24,7 @@ import cn.dev33.satoken.context.model.SaCookie;
|
||||
* SaFoxUtil 工具类测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-8 22:14:25
|
||||
* @since 2022-2-8 22:14:25
|
||||
*/
|
||||
public class SaCookieTest {
|
||||
|
||||
|
@ -25,7 +25,7 @@ import cn.dev33.satoken.exception.SaTokenException;
|
||||
* 默认上下文测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-5
|
||||
* @since 2022-9-5
|
||||
*/
|
||||
public class SaTokenContextDefaultImplTest {
|
||||
|
||||
|
@ -26,7 +26,7 @@ import cn.dev33.satoken.session.SaSession;
|
||||
* SaTokenDao 持久层 测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-9 15:39:38
|
||||
* @since 2022-2-9 15:39:38
|
||||
*/
|
||||
public class SaTokenDaoTest {
|
||||
|
||||
|
@ -24,7 +24,7 @@ import cn.dev33.satoken.fun.IsRunFunction;
|
||||
* IsRunFunction 测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-9 16:11:10
|
||||
* @since 2022-2-9 16:11:10
|
||||
*/
|
||||
public class IsRunFunctionTest {
|
||||
|
||||
|
@ -26,7 +26,7 @@ import cn.dev33.satoken.util.SoMap;
|
||||
* json默认实现类测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-1
|
||||
* @since 2022-9-1
|
||||
*/
|
||||
public class SaJsonTemplateDefaultImplTest {
|
||||
|
||||
|
@ -24,7 +24,7 @@ import cn.dev33.satoken.secure.SaBase64Util;
|
||||
* SaBase64Util 测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-9
|
||||
* @since 2022-2-9
|
||||
*/
|
||||
public class SaBase64UtilTest {
|
||||
|
||||
|
@ -26,7 +26,7 @@ import cn.dev33.satoken.secure.SaSecureUtil;
|
||||
* SaSecureUtil 加密工具类 测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-9
|
||||
* @since 2022-2-9
|
||||
*/
|
||||
public class SaSecureUtilTest {
|
||||
|
||||
|
@ -27,7 +27,7 @@ import cn.dev33.satoken.session.SaSessionCustomUtil;
|
||||
* SaSession 测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-9
|
||||
* @since 2022-2-9
|
||||
*/
|
||||
public class SaSessionCustomUtilTest {
|
||||
|
||||
|
@ -31,7 +31,7 @@ import cn.dev33.satoken.session.TokenSign;
|
||||
* SaSession 测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-9
|
||||
* @since 2022-2-9
|
||||
*/
|
||||
public class SaSessionTest {
|
||||
|
||||
|
@ -24,7 +24,7 @@ import cn.dev33.satoken.session.TokenSign;
|
||||
* TokenSign 相关测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-4
|
||||
* @since 2022-9-4
|
||||
*/
|
||||
public class TokenSignTest {
|
||||
|
||||
|
@ -25,7 +25,7 @@ import cn.dev33.satoken.util.SoMap;
|
||||
* API 接口签名测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-2
|
||||
* @since 2022-9-2
|
||||
*/
|
||||
public class SaSignTemplateTest {
|
||||
|
||||
|
@ -30,7 +30,7 @@ import cn.dev33.satoken.util.SaTokenConsts;
|
||||
* Token 参数扩展
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-5
|
||||
* @since 2022-9-5
|
||||
*/
|
||||
public class TokenInfoTest {
|
||||
|
||||
|
@ -27,7 +27,7 @@ import cn.dev33.satoken.util.SaTokenConsts;
|
||||
* 临时Token模块测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-1
|
||||
* @since 2022-9-1
|
||||
*/
|
||||
public class SaTempTest {
|
||||
|
||||
|
@ -32,7 +32,7 @@ import cn.dev33.satoken.util.SaFoxUtil;
|
||||
* SaFoxUtil 工具类测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-8 22:14:25
|
||||
* @since 2022-2-8 22:14:25
|
||||
*/
|
||||
public class SaFoxUtilTest {
|
||||
|
||||
|
@ -27,7 +27,7 @@ import cn.dev33.satoken.util.SaResult;
|
||||
* SaResult 结果集 测试
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-2-8 22:14:25
|
||||
* @since 2022-2-8 22:14:25
|
||||
*/
|
||||
public class SaResultTest {
|
||||
|
||||
|
@ -30,7 +30,7 @@ import cn.dev33.satoken.util.SaResult;
|
||||
* 测试注解用的Controller
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-2
|
||||
* @since 2022-9-2
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/at/")
|
||||
|
@ -26,7 +26,7 @@ import cn.dev33.satoken.util.SaResult;
|
||||
* 测试注解用的Controller
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-2
|
||||
* @since 2022-9-2
|
||||
*/
|
||||
@SaCheckLogin
|
||||
@RestController
|
||||
|
@ -25,7 +25,7 @@ import cn.dev33.satoken.interceptor.SaInterceptor;
|
||||
* Sa-Token 相关配置类
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-2
|
||||
* @since 2022-9-2
|
||||
*/
|
||||
@Configuration
|
||||
public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
|
@ -23,7 +23,7 @@ import cn.dev33.satoken.oauth2.logic.SaOAuth2Template;
|
||||
* 自定义 Sa-OAuth2 模板方法
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-5
|
||||
* @since 2022-9-5
|
||||
*/
|
||||
@Component
|
||||
public class MySaOAuth2Template extends SaOAuth2Template {
|
||||
|
@ -23,7 +23,7 @@ import cn.dev33.satoken.sso.SaSsoTemplate;
|
||||
* 自定义 Sa-SSO 模板方法
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-5
|
||||
* @since 2022-9-5
|
||||
*/
|
||||
@Component
|
||||
public class MySaSsoTemplate extends SaSsoTemplate {
|
||||
|
@ -33,7 +33,7 @@ import cn.dev33.satoken.util.SaResult;
|
||||
* Sa-Token 相关配置类
|
||||
*
|
||||
* @author click33
|
||||
* @since: 2022-9-2
|
||||
* @since 2022-9-2
|
||||
*/
|
||||
@Configuration
|
||||
public class SaTokenConfigure2 implements WebMvcConfigurer {
|
||||
|
Loading…
Reference in New Issue
Block a user