-
SimplePrincipalCollection pricipal = (SimplePrincipalCollection) session.getAttribute("org.apache.shiro.subject.support.DefaultSubjectContext_PRINCIPALS_SESSION_KEY");
与
Redis中key = RedisConstant.SH…
-
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/shiro/issues?q=is%3Aissue) and found no similar issues.
### Question
```txt
2023-12-19 10:40:12,218 …
-
基础组件:
操作系统RedHat6.5
Redis3.2.5
Tomcat7.0.67
Nginx1.11.1
测试应用:shiro-session-redis-web
部署架构:34、35、36同时安装Tomcat,34安装Redis,36安装Nginx
Nginx配置
```
http {
include mime.types;
def…
-
如果在realm的认证方法中使用**用户ID**(而不是一个用户对象)作为**principal**参数传给shiro的`new SimpleAuthenticationInfo(userId, credentials, salt, getName())`方法,那么在shiro注销的时候就会报这个错(shiro认证和使用过程没有错误,但是注销清除redis中的session时就会报这个错):
c…
-
### Expected behavior
We are deploying atlas in a k8s cluster. When we scale more than one replica the webapi pod, the login process crash.
```
2024-01-31 17:34:37.126 ERROR http-nio-8080-exec-…
-
问题一: redis中都加载了什么数据,我看到的数据很奇怪。
问题二 :还有请教一个没解决的问题,我想要看一下shiro的源码,maven已经下载了相关的源码,但是并没有加载。这样的问题只是存在shiro中,其他的框架都正常加载源码。不知道你能加载源码么?
-
2018-01-30 10:40:30,831 [org.apache.shiro.session.mgt.AbstractValidatingSessionManager]-[DEBUG] No sessionValidationScheduler set. Attempting to create default instance.
2018-01-30 10:40:30,832 [org…
-
2018-11-06 20:03:47.276 INFO org.apache.juli.logging.DirectJDKLog 179 log - Starting ProtocolHandler ["http-nio-8888"]
2018-11-06 20:03:47.281 INFO org.apache.juli.logging.DirectJDKLog 179 log - Us…
-
public Collection values() {
Collection vals = Collections.emptyList();;
Jedis jedis = null;
try {
jedis = JedisUtils.getResource();
Collection col = jedis.hvals(JedisUtils.getBy…
-
2017-08-21 11:21:18,917 [ERROR] [http-nio-8080-exec-20] n.o.j.r.RedisCache:109 Error occured when get data from redis2 cache
java.io.IOException: java.lang.reflect.InvocationTargetException
at org.…