首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 在Zend的MVC框架的安全框架

在Zend的MVC框架的安全框架

  • 资源大小:14.45 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: mvc zend 框架 安全

资 源 简 介

Annotation based framework, to add security to the zend application mvc framework. See http://aktey.de/secapp/public/ to see the demo application in action. This framework adds role based security support to your Zend application. Therefor controller classes or action methods could be "annotated" with an "@roles(role1, role2)" annotation, which means in an PHP context to put an @role in the doc block of your class or method. If the body of the @roles annotation kept empty, means that the user has to be logged in without having a certain role. In the example there are two roles: admin, user. There are also two registered users: userotto, who has only the user role and adminotto, who has both, the admin and the user role. There is no password to log in to the demo sites, just keep it blank. This framework also adds a resource injection mechanism to your Zend application.

文 件 列 表

secapp
src
pom.xml
VIP VIP
0.175718s