开发者

Can I present My Loginwidow before MAC Login Window

I am trying to put my own customised login window before the standard MAC OS X Login window. Acutally , I need to have a stacking / chaining of window, so that original MAC Login window presented after my customised login window. I have already tried prelogin agent, but that do not fullfill my requirement , because i want my windo开发者_开发问答w to be launched before MAC login window not parallet to MAC Login window.

Thanks for help in advance.

Meet B.


First you need to implement your own authorisation plugin. Here are some references:

  • Authorisation Plug-In Reference
  • Sample Plugin
  • SFauthorizationPluginView - Authorization plugin with custom GUI
  • Sample Plugin with GUI

After you plugin is done you need to register it in the policy database usingAuthorization Services API there are guides on how to do this is the links above. You emphasised the fact that you want you plugin to run before the native OS X plugin, this is all handled by the policy database. The policy database contains a list of authorisation plugins and they are executed in the order they are listed.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜