sso与acegi

acegi为基于j2ee的企业应用提供了全面的安全解决方案,具有很好的使用性并且具有灵活的安全配置

(一) Introduction

layers of securiy 分层安全机制

可以直接打包到war or ear ,在新的目标环境中无需重新配置,可以带给我们很多有用的,完全客户化的安全特性

 安全包括两个操作:"authentication" 认证 "authorization"授权

认证级别支持的第三方技术:

? HTTP BASIC authentication headers (an IEFT RFC-based standard)
? HTTP Digest authentication headers (an IEFT RFC-based standard)
? HTTP X.509 client certificate exchange (an IEFT RFC-based standard)
? LDAP (a very common approach to cross-platform authentication needs, especially in large
environments)
? Form-based authentication (for simple user interface needs)
? Computer Associates Siteminder
? JA-SIG Central Authentication Service (otherwise known as CAS, which is a popular open
source single sign on system)
? Transparent authentication context propagation for Remote Method Invocation (RMI) and
HttpInvoker (a Spring remoting protocol)
? Automatic "remember-me" authentication (so you can tick a box to avoid re-authentication for
a predetermined period of time)
? Anonymous authentication (allowing every call to automatically assume a particular security
identity)
? Run-as authentication (which is useful if one call should proceed with a different security
identity)
? Java Authentication and Authorization Service (JAAS)
Acegi Security 1.0.5 2
? Container integration with JBoss, Jetty, Resin and Tomcat (so you can still use Container
Manager Authentication if desired)
? Your own authentication systems (see below)

授权级别包含三方面主要的领域:

authorizing web requests,authorizing methods,authorizing access to
individual domain object instances

To help you understand the differences, consider the authorization
capabilities found in the Servlet Specification web pattern security, EJB Container Managed Security
and file system security respectively.

(二) Technical Overview

1 运行时环境:不需要添加配置文件到java运行时路径,不需要配置特殊的jaas policy file 或 acegi到类路径。

                           也不需要添加配置文件到ejb 或servlet 容器的server classloader;

1、采用何种方式结合比较简单

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值