Spring Security Shiro Plugin - Reference Documentation
2.1. User Permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.2. Role Permissions. . . . . Shiro credentials when you explicitly logout. 1.1. History • Version 3.2 ◦ Added optional role-based permissions capability • Version 3.1.1 ◦ released April 19, 2018 ◦ Update Spring Security Shiro version script. 2.1. User Permissions To use the Shiro annotations and methods you need a way to associate roles and permissions with users. The Spring Security Core plugin already handles the role part for you,0 码力 | 8 页 | 122.93 KB | 10 月前3跟我学Shiro - 张开涛
分指 定角色即权限信息; org.apache.shiro.realm.text.PropertiesRealm: user.username=password,role1,role2 指定用户 名/密码及其角色;role.role1=permission1,permission2 指定角色及权限信息; org.apache.shiro.realm.jdbc.JdbcRealm:通过 sql 查询相应的信息,如“select from users where username = ?”获取用户密码及盐;“select role_name from user_roles where username = ?” 获取用户角色;“select permission from roles_permissions where role_name = ?”获取角色对 应的权限信息;也可以调用相应的 api 进行自定义 sql; 本文将使用 mysql 数据库及 druid 连接池; 2、到数据库 shiro 下建三张表:users(用户名/密码)、user_roles(用户/角色)、roles_permissions (角色/权限),具体请参照 shiro-example-chapter2/sql/shiro.sql;并添加一个用户记录,用 户名/密码为 zhang/123; 3、ini 配置(shiro-jdbc-realm0 码力 | 219 页 | 4.16 MB | 10 月前3Shiro support for the Spring Security plugin - Reference Documentation
iro:1.0.0' } Permissions To use the Shiro annotations and methods you need a way to associate roles and permissions with users. The Spring Security Core plugin already handles the role part for you, so you must configure permissions for this plugin. There is no script to create a domain class, but it's a very simple class and easy to create yourself. It can have any name and be in any package, but flexibility, or perhaps to create this as a many-to-many, you can replace the Spring bean that looks up permissions. Create a class in src/groovy or src/java that implements the interface, and grails.plugin.springsecurity0 码力 | 5 页 | 16.72 KB | 10 月前3Shiro support for the Spring Security plugin - Reference Documentation
e:1.2.7.3' } Permissions To use the Shiro annotations and methods you need a way to associate roles and permissions with users. The Spring Security Core plugin already handles the role part for you, so you must configure permissions for this plugin. There is no script to create a domain class, but it's a very simple class and easy to create yourself. It can have any name and be in any package, but flexibility, or perhaps to create this as a many-to-many, you can replace the Spring bean that looks up permissions. Create a class in src/groovy or src/java that implements the interface, and grails.plugin.springsecurity0 码力 | 6 页 | 17.49 KB | 10 月前3Django CMS 3.0.x Documentation
arguments: request A Django request instance. You want to modify based on sessions, or user or permissions? nodes All the nodes. Normally you want to return them again. namespace A Menu Namespace. Only reverse('myapp_namespace:app_main', current_app=current_app) # ... Apphook permissions By default all apphooks have the same permissions set as the page they are assigned to. So if you set login required on requirements. To disable this behavior set permissions = False on your apphook: class SampleApp(CMSApp): name = _("Sample App") urls = ["project.sampleapp.urls"] permissions = False If you still want some of your0 码力 | 180 页 | 1.56 MB | 6 月前3TiDB v8.5 Documentation
Password Management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3895 14.11.5 Role-Based Access Control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3906 (IMDSv2). You can configure your EC2 instance to allow BR to use the IAM role associated with the instance for appropriate permissions to access Amazon S3. For more information, see documentation. 2.2.1 DDL Y Y Y Y Y N N N N N N N TiDB Accelerated Table Creation E E E E N N N N N N N N Configure BDR role to replicate DDL statements in BDR mode Y Y E E N N N N N N N N 4Starting from v6.4.0, TiDB supports0 码力 | 6730 页 | 111.36 MB | 9 月前3TiDB v8.4 Documentation
Password Management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3881 14.11.5 Role-Based Access Control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3892 (IMDSv2). You can configure your EC2 instance to allow BR to use the IAM role associated with the instance for appropriate permissions to access Amazon S3. For more information, see documentation. 2.2.1 DDL Y Y Y Y Y N N N N N N N TiDB Accelerated Table Creation E E E E N N N N N N N N Configure BDR role to replicate DDL statements in BDR mode Y Y E E N N N N N N N N 4Starting from v6.4.0, TiDB supports0 码力 | 6705 页 | 110.86 MB | 9 月前3TiDB v8.3 Documentation
Password Management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3847 14.11.5 Role-Based Access Control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3858 DDL statements on both TiDB clusters separately. With this feature, after assigning a PRIMARY BDR role to a cluster, TiCDC can replicate the DDL statements from that cluster to the SECONDARY cluster. inconsistent data indexes #54897 @tangenta • PD • Fix the issue that no error is reported when binding a role to a resource group #54417 @JmPotato • Fix the issue that a resource group encounters quota limits0 码力 | 6606 页 | 109.48 MB | 9 月前3TiDB v8.1 Documentation
Password Management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3799 14.11.5 Role-Based Access Control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3810 Pause/Resume DDL Y Y N N N N N N N TiDB Accelerated Table Creation E N N N N N N N N Configure BDR role to replicate DDL statements in BDR mode E N N N N N N N N 2.3.6 Transactions Transactions 8.1 7 1 Transparent layer security (TLS) Y Y Y Y Y Y Y Y Y Encryption at rest (TDE) Y Y Y Y Y Y Y Y Y Role-based authentication (RBAC) Y Y Y Y Y Y Y Y Y Certificate-based authentication Y Y Y Y Y Y Y Y Y0 码力 | 6479 页 | 108.61 MB | 9 月前3TiDB v8.2 Documentation
Password Management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3833 14.11.5 Role-Based Access Control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3844 Pause/Resume DDL Y Y Y N N N N N N N TiDB Accelerated Table Creation E E N N N N N N N N Configure BDR role to replicate DDL statements in BDR mode E E N N N N N N N N 2.3.6 Transactions Transactions 8.2 Transparent layer security (TLS) Y Y Y Y Y Y Y Y Y Y Encryption at rest (TDE) Y Y Y Y Y Y Y Y Y Y Role-based authentication (RBAC) Y Y Y Y Y Y Y Y Y Y Certificate-based authentication Y Y Y Y Y Y Y Y0 码力 | 6549 页 | 108.77 MB | 9 月前3
共 152 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16