开发者

Spring Security - Add TAN system

开发者 https://www.devze.com 2023-01-25 16:08 出处:网络
I\'m using Spring Security 3.04 to authenticate the users of my system using 3 Roles, while all of them are allowed to access something like a landing page.

I'm using Spring Security 3.04 to authenticate the users of my system using 3 Roles, while all of them are allowed to access something like a landing page.

From this landing page, there should be another system which can only be accessed by one Role and by a TAN-authenticated user.

So my question is: What would be the best way to add a third login-attribute to spring security? Or is there a way to store attributes within the securit开发者_运维问答y context? Or is there any other way to add a multi-level-authentication to my application using spring security?

Thanks in advance for any help!

Best regards, Robert


There is an excellent walkthrough on how to integrate an external authentication mechanism here:

http://blog.springsource.com/2010/08/02/spring-security-in-google-app-engine/

That should get you on the right track.

Grant

0

精彩评论

暂无评论...
验证码 换一张
取 消