ADFS 3.0自定义声明提供程序信任LOGO [英] ADFS 3.0 Customize Claims Provider Trust LOGO

查看:133
本文介绍了ADFS 3.0自定义声明提供程序信任LOGO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

交叉发布自:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/f15dff1d-4409-4c35-9e23-b0220f97197e/adfs- 30-customize-claims-provider-trust-logo?forum = winserverDS

我在ADFS 3.0(Windows Server 2012 R2)中设置了2个声明提供程序 

I have 2 Claims providers setup in ADFS 3.0 (Windows Server 2012 R2) 

在Home Realm Discovery页面上,我想自定义每个身份提供商旁边的徽标。

On the Home Realm Discovery Page I would like to customize the logo next to each Identity Provider.

是否有PowerShell命令执行此操作?如何做到这一点?

Is there a PowerShell command to do this? How does one do this?

谢谢;

Jonathan

澄清:

假设一个人设置了两个可信身份提供者(因此不仅仅需要Active Directory进行身份验证;例如Facebook / Google / Twitter /合作伙伴的Active Directory / etc /等等)

Assume that a person has two trusted identity providers setup (so more than just Active Directory to authenticate against; for example Facebook/Google/Twitter/ a partners' Active Directory/ etc / etc.)

然后向用户显示(在ADFS 2.0中的术语 - 也许这是在我身上发生了变化)Home Realm Discovery Page。用户必须选择"Active Directory"的地方。或"Facbook"或或"Google"或(例如,我们实际上并不是使用谷歌或Facebook的
,但你明白了)。那么他们希望对哪个身份提供商进行身份验证。

The user is then presented with the (in ADFS 2.0 terminology - maybe this has changed on me) Home Realm Discovery Page. Where the user has to select "Active Directory" or "Facbook" or "Google" (for example, we're not actually using Google or Facebook but you get the idea). So which Identity Provider they wish to Authenticate against.

有一个丑陋的地狱"图标"。在每个身份提供商旁边的左侧 -   图标,即开箱即用。

There is a ugly as hell "icon" on the left hand side next to each identity provider - the icon that comes out of the box.

我没有看到PowerShell命令来自定义它。自从< img>以来我也没有看到jQuery的方法。 ADFS 3.0吐出的原始HTML中的元素不会分配< IMG>标记ID。 (我不是一个jQuery大师,所以如果其他人对
有一个想法如何导航HTML的DOM来实现那里我很满意...)

I did not see a PowerShell command to customize it. Nor did I see a way with jQuery since the <img> element in the raw HTML that ADFS 3.0 spits out does not assign the <IMG> tag an ID. (I'm not a jQuery guru so if someone else has an idea on how to navigate the DOM of the HTML to get there I'm all ears...)

我宁愿拥有"Facbook"。或"Google"或他们各自的提供商旁边的标志比你那些丑陋的开箱即用的图标...... :)

I would rather have the "Facbook" or "Google" Logos next to their respective providers than ye old ugly as hell out of the box icon... :)

推荐答案

本文讨论使用每个声明提供商的不同徽标。  基本上您需要更改默认Web主题(创建新的WebTheme)并修改onload.js以更改图像。   Claims Provider图片在
img标记中有一个alt属性,可用于更改图像(alt属性值与声明提供者名称相同)。

This article discusses using a different logo for each Claims Provider.  Basically you need to alter the default Web Theme (create a new WebTheme) and modify onload.js to change the image.  The Claims Provider images have an alt attribute in the img tag that can be used to change the image (the alt attribute value is the same as the claims provider name).

http://blogs.technet.com/b/pie/archive/2015/02/15/customizing-the-idp-images-in-the-home-realm-discovery-page.aspx


这篇关于ADFS 3.0自定义声明提供程序信任LOGO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆