Update Apache Shiro Example code (#2453)
* added updated example codes * updated example code StringToCharStream * deleted StringToCharStream.java locally * removed redundant file * added code for apache commons collection SetUtils * refactored example code * added example code for bytebuddy * added example code for PCollections * update pom * refactored tests for PCollections * spring security xml config * spring security xml config * remove redundant comment * example code for apache-shiro
This commit is contained in:
committed by
Zeger Hendrikse
parent
eeb89df150
commit
491fc883be
@@ -1,3 +1,9 @@
|
||||
jdbcRealm = com.baeldung.MyCustomRealm
|
||||
[users]
|
||||
user = password,admin
|
||||
user2 = password2,editor
|
||||
user3 = password3,author
|
||||
|
||||
securityManager.realms = $jdbcRealm
|
||||
[roles]
|
||||
admin = *
|
||||
editor = articles:*
|
||||
author = articles:compose,articles:save
|
||||
Reference in New Issue
Block a user