简体   繁体   English

使用OpenAM 12.0 J2EE策略代理保护REST APIS

[英]Securing REST APIS using OpenAM 12.0 J2EE Policy Agents

I am new to OpenAM and trying to secure my webservices using OpenAM. 我是OpenAM的新手,正在尝试使用OpenAM保护我的Web服务。 I have installed J2EE policy agents using below information in the link. 我已经使用链接中的以下信息安装了J2EE策略代理。

https://wikis.forgerock.org/confluence/display/openam/Installing+Tomcat+6.0+Policy+Agent https://wikis.forgerock.org/confluence/display/openam/Installing+Tomcat+6.0+Policy+Agent

I need to provide security for my REST APIs. 我需要为我的REST API提供安全性。 So where should we need to configure the REST APIs in the OpenAM console. 因此我们需要在OpenAM控制台中配置REST API。

Please provide me some links where i get some information. 请提供一些我在其中获得一些信息的链接。

OpenAM policy agents are the OpenAM proprietary way to achieve (Web)SSO and authorizations. OpenAM策略代理是OpenAM专有的实现(Web)SSO和授权的方式。 You could configure URL policies as described in the docs https://backstage.forgerock.com/#!/docs/openam/13/admin-guide#chap-authz-policy , however the REST client must obtain an SSOToken and send this along when accessing the REST service. 您可以按照docs https://backstage.forgerock.com/#!/docs/openam/13/admin-guide#chap-authz-policy中所述配置URL策略,但是REST客户端必须获取SSOToken并将其发送访问REST服务时。

You could also use OAuth2 which would be a standards-based approach. 您也可以使用OAuth2,这是一种基于标准的方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM