Skip to content
/ gfalcon Public

identification infrastructure for SaaS Platform

License

Notifications You must be signed in to change notification settings

m0cchi/gfalcon

Repository files navigation

identification infrastructure for SaaS Platform

CircleCI BCH compliance codebeat badge Codacy Badge Go Report Card

Description

SaaS Platform(e.g. AWS)で利用するための認証基盤。

Feature

  • SaaS Platform で利用することを想定
    • Service 毎に権限の定義できる
    • シングルログアウトができる
    • 認証連携のサポート(TODO)
  • Easy for any language(TODO: gRPC で API の呼び出し)

TODO

  • Role の作成
  • 認証連携 (SAML?OpenID Connet?Kerberos?)
  • gRPC で API の呼び出し
  • Log
  • ベンチマーク
  • SampleApp(Wiki,ImageStorage)
  • CLI経由でモデル操作
  • ModelInfoの実装(UserやServiceを任意に拡張できる)
  • 無効なSessionの削除
  • 設定ファイル(セッションの長さや有効期限の設定)

Sample IdP

IdP の Sample Application。 認証の利用例となる。 また、SSO の実現も行なっている。 Cookie をサブドメイン間で共有することで SSO を実現している。 サブドメイン群の中に、非SSLのWebServiceが動いている場合は非推奨。

参考となるコード: gfalconにおける認証の仕方

SSO の例: gfalcon-sso-sample

Demo

Sample SP

SP の Sample Application。 認可の利用例となる。 Action(利用制限を行いたい行動) を定義する。 Action を許可したい User は、Action との ActionLink を作成する。 SP では、 ActionLink で認可の制御を実現している。

参考となるコード: gfalconにおける認可の仕方

Demo

License

Licensed under the MIT License.

About

identification infrastructure for SaaS Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •