首页 \ 问答 \ 将另一个OAuth2.0授权服务器与MobileFirst Platform一起使用,而不是包含其中一个(Using another OAuth2.0 Authorization Server with MobileFirst Platform other than the included one)

将另一个OAuth2.0授权服务器与MobileFirst Platform一起使用,而不是包含其中一个(Using another OAuth2.0 Authorization Server with MobileFirst Platform other than the included one)

阅读这篇非常好的博客文章(熟悉IBM MobileFirst Platform Foundation OAuth安全性)我了解了MobileFirst Platform(7.0及更高版本)如何具有集成的OAuth2.0授权服务器,该服务器可用于保护外部资源服务器。

但是,我想了解的是, 是否可以将MobileFirst Platform与另一个授权服务器集成,并保护MobileFirst Platform(和外部)资源服务器。 在这种情况下,授权服务器将是在Windows Server 2012R2上运行的ADFS。

产品文档中的此文档说明了如何将DataPower用作OAuth授权服务器。 它是否也可以用于其他OAuth2.0授权服务器? (在这种情况下,授权服务器将是在Windows Server 2012R2上运行的ADFS。)


reading this very good blog post (Getting familiar with IBM MobileFirst Platform Foundation OAuth Security) I learned how MobileFirst Platform (7.0 and above) has an integrated OAuth2.0 Authorization Server, which can be used to protect external resource servers.

However what I would like to understand is if it's possible to integrate MobileFirst Platform with another Authorization Server and protect MobileFirst Platform (and external) resource servers. The Authorization Server in this case would be ADFS running on Windows Server 2012R2.

This document from the Product Documentation explains how to use DataPower as OAuth Authorization Server. Can it be used also for other OAuth2.0 Authorization servers ? ( The Authorization Server in this case would be ADFS running on Windows Server 2012R2. )


原文:https://stackoverflow.com/questions/36764574
更新时间:2022-04-17 19:04

最满意答案

Python的日志记录框架基于记录器的层次结构。 无论记录到tornado.access ,默认情况下都会传播到根记录器(默认情况下转到stderr)。 如果您不希望访问日志重复,请设置propagate属性:

access_log.propagate = False

Python's logging framework is based on a hierarchy of loggers. Whatever is logged to tornado.access is also by default propagated to the root logger (which goes to stderr by default). If you don't want the access log to get duplicated, set the propagate attribute:

access_log.propagate = False

相关问答

更多
  • sys.stdout是与程序的标准输出对应的文件对象。 你可以使用它的write()方法。 请注意,可能没有必要使用with语句,因为stdout不必打开或关闭。 所以,如果你需要创建一个csv.writer对象,你可以说: import sys spamwriter = csv.writer(sys.stdout) sys.stdout is a file object corresponding to the program's standard output. You can use its wri ...
  • Python的日志记录框架基于记录器的层次结构。 无论记录到tornado.access ,默认情况下都会传播到根记录器(默认情况下转到stderr)。 如果您不希望访问日志重复,请设置propagate属性: access_log.propagate = False Python's logging framework is based on a hierarchy of loggers. Whatever is logged to tornado.access is also by default p ...
  • 我在我的一个项目中使用了这个: import io import sys from enum import Enum class Tee(io.StringIO): class Source(Enum): STDOUT = 1 STDERR = 2 def __init__(self, clone=Source.STDOUT, *args, **kwargs): super().__init__(*args, **kwargs) ...
  • 这不是完整的代码,只是我在5分钟内提出的,但它应该能够提供足够的信息来满足您的要求。 如果您有任何疑问或需要进一步解释,请告诉我。 from tornado import gen, httpclient, ioloop @gen.coroutine def main(): client = httpclient.AsyncHTTPClient() response = yield client.fetch( 'https://findicons.com/files/icon ...
  • @asynchronous装饰器应该用于标记已经异步的方法; 它不会使方法异步。 这个post方法是同步的,因为它在将控制权返回给IOLoop之前完成了它要做的所有事情。 你需要使upload()方法异步(这通常意味着它将采用一个回调参数或返回一个Future ),然后调用它而不阻塞post() (我建议使用@gen.coroutine装饰器并调用慢速操作通过让他们回归的Futures )。 The @asynchronous decorator should be used to mark a metho ...
  • 您不能将websockets与Tornado的WSGIApplication一起使用。 要使用Tornado的websocket支持,你必须使用Tornado的HTTPServer,而不是apache。 You can't use websockets with Tornado's WSGIApplication. To use Tornado's websocket support you have to use Tornado's HTTPServer, not apache.
  • 通常你使用“ - ”来指定stdout,但并非所有命令都接受这个,我不关心gpg。 例如: tar -cvzf - foo/ ¦ split -b 50k foobar_ 将“tar-file”传递给stdout,将其拆分并保存到“foobar_ <123 ...>”。 Usually you use "-" to specify stdout, but not all commands accept this and I don't about gpg. For example: tar -cvzf - ...
  • Tornado日志流只是来自“logging”python模块的标准记录器。 python网站上有很好的教程https://docs.python.org/3/howto/logging.html#advanced-logging-tutorial 根据如何设置处理程序(相同的教程) https://docs.python.org/3/howto/logging.html#handlers The Tornado logging streams are just standard loggers from ...
  • 这是因为除了你用tee做的事情之外,你还用> bin/newfile.conf重定向屏幕输出。 只需删除>及其后的所有内容即可。 如果除了屏幕之外还要一次输出这两个文件,可以使用tee两次,例如: printf ... | tee -a bin/logfile.log | tee bin/newfile.conf 这将附加到logfile.log并覆盖newfile.conf ,并写入屏幕。 根据需要使用或省略-a选项。 正如John1024指出的那样你也可以使用tee一次,因为它接受多个文件名,虽然在这 ...
  • 您可以尝试使用正则表达式处理stdout中的响应,并获得平均时间。 或者您可以使用python模块并自己执行,就像在此线程中描述的那样在Python中ping一个站点? 编辑:最简单的方法是使用正则表达式。 我稍微修改了你的代码snipet: import subprocess, re list_of_ips = ["facebook.com", "google.com"] for ip in list_of_ips: ping_process = subprocess.Popen(['ping' ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。