I have some question about openfire in dev?

1.what can i do ,if i want to make sso(single sign-on).

2.openfire how to integrated different plugins in diffrent server and show that icon in spark.