开发者

Can I present My Loginwidow before MAC Login Window

开发者 https://www.devze.com 2023-01-03 00:58 出处:网络
I am trying to put my own customisedlogin window before the standard MAC OS X Login window. Acutally , I need to have a stacking / chainingof window, so that original MAC Login window presented after

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

精彩评论

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