Apache Shiro
| This article or section has multiple issues. Please help improve the article or discuss these issues on the talk page.
|
| Developer(s) | Apache Software Foundation |
|---|---|
| Stable release | incubation / {{Expansion depth limit exceeded|2009|03|04}} |
| Written in | Java |
| Operating system | Cross-platform |
| Type | java security framework |
| License | Apache License 2.0 |
| Website | http://incubator.apache.org/shiro/ |
Apache Shiro (formerly known as Apache jSecurity) is a java security framework designed to have a clean object model, and easy to plugin. Apache Ki has been renamed to Apache Shiro .[1]
Overview
Shiro is designed to be easier to use than JAAS and to be accessible to non-java applications. Shiro supports Role and User permissions, and has bindings for web applications (JSecurityFilter). The permissions can be stored on a LDAP or on a database (via JDBC). It also integrates with Spring framework
Example
<source lang="java">
//Permissions can be checked using object-based permissions
PrinterPermission perm = new PrinterPermission("hplaserjet");
if(perm.isPermitted()) {
//show print button
} else {
//grey out button
}
</source>
References
- ↑ [Expression error: Unrecognized punctuation character "{". "Ki to Shiro renaming vote"].
See also
- Java Authentication and Authorization Service (JAAS)
- Enterprise_JavaBean#Security EJB Container-Managed Security
- jGuard a JAAS implementation
External links
| ||||||||||||||||||||||||||
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...