自定义登录屏幕Mac OSX(SFAuthorizationPluginView) [英] Customize Login Screen Mac OSX (SFAuthorizationPluginView)

查看:177
本文介绍了自定义登录屏幕Mac OSX(SFAuthorizationPluginView)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试扩展MacOSX 10.9.1(Mavericks)中的登录屏幕.如我所知,这可以通过实施新的身份验证插件并将其安装到

I'm trying to extend the login screen in MacOSX 10.9.1 (Mavericks). As I found out, this is possible by implementing a new authentication plugin and install it in to the authorization database.

我已经下载了NameAndPassword示例,该示例显示了如何实现接口以及覆盖/扩展

I've downloaded the NameAndPassword example which shows how to implement the interface and overwrite / extend the SFAuthorizationPluginView. But the problem is that I can't build it under Mavericks. So I decided to download the second example which is called NullAuthPlugin. This one compiles but I didn't find out how to install it.

所以我的问题是,是否有一个很好的,更新的教程(技术说明是从2008-09-16开始的?)?

So my question one is, if there is a good and updated tutorial for this (TechNotes are form 2008-09-16)?

第二个问题是,是否可以使用C#(Xamarin.Mac/MonoMac)进行开发,因为我不太擅长开发Objective-C/C/C ++.

And question number two is, if this could be developed with C# (Xamarin.Mac / MonoMac) because I'm not very good in developing Objective-C / C / C++.

谢谢!

推荐答案

好吧,这些错误已多次报告给Apple,但到目前为止,他们对此并未采取任何措施.最简单的答案是:您需要修补的NameAndPassword插件版本-官方的插件已损坏.我将固定的插件放在GitHub上: https://github.com/skycocker/NameAndPassword

Well, the bugs have been reported to Apple multiple times but they didn't do anything about it so far. The simplest answer is: you need a patched version of the NameAndPassword plugin - the official one is broken. I put my fixed plugin on GitHub: https://github.com/skycocker/NameAndPassword

重要的是,您替换

<string>loginwindow:login</string>

授权策略数据库中的行

<string>NameAndPassword:invoke</string>

否则,它将无法登录.没有 Merlin69 a>帮助.

Otherwise it won't log you in. I wouldn't figure this out without Merlin69 help.

这篇关于自定义登录屏幕Mac OSX(SFAuthorizationPluginView)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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