soar_idm 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c3e1d7bd6ab36b070516c7df38c6aa35c24dee4
4
- data.tar.gz: d027699c55c43b626d92af3d813c4a47ea42ed5c
3
+ metadata.gz: 34a912d8f9c8ad083d3224c3ab55860a97b413f9
4
+ data.tar.gz: 6f700d779a87d38bf19dd2924d3aead7de30f8c6
5
5
  SHA512:
6
- metadata.gz: 6e31cdd4fa2e554a3cb73bf94693b059f5431d78a264e43eec377fb7b21628be0d9fab88e705af809b0ff73797f9a64cf4e0e2d2a2f8ae06e9d759024deef8ea
7
- data.tar.gz: 9aaf7a5deba6a3f813a01b5652becf5d6cffc45a24aebc41ef4ff0f48c9a94d4678b9f2beaabe7090f35a024b17bd74dccceb6671ca43c4f3fb43fd9e389f6c6
6
+ metadata.gz: e4b59521ca2de7ae341b0a9d1ea5d3c87903f00d74c94caa23626380b924c915df3607f59c2c6152600f37c83dff087835fdc62ca62f9172c868ec416ef64aa3
7
+ data.tar.gz: 78d67ef83fe57a67f9757bc3ba0dfa3ad8c885f033ae4a82fe9fb739d6e597dcf20ae9a73ad0683a6c5b71d82c7a4847f9913d4ab4545e830c7a3e0523f30b9f
data/README.md CHANGED
@@ -29,6 +29,10 @@ If more than one identity is found for the entity identifier:
29
29
  If no identities are found for the entity identifier:
30
30
  - Identities not found for identifier entity_identifier
31
31
 
32
+ ## Directory
33
+
34
+ This IDM specification recommends an API for a source of truth directory that provides the IDM with the necessary data to which to apply a rule set in pursuit of identifier / role / attribute mapping. Please see the SoarIdm::DirectoryProvider for more detail.
35
+
32
36
  ## Installation
33
37
 
34
38
  Add this line to your application's Gemfile:
@@ -78,6 +82,7 @@ Over-ride the public and private methods at your own risk and at the risk of non
78
82
  ## Usage (client)
79
83
  spec.add_development_dependency 'soar_idm'
80
84
  bundle exec irb
85
+ require 'soar_idm/soar_idm'
81
86
 
82
87
  In the examples that follow, @iut refers to 'implementation under test' a.k.a 'item under test'
83
88
  Extend the {SoarIDM::IdmApi IDM API} class to create an identity registry.
@@ -0,0 +1,36 @@
1
+ require 'uri'
2
+ require 'jsender'
3
+
4
+ module SoarIdm
5
+ class DirectoryProvider
6
+ include Jsender
7
+
8
+ def bootstrap(configuration)
9
+ fail('Not implemented')
10
+ end
11
+
12
+ def bootstrapped?
13
+ success_data({ 'bootstrap' => false })
14
+ end
15
+
16
+ def uri
17
+ success_data({ 'uri' => URI("http://localhost").to_s })
18
+ end
19
+
20
+ def authenticate(credentials)
21
+ fail('Not implemented')
22
+ end
23
+
24
+ def connect
25
+ fail('Not implemented')
26
+ end
27
+
28
+ def connected?
29
+ success_data({ 'connected' => false })
30
+ end
31
+
32
+ def ready?
33
+ success_data({ 'ready' => false })
34
+ end
35
+ end
36
+ end
@@ -1,3 +1,3 @@
1
1
  module SoarIDM
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_idm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst van Graan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-02 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,6 +92,7 @@ files:
92
92
  - LICENSE.txt
93
93
  - README.md
94
94
  - Rakefile
95
+ - lib/soar_idm/directory_provider.rb
95
96
  - lib/soar_idm/soar_idm.rb
96
97
  - lib/soar_idm/version.rb
97
98
  - soar_idm.gemspec