Apache Shiro

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search
Apache Shiro
Developer(s) Apache Software Foundation
Stable release incubation / March 4, 2009; 37152667 ago
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]

Contents

[edit] 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

[edit] Example

 //Permissions can be checked using object-based permissions
 PrinterPermission perm = new PrinterPermission("hplaserjet");
 
 if(perm.isPermitted()) {
     //show print button  
 } else {
     //grey out button 
 }

[edit] References

  1. "Ki to Shiro renaming vote". http://n2.nabble.com/Apache-JSecurity-Ki-Project-Rename---VOTE-RESULT-td3057020.html#a3057020. 

[edit] See also


[edit] External links

Personal tools

Served in 2.432 secs.