shiro

    1热度

    1回答

    我有一个基于xml的Apache Shiro SecurityManager和几个自定义领域(它们扩展构建领域)。我正在尝试迁移到Spring Boot,它基本上是基于注释的。 我想很容易地将所有域配置到安全管理器中。目前,我可以通过创建ShiroConfig.java(由@Configuration注释)手动创建ShiroConfig中每个域的对象并添加它在DefaultWebSecurityM

    0热度

    1回答

    我正在使用shiro进行身份验证以及ehcache.xml以启用SSO。 我ehcache.xml中看起来像 <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="true" monitor

    1热度

    1回答

    实例化JerseyTest与此类 public class NMAAbstractRestTest extends JerseyTest { @Override protected Application configure() { NMAdaptorApplication application = new NMAdaptorApplication();

    1热度

    1回答

    我是一种新的Apache shiro,并尝试使用authcBasic来保护web服务。 我需要创建一个web服务,我可以通过提供用户名和密码来登录,这可以利用Apache shiro的功能。 任何指导意见将非常理解

    0热度

    1回答

    我目前正在执行spring security shiro插件,但似乎遇到了权限问题。以下是我的设置。当访问我应该访问的资源时,我得到'您无权访问此订单...'。 域类 class Permission { Account user String permission static constraints = { permission unique: '

    0热度

    1回答

    我正在使用Apache Shiro(v1.2.3),并且我正确设置了用户名/密码认证,并且它正在工作(我正在将密码哈希和salt存储在远程数据库中)。我现在试图使用角色设置权限。我有一个延伸AuthorizingRealm的单一领域,例如 public class MyRealm extends AuthorizingRealm { @Override protected A

    0热度

    1回答

    我正在将现有应用程序从Grails 2.4.4升级到Grails 3.2.8。我试图从grails shiro插件迁移到grails spring-security-shiro插件。我想在布局模板gsp中执行正常的登录检查,除了访问已登录的用户。 以下是我在我的布局GSP main.gsp <g:if test="${shiro.principal()}"> Welcome back

    0热度

    1回答

    ini文件就像 [main] authc.loginUrl = /login.html authc.successUrl = /index.html authc.usernameParam = j_username authc.passwordParam = j_password [users] root = secret, admin [roles] admin = *

    0热度

    2回答

    有没有人知道从哪里可以找到版本1.2.4的版本说明,直到Apache Shiro 1.3.2。我想知道有什么不同是?

    0热度

    1回答

    我正在尝试更改cookie名称以及我的web领域的超时值。 这里是我的境界: - public class TTShiroWebModule extends ShiroWebModule { public TTShiroWebModule(ServletContext inServletContext) { super(inServletContext);