aaa.git
8 years agoBug 4723 AAA StoreBuilder init times out too early 20/30720/2
Ryan Goulding [Fri, 4 Dec 2015 15:19:50 +0000 (10:19 -0500)]
Bug 4723 AAA StoreBuilder init times out too early

AAA StoreBuilder will timeout if the backing data store isn't
loaded in 30s.  This is too short for some features.

Change-Id: I5c0c866b820bcf49e9592d620df69eefbb8dc2db
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoInherit version from parent 01/30401/2
Thanh Ha [Mon, 30 Nov 2015 19:35:24 +0000 (14:35 -0500)]
Inherit version from parent

Since the bundle is using the same version as the parent version we can
inherit it and clean up the pom a little. Some aaa artifacts are already
using this method so this patch just makes the remaining ones update for
consistency.

Change-Id: I7af809d24475f096fbcedacbed1f239ff76fecec
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoAdd the new config artifact to feature dependencies. 99/30399/2
Vratko Polak [Mon, 30 Nov 2015 19:02:10 +0000 (20:02 +0100)]
Add the new config artifact to feature dependencies.

AAA distribution job (and several downstream merge jobs)
are failing because they are unable to locate
org.opendaylight.aaa:aaa-h2-store:xml:config:0.3.0-SNAPSHOT
This is an attempt to fix that.

Also, the new config artifact is added to artifacts.

Change-Id: Id37064d6eb3eaf87778c0f7f3cec7cd9dcb463a3
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoMerge "Revert "Revert "BUG 4624: Use default domain when credentials dont provide...
Ryan Goulding [Mon, 30 Nov 2015 17:11:43 +0000 (17:11 +0000)]
Merge "Revert "Revert "BUG 4624: Use default domain when credentials dont provide one"""

8 years agoRevert "Revert "BUG 4624: Use default domain when credentials dont provide one"" 93/30393/1
Ryan Goulding [Mon, 30 Nov 2015 17:03:04 +0000 (17:03 +0000)]
Revert "Revert "BUG 4624: Use default domain when credentials dont provide one""

This reverts commit 7bc9064d9fca906e397afadef2ab86838402ceb0.

Change-Id: I3a0ac71bb37540a16a037d43c6b150266bc1c6a7
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoH2 Store converted to Config Subsystem 18/30318/2
Sharon Aicler [Sat, 28 Nov 2015 19:53:41 +0000 (11:53 -0800)]
H2 Store converted to Config Subsystem

Change-Id: I6400587b920f8558512b942889216f3c72e42a49
Signed-off-by: Sharon Aicler <saichler@cisco.com>
8 years agoHardwire Services in sts ServiceLocator 08/29608/3
Sharon Aicler [Thu, 12 Nov 2015 19:21:42 +0000 (11:21 -0800)]
Hardwire Services in sts ServiceLocator

Change-Id: Ia408c78484ee0183626437318c147d60979d204f
Signed-off-by: Sharon Aicler <saichler@cisco.com>
8 years agoApply comments for MDSAL Store 17/30317/2
Sharon Aicler [Sat, 28 Nov 2015 14:53:08 +0000 (14:53 +0000)]
Apply comments for MDSAL Store

This reverts commit 7050d9954aed918d6b6bca4ccaec803a33f83a1d.

Change-Id: I450370f72888a54790d2c3e1077adab96a22bc40
Signed-off-by: Sharon Aicler <saichler@cisco.com>
8 years agoRe-apply MD-SAL Data Store For AAA 15/30315/3
Sharon Aicler [Sat, 28 Nov 2015 14:50:55 +0000 (14:50 +0000)]
Re-apply MD-SAL Data Store For AAA

This reverts commit 56837b89838429e326b8f18312f66331fe85eb44.

Change-Id: Ic8ec33213fbd8a632ab4b37a25fb1266f2f35d4f
Signed-off-by: Sharon Aicler <saichler@cisco.com>
8 years agoMerge "Add OAuth2 Token to Shiro to maintain cross-version compatibility"
Ryan Goulding [Wed, 25 Nov 2015 18:27:47 +0000 (18:27 +0000)]
Merge "Add OAuth2 Token to Shiro to maintain cross-version compatibility"

8 years agoAdd OAuth2 Token to Shiro to maintain cross-version compatibility 10/30110/4
Ryan Goulding [Tue, 24 Nov 2015 03:09:30 +0000 (22:09 -0500)]
Add OAuth2 Token to Shiro to maintain cross-version compatibility

Adds a mechanism to authenticate OAuth2 tokens, similar to
TokenAuthFilter's implementation.

Change-Id: Idade3da6fc364e1635d8a92b37e617d5ca697821
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoRevert "MD-SAL Store for IDM" 41/30141/3
Ryan Goulding [Tue, 24 Nov 2015 14:27:04 +0000 (14:27 +0000)]
Revert "MD-SAL Store for IDM"

This reverts commit 4a4dcdb561819b4016b918516d3dddf116016d0b.

Change-Id: I27df1cad7fa1c5e67f89cc84ca403e96fb5999e9
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Revert "BUG 4624: Use default domain when credentials dont provide one""
Ryan Goulding [Tue, 24 Nov 2015 16:24:52 +0000 (16:24 +0000)]
Merge "Revert "BUG 4624: Use default domain when credentials dont provide one""

8 years agoMerge "Revert "MD-SAL Store applied Comments""
Ryan Goulding [Tue, 24 Nov 2015 16:24:23 +0000 (16:24 +0000)]
Merge "Revert "MD-SAL Store applied Comments""

8 years agoRevert "BUG 4624: Use default domain when credentials dont provide one" 43/30143/1
Ryan Goulding [Tue, 24 Nov 2015 14:28:52 +0000 (14:28 +0000)]
Revert "BUG 4624: Use default domain when credentials dont provide one"

This reverts commit 4e67c246552d8bb40d5090bc0f572df91cce84ac.

Change-Id: I389426f9f95e6d6c91bc2b300dfe257af992f571
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoRevert "MD-SAL Store applied Comments" 42/30142/1
Ryan Goulding [Tue, 24 Nov 2015 14:27:58 +0000 (14:27 +0000)]
Revert "MD-SAL Store applied Comments"

This reverts commit f429ddf8d4db71c40ca9957c52e4052b95cb10de.

Change-Id: Ifba2d2342cbb793d5bd20dff22b2a7c83629dcf9
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoBUG 4624: Use default domain when credentials dont provide one 88/29588/2
Tomas Cere [Thu, 12 Nov 2015 10:32:56 +0000 (11:32 +0100)]
BUG 4624: Use default domain when credentials dont provide one

Change-Id: I28a76301b2a588dd52d686d76f7abcace036ee88
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "Enables TokenAuthRealm adapter to existing data stores"
Ryan Goulding [Sun, 8 Nov 2015 22:34:37 +0000 (22:34 +0000)]
Merge "Enables TokenAuthRealm adapter to existing data stores"

8 years agoMerge "MD-SAL Store applied Comments"
Ryan Goulding [Sun, 8 Nov 2015 22:19:15 +0000 (22:19 +0000)]
Merge "MD-SAL Store applied Comments"

8 years agoMD-SAL Store applied Comments 33/29333/2
Sharon Aicler [Thu, 5 Nov 2015 18:18:09 +0000 (10:18 -0800)]
MD-SAL Store applied Comments

Change-Id: Idc25ccc288767ee7d97681734a5a16b78689729f
Signed-off-by: Sharon Aicler <saichler@cisco.com>
8 years agoEnables TokenAuthRealm adapter to existing data stores 86/29386/2
Ryan Goulding [Fri, 6 Nov 2015 14:08:57 +0000 (09:08 -0500)]
Enables TokenAuthRealm adapter to existing data stores

Enables a new realm to check authentication against existing data
stores (IdM & MD-SAL).

Change-Id: I65bd61fe77afa09dd1c02ac37831c516b1cc8200
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoSwitch DefaultRBACRules to utilize lazy initialization 46/29346/2
Ryan Goulding [Thu, 5 Nov 2015 20:05:40 +0000 (15:05 -0500)]
Switch DefaultRBACRules to utilize lazy initialization

Change-Id: I6e8ecca904e2c64f6d977204f36b0f4c83275702
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoBug 4588 aaa-authn-api causing stack overflow for sfc tests 40/29340/2
Ryan Goulding [Thu, 5 Nov 2015 19:05:40 +0000 (14:05 -0500)]
Bug 4588 aaa-authn-api causing stack overflow for sfc tests

Swaps out the logging library in favor of the l2switch library, so
that the classpath is not polluted with APIs that do not behave
well together.

Change-Id: I067cfa648904a339b572fc3cd77e326bfcc1a209
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "MD-SAL Store for IDM"
Ryan Goulding [Thu, 5 Nov 2015 15:18:47 +0000 (15:18 +0000)]
Merge "MD-SAL Store for IDM"

8 years agoMD-SAL Store for IDM 77/29077/1
Sharon Aicler [Sat, 31 Oct 2015 15:53:25 +0000 (08:53 -0700)]
MD-SAL Store for IDM

Change-Id: Ib44bf394616b5a471025a1d5b98ea3574f2e94f3
Signed-off-by: Sharon Aicler <saichler@cisco.com>
8 years agoFix aaa-shiro JDK8 compatibility 54/29054/1
Robert Varga [Sat, 31 Oct 2015 11:02:11 +0000 (12:02 +0100)]
Fix aaa-shiro JDK8 compatibility

Fixes how external links are documented.

Change-Id: I493476675aa7b4f36ca82d33c0469da5b1605fc7
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoRemove duplicate dependency 52/29052/1
Robert Varga [Sat, 31 Oct 2015 10:57:43 +0000 (11:57 +0100)]
Remove duplicate dependency

Maven warns about multiple entries in dependecies -- remove them to fix
the warning.

Change-Id: Ic1cfa942dd44fee9a17cf09020a5cd98b0f0547f
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoMerge "Fix JDK8 compatibility"
Ryan Goulding [Fri, 30 Oct 2015 13:40:56 +0000 (13:40 +0000)]
Merge "Fix JDK8 compatibility"

8 years agoFix JDK8 compatibility 03/29003/1
Robert Varga [Fri, 30 Oct 2015 11:17:44 +0000 (12:17 +0100)]
Fix JDK8 compatibility

I355acae1ac6652eb15cbd83ce9b0fcdcb9cc8afc caused compilation regression
in CredentialAuth. Fix that.

Change-Id: Ic523cf60dbafc681962d19c7cdb67b17cef69f89
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoMerge "Revert "Bug 2515 - Jersey to support JAX-RS 2.0""
Ryan Goulding [Thu, 29 Oct 2015 20:21:57 +0000 (20:21 +0000)]
Merge "Revert "Bug 2515 - Jersey to support JAX-RS 2.0""

8 years agoRevert "Bug 2515 - Jersey to support JAX-RS 2.0" 70/28970/1
Ryan Goulding [Thu, 29 Oct 2015 18:02:41 +0000 (18:02 +0000)]
Revert "Bug 2515 - Jersey to support JAX-RS 2.0"

This reverts commit b1c7e0948abe0d62f130667ee98fd89b148a1009.

Change-Id: I4f1be95f9cab2f25a8309c305f8991a0faaccea2
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Bug 2515 - Jersey to support JAX-RS 2.0"
Ryan Goulding [Thu, 29 Oct 2015 14:32:46 +0000 (14:32 +0000)]
Merge "Bug 2515 - Jersey to support JAX-RS 2.0"

8 years agoRemove unnecessary synchronization locks in service locator 01/28801/1
Ryan Goulding [Mon, 26 Oct 2015 13:05:37 +0000 (09:05 -0400)]
Remove unnecessary synchronization locks in service locator

ServiceLocator instance variables are already volatile to ensure
consistency across threads.  Thus, synchronization locks aren't
needed, since reads and writes are already atomic.

Change-Id: I3eb3bdb4944ecd4ca8835b86ca35f67682130e4e
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "DataEncrypter Unit Test and remove previous changes"
Ryan Goulding [Mon, 26 Oct 2015 01:13:57 +0000 (01:13 +0000)]
Merge "DataEncrypter Unit Test and remove previous changes"

8 years agoAdd documentation to ServiceLocator classes regarding Activators 77/28777/1
Ryan Goulding [Sat, 24 Oct 2015 20:12:18 +0000 (16:12 -0400)]
Add documentation to ServiceLocator classes regarding Activators

Documents some weird reflective behavior that previous authors included.
Some methods in the ServiceLocator classes are called by Activators
using reflection.

Change-Id: I374ee5887f5800e2fed26041108108f066db47ea
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoFederation ServiceLocator to use accessor methods instead of public fields 77/27777/2
Ryan Goulding [Thu, 1 Oct 2015 23:43:22 +0000 (19:43 -0400)]
Federation ServiceLocator to use accessor methods instead of public fields

Accessor methods shoould be preferred to public fields, as stated in
Effective Java 2 Item 14 (page 71).  This changes the aaa-authn-federation
bundle so that accessor methods are used instead of public instance variables.
Since accessor and setter methods are synchronized, this change also provides
thread safety, which is currently missing.

Change-Id: Ia048b8dcae1691c256b5e1404beb7cf4ce10ed62
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoAdds Shiro Web-based authorization capabilities 60/28760/2
Ryan Goulding [Fri, 23 Oct 2015 21:37:48 +0000 (17:37 -0400)]
Adds Shiro Web-based authorization capabilities

Shiro supports RBAC for url patterns that may contain asterisks.  Some DOM
leaves should be filtered for security reasons, such as those containing AAA
data.  This allows installation of a set of default, immutable filters;  the
alternative was to allow installation in shiro.ini, but that file is mutable.

Since aaa-shiro isn't presently active, no changes will occur for external
projects.  This is setting up for when the aaa implementation is swapped out
for an Apache Shiro based one.

Change-Id: If0d037cafb90d8cf51713e538f41967f85f325ae
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoDataEncrypter Unit Test and remove previous changes 44/27844/4
melserngawy [Fri, 2 Oct 2015 20:35:47 +0000 (16:35 -0400)]
DataEncrypter Unit Test and remove previous changes

Change-Id: Ib8ef8d5e2532f96614cea2bd0efb663c69347953
Signed-off-by: melserngawy <melserngawy@inocybe.com>
8 years agoMerge "unit test for authn-idp-mapping"
Ryan Goulding [Fri, 23 Oct 2015 17:43:37 +0000 (17:43 +0000)]
Merge "unit test for authn-idp-mapping"

8 years agounit test for authn-idp-mapping 79/28179/3
melserngawy [Thu, 8 Oct 2015 21:50:11 +0000 (17:50 -0400)]
unit test for authn-idp-mapping

Change-Id: Ic720195734e18f8ddbea6e54713f70be2920b30f
Signed-off-by: melserngawy <melserngawy@inocybe.com>
8 years agoMerge "unit test for AuthNStoreUtil, add check for null values to AuthNStoreUtil...
Ryan Goulding [Fri, 23 Oct 2015 14:58:42 +0000 (14:58 +0000)]
Merge "unit test for AuthNStoreUtil, add check for null values to AuthNStoreUtil class methods and update POM file for test dependencies"

8 years agounit test for AuthNStoreUtil, add check for null values to AuthNStoreUtil class metho... 66/28066/3
melserngawy [Thu, 8 Oct 2015 15:48:23 +0000 (11:48 -0400)]
unit test for AuthNStoreUtil, add check for null values to AuthNStoreUtil class methods and update POM file for test dependencies

Change-Id: I0f2eec5c3500105854547d3216755c47a1b30cf7
Signed-off-by: melserngawy <melserngawy@inocybe.com>
8 years agoBug 2515 - Jersey to support JAX-RS 2.0 84/27584/9
Ryan Goulding [Tue, 29 Sep 2015 13:44:20 +0000 (09:44 -0400)]
Bug 2515 - Jersey to support JAX-RS 2.0

Upgrade versions of Jersey and JAX-RS.  Update tests appropriately.

Change-Id: Ia5aa836256f87bc268a8430944ab2f416965c9e0
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Use odlparent-lite as parent for artifact pom"
Wojciech Dec [Fri, 9 Oct 2015 05:06:18 +0000 (05:06 +0000)]
Merge "Use odlparent-lite as parent for artifact pom"

8 years agoMerge "Bug4430 Unclear error message when Basic Authentication has a bad header format"
Wojciech Dec [Thu, 8 Oct 2015 15:28:40 +0000 (15:28 +0000)]
Merge "Bug4430 Unclear error message when Basic Authentication has a bad header format"

8 years agoBug4430 Unclear error message when Basic Authentication has a bad header format 26/28026/3
Ryan Goulding [Wed, 7 Oct 2015 19:23:35 +0000 (15:23 -0400)]
Bug4430 Unclear error message when Basic Authentication has a bad header format

This change ensures an AuthenticationException is thrown when and improperly
formatted Authentication Header is provided.  Tests are provided to ensure this
functionality.  The HttpBasicAuth.validate() function is refactored to utilize a
series of helper methods.

Change-Id: I2438651092c4bc018270ead0ccddd98ec10a3422
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoServiceLocator to use accessor methods instead of public fields 76/27776/3
Ryan Goulding [Thu, 1 Oct 2015 23:14:39 +0000 (19:14 -0400)]
ServiceLocator to use accessor methods instead of public fields

Accessor methods shoould be preferred to public fields, as stated in
Effective Java 2 Item 14 (page 71).  This changes the aaa-authn-sts bundle so
that accessor methods are used instead of public instance variables.   Since
accessor and setter methods are synchronized, this change also provides
thread safety, which is currently missing.

Change-Id: I24bae3cfdb9525279539536876796bbd41ebf9af
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoUse odlparent-lite as parent for artifact pom 06/27706/1
Thanh Ha [Wed, 30 Sep 2015 22:18:47 +0000 (18:18 -0400)]
Use odlparent-lite as parent for artifact pom

Change-Id: Iabba38dcec50367e715a50a2ca0d8884d7955f40
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Support enabling and disabling shiro based AAA"
Ryan Goulding [Mon, 28 Sep 2015 12:29:03 +0000 (12:29 +0000)]
Merge "Support enabling and disabling shiro based AAA"

8 years agoUse default sdn domain when credential domain is null 37/27337/1
Tomas Cere [Wed, 23 Sep 2015 09:22:33 +0000 (11:22 +0200)]
Use default sdn domain when credential domain is null

Change-Id: I4a3e0179475466d2ac2795564f71176189356c20
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoResubmit AAA Model Changes 87/26887/3
Sharon Aicler [Sat, 12 Sep 2015 20:20:22 +0000 (13:20 -0700)]
Resubmit AAA Model Changes

Change-Id: I355acae1ac6652eb15cbd83ce9b0fcdcb9cc8afc
Signed-off-by: Sharon Aicler <saichler@cisco.com>
8 years agoSupport enabling and disabling shiro based AAA 53/27053/6
Ryan Goulding [Tue, 15 Sep 2015 14:49:30 +0000 (10:49 -0400)]
Support enabling and disabling shiro based AAA

This change supports enabling and disabling shiro AAA through the use of a
ServiceProxy.  This support was added in order to support workflows such as
those included in the odl-restconf-noauth feature.  This change also adds a
significant amount of documentation to help users extend and debug the shiro
functionality.

Change-Id: I213a200c18d48fd1bf59da1ec171b0814a283fce
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Adds some documentation and sample files surrounding federation"
Wojciech Dec [Tue, 15 Sep 2015 14:00:13 +0000 (14:00 +0000)]
Merge "Adds some documentation and sample files surrounding federation"

8 years agoMerge "Bug 4313: Remove dependency on netconf"
Wojciech Dec [Tue, 15 Sep 2015 13:59:23 +0000 (13:59 +0000)]
Merge "Bug 4313: Remove dependency on netconf"

8 years agoBug 4313: Remove dependency on netconf 59/26959/1
Stephen Kitt [Tue, 15 Sep 2015 08:06:44 +0000 (10:06 +0200)]
Bug 4313: Remove dependency on netconf

aaa's features-aaa-authz still depends on netconf, which introduces a
cyclic dependency. Dropping the odl-restconf feature from
odl-aaa-authz fixes this.

Change-Id: I77a1de4ef2d9d8892c5fd3886966c8a309dbf953
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoAdds some documentation and sample files surrounding federation 06/24306/6
Ryan Goulding [Mon, 20 Jul 2015 20:11:08 +0000 (16:11 -0400)]
Adds some documentation and sample files surrounding federation

Some documentation and a few sample files to set up a simple
federated AAA scenario.

Change-Id: I9442e4ada2c718c88f9ca576f0959880f0043372
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoRevert "Revert "Formatting fixes"" 33/26833/2
Wojciech Dec [Fri, 11 Sep 2015 11:26:40 +0000 (11:26 +0000)]
Revert "Revert "Formatting fixes""

This reverts commit db480102f6a9496ada7cfa7354ed88f4ea313d24

Change-Id: Id04fe9e09ecac8d2506669cc7b83449048272b24
Signed-off-by: Wojciech Dec <wdec@cisco.com>
8 years agoMerge "Introduction of the odl-aaa-shiro feature"
Wojciech Dec [Fri, 11 Sep 2015 10:18:39 +0000 (10:18 +0000)]
Merge "Introduction of the odl-aaa-shiro feature"

8 years agoRevert "AAA Model Changes" 28/26828/2
Wojciech Dec [Fri, 11 Sep 2015 09:30:50 +0000 (09:30 +0000)]
Revert "AAA Model Changes"

Revert until feature loading is addressed.

This reverts commit a5c6bbab17ffe1cc712f9c7566efbed1a258250e.

Change-Id: I7415a6a1df6382415db404229f41c292e246136d
Signed-off-by: Wojciech Dec <wdec@cisco.com>
8 years agoMerge "Bug 4289 AuthZ config subsystem files are loaded to the wrong place"
Wojciech Dec [Fri, 11 Sep 2015 09:06:14 +0000 (09:06 +0000)]
Merge "Bug 4289 AuthZ config subsystem files are loaded to the wrong place"

8 years agoMerge "AAA Model Changes"
Wojciech Dec [Fri, 11 Sep 2015 08:38:17 +0000 (08:38 +0000)]
Merge "AAA Model Changes"

8 years agoBug 4289 AuthZ config subsystem files are loaded to the wrong place 82/26782/3
Ryan Goulding [Thu, 10 Sep 2015 18:25:50 +0000 (14:25 -0400)]
Bug 4289 AuthZ config subsystem files are loaded to the wrong place

AuthZ config subsystem files are loaded to ${KARAF_HOME} instead of
${KARAF_HOME}/etc/opendaylight/karaf.

Change-Id: Ib0c9b440d40930745913be4af1923dd50369aece
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Migration to use MD-SAL Project"
Ryan Goulding [Wed, 9 Sep 2015 16:50:47 +0000 (16:50 +0000)]
Merge "Migration to use MD-SAL Project"

8 years agoAAA Model Changes 55/25655/13
Sharon Aicler [Sat, 22 Aug 2015 01:58:00 +0000 (18:58 -0700)]
AAA Model Changes

Change-Id: I76f8d2405a57480d484a7dc8df5e44c71de40314
Signed-off-by: Wojciech Dec <wdec@cisco.com>
8 years agoIntroduction of the odl-aaa-shiro feature 71/26471/9
Ryan Goulding [Thu, 3 Sep 2015 15:54:24 +0000 (11:54 -0400)]
Introduction of the odl-aaa-shiro feature

Introduces the odl-aaa-shiro feature, based on the aaa-shiro bundle.  This
bundle is built separately from the rest of the AAA subsystem, and can stand
independent of other code in AAA.  Without appropriate changes to restconf
in the netconf project, this change is not usable in the ODL project.

This sets the AAA scaffolding for aaa-shiro integration.  This patch can
be merged without affecting other code in the aaa or restconf projects.  It
is the start to migrating from the custom AAA solution to one that is built
on Apache Shiro.  This patch supports 1.X versions of JAX-RS at this time,
and will later provide functionality to support the 2.X API.

This introduction of code adds/allows the following Realms:
1) ODLJndiLdapRealm
2) INI file based
3) JDBCRealm

There is stub support for:
1) RadiusRealm
2) TACACSRealm
But these have not yet been implemented.  They stand as a Proof of Concept
as to how easy it is to create different AAA backends to authenticate against.

Corresponding test methods are present for all testable methods in classes.
This is the first of many incremental patches to help migrate AAA to Shiro.
This particular patch will not actually affect the current implementation.

Change-Id: Ifbdec290d87434279882295c24e35412b641154f
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMigration to use MD-SAL Project 68/26368/3
Tony Tkacik [Wed, 2 Sep 2015 14:13:30 +0000 (16:13 +0200)]
Migration to use MD-SAL Project

Change-Id: I8490822ef10962d5bbd48fe4fd27092a4c26b916
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
8 years agoRevert "Formatting fixes" 16/26616/2
Wojciech Dec [Mon, 7 Sep 2015 14:39:44 +0000 (14:39 +0000)]
Revert "Formatting fixes"

This reverts commit 7803df99b6b61c43048ccbc20afb6f640a53c0a3.

Change-Id: Ic91845013379c710238070c88526302a8a3bdc82
Signed-off-by: Wojciech Dec <wdec@cisco.com>
8 years agoMerge "Remove pluginManagement and clean up variables"
Wojciech Dec [Mon, 7 Sep 2015 14:37:17 +0000 (14:37 +0000)]
Merge "Remove pluginManagement and clean up variables"

8 years agoMerge "Formatting fixes"
Wojciech Dec [Mon, 7 Sep 2015 14:35:27 +0000 (14:35 +0000)]
Merge "Formatting fixes"

8 years agoRemove pluginManagement and clean up variables 54/26454/3
Stephen Kitt [Thu, 3 Sep 2015 12:23:50 +0000 (14:23 +0200)]
Remove pluginManagement and clean up variables

The parent POM's pluginManagement is redundant with odlparent's, so
remove it. (I'm working on reducing the number of variables which need
to be exported from odlparent.)

A few other variables aren't used, remove them too.

Change-Id: I4c9e41633527457054661f35edb4e1077108d6d7
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoFormatting fixes 76/26476/1
Wojciech Dec [Thu, 3 Sep 2015 17:33:28 +0000 (19:33 +0200)]
Formatting fixes

Change-Id: I213628f223267a0bb185ebccdb7230c71658d6ef
Signed-off-by: Wojciech Dec <wdec@cisco.com>
8 years agoFix to checkstyle configuration 74/26474/1
Wojciech Dec [Thu, 3 Sep 2015 17:24:23 +0000 (19:24 +0200)]
Fix  to checkstyle configuration

Change-Id: I0ad8aa77b362b717d968f0b872b1c0e1227e3f7a
Signed-off-by: Wojciech Dec <wdec@cisco.com>
8 years agoResolve cyclic dependency with netconf 30/26330/1
Tomas Cere [Wed, 2 Sep 2015 12:19:47 +0000 (14:19 +0200)]
Resolve cyclic dependency with netconf

Move aaa-authn-odl-plugin to netconf to prevent cyclic dependency.
Migrate restconf dependencies to new groupId

Change-Id: I7931dbee55199ea4cc0b11f4f32e78da9eb4c9c1
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoBug 3680 - Adding post activation service registration callbacks 75/23475/3
Wojciech Dec [Fri, 26 Jun 2015 19:41:15 +0000 (21:41 +0200)]
Bug 3680 - Adding post activation service registration callbacks

Change-Id: Ia413410ae139d6b0fec1bb40aba5d4d345158561
Signed-off-by: Wojciech Dec <wdec@cisco.com>
8 years agoMerge "Bug4168 Deprecate inappropriate uses of StringBuilder"
Wojciech Dec [Tue, 25 Aug 2015 08:30:21 +0000 (08:30 +0000)]
Merge "Bug4168 Deprecate inappropriate uses of StringBuilder"

8 years agoMerge "Bug 4146 odl-aaa-authz does not work for Write or ReadWrite Transactions"
Wojciech Dec [Tue, 25 Aug 2015 08:28:53 +0000 (08:28 +0000)]
Merge "Bug 4146 odl-aaa-authz does not work for Write or ReadWrite Transactions"

8 years agoBug 4146 odl-aaa-authz does not work for Write or ReadWrite Transactions 84/25384/2
Ryan Goulding [Mon, 17 Aug 2015 20:50:34 +0000 (16:50 -0400)]
Bug 4146 odl-aaa-authz does not work for Write or ReadWrite Transactions

This patch modifies the authorization model by defining ActionTypes that are
applicable to the existing DOMDataReadOnlyTransaction,
DOMDataWriteOnlyTransaction and DOMDataReadWriteTransaction.  The ActionType
enum is utilized to add authorization to the AuthzWriteOnlyTransaction and
AuthzReadWriteTransaction.  Utility methods for ensuring authorization are
added to the AuthzServiceImpl.

Change-Id: Ia5c67946160e3dc0a074e616fbbb980e5eeafec1
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoBug4168 Deprecate inappropriate uses of StringBuilder 98/25698/1
Ryan Goulding [Sat, 22 Aug 2015 18:01:58 +0000 (14:01 -0400)]
Bug4168 Deprecate inappropriate uses of StringBuilder

Patches old code to replace StringBuilder invocations with String
concatenation for performance reasons.

Change-Id: I048c73969c6251b77a2c90a0fdd8825f59dd01dd
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Adds a folder for postman collections and a basic authz example"
Wojciech Dec [Thu, 20 Aug 2015 13:35:52 +0000 (13:35 +0000)]
Merge "Adds a folder for postman collections and a basic authz example"

8 years agoMerge "Add config subsystem binding to aaa-authn-odl-plugin"
Wojciech Dec [Tue, 18 Aug 2015 07:37:31 +0000 (07:37 +0000)]
Merge "Add config subsystem binding to aaa-authn-odl-plugin"

8 years agoAdds a folder for postman collections and a basic authz example 38/25238/1
Ryan Goulding [Thu, 13 Aug 2015 13:23:47 +0000 (09:23 -0400)]
Adds a folder for postman collections and a basic authz example

Adds authz postman collection for easy import/use.  These rest
endpoints are just scaffolding right now;  they do not actually
affect the Java code

Change-Id: I2e4c59c0eceb334ac5758cd8507027af81842c45
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoFix license header violations in aaa-idmlight 02/25002/1
Thanh Ha [Sun, 9 Aug 2015 06:06:04 +0000 (02:06 -0400)]
Fix license header violations in aaa-idmlight

Change-Id: Ib5148d1690134501cd14a47b9b991aabe5ee30bc
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn 01/25001/1
Thanh Ha [Sun, 9 Aug 2015 06:02:31 +0000 (02:02 -0400)]
Fix license header violations in aaa-authn

Change-Id: Id888328a85d146249e87b1a074a64fbbf6a0464a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn-basic 00/25000/1
Thanh Ha [Sun, 9 Aug 2015 06:01:15 +0000 (02:01 -0400)]
Fix license header violations in aaa-authn-basic

Change-Id: Id2a8f0fbfb53cc6c4d4d37b103da18f757c63063
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn-keystone 99/24999/1
Thanh Ha [Sun, 9 Aug 2015 06:00:44 +0000 (02:00 -0400)]
Fix license header violations in aaa-authn-keystone

Change-Id: Ic4b63252428daf95d28f756f4d7800afd5b8ffe2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn-odl-plugin 98/24998/1
Thanh Ha [Sun, 9 Aug 2015 05:59:51 +0000 (01:59 -0400)]
Fix license header violations in aaa-authn-odl-plugin

Change-Id: Ia0b7cc1cd97318f370a2433b2c8ce6c912d8540e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn-sssd 97/24997/1
Thanh Ha [Sun, 9 Aug 2015 05:58:35 +0000 (01:58 -0400)]
Fix license header violations in aaa-authn-sssd

Change-Id: I9f8329410f5a809236085d6ad178b772f8319ae7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn-federation 96/24996/1
Thanh Ha [Sun, 9 Aug 2015 05:57:45 +0000 (01:57 -0400)]
Fix license header violations in aaa-authn-federation

Change-Id: Ic1443b2c38581fa3fecf419899c80693187ff3e7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn-store 95/24995/1
Thanh Ha [Sun, 9 Aug 2015 05:55:38 +0000 (01:55 -0400)]
Fix license header violations in aaa-authn-store

Change-Id: I60b24c366231dcd8f0b94e21fbe54c804a68b4fb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn-sts 94/24994/1
Thanh Ha [Sun, 9 Aug 2015 05:50:47 +0000 (01:50 -0400)]
Fix license header violations in aaa-authn-sts

Change-Id: I744f224f9df3beaa82459fbdafce342fab0935bc
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-idp-mapping 36/24936/1
Thanh Ha [Fri, 7 Aug 2015 18:58:04 +0000 (14:58 -0400)]
Fix license header violations in aaa-idp-mapping

Change-Id: Ifa23217964ae86d192ab271837474b054b86e9eb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn 35/24935/1
Thanh Ha [Fri, 7 Aug 2015 18:51:47 +0000 (14:51 -0400)]
Fix license header violations in aaa-authn

Change-Id: Ic55740e6ec763686a8a377cc4a7eeaffbf8a6bac
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in aaa-authn-api 34/24934/1
Thanh Ha [Fri, 7 Aug 2015 18:46:23 +0000 (14:46 -0400)]
Fix license header violations in aaa-authn-api

Change-Id: If99adb015c3deebd5615a0d3ca267447428fbe8b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoAdd config subsystem binding to aaa-authn-odl-plugin 88/24188/2
Maros Marsalek [Wed, 15 Jul 2015 13:20:54 +0000 (15:20 +0200)]
Add config subsystem binding to aaa-authn-odl-plugin

AuthProvider is now a regular module instantiated automatically as a default
instance.

Change-Id: I3244242bfe3d1be1207ab077d4e5cc107a33ee4e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoMerge "Bug 4054 Federation RuleProcessor utilizes System.out which interferes with...
Wojciech Dec [Wed, 29 Jul 2015 21:09:31 +0000 (21:09 +0000)]
Merge "Bug 4054 Federation RuleProcessor utilizes System.out which interferes with karaf"

8 years agoMerge "Fix Bug 3924 - aaa passwords are stored in clear text"
Wojciech Dec [Mon, 27 Jul 2015 16:48:31 +0000 (16:48 +0000)]
Merge "Fix Bug 3924 - aaa passwords are stored in clear text"

8 years agoBug 4054 Federation RuleProcessor utilizes System.out which interferes with karaf 35/24535/1
Ryan Goulding [Fri, 24 Jul 2015 16:16:49 +0000 (12:16 -0400)]
Bug 4054 Federation RuleProcessor utilizes System.out which interferes with karaf

Changes System.out calls to logger.info().

Change-Id: I20ef61d59e2a310de8705e165b881659063d6b32
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoFix Bug 3924 - aaa passwords are stored in clear text 85/24085/6
Sharon Aicler [Tue, 14 Jul 2015 08:10:27 +0000 (01:10 -0700)]
Fix Bug 3924 - aaa passwords are stored in clear text

Change-Id: If5d370166011b85f82b54b21c273028b90b30ea1
Signed-off-by: Sharon Aicler <saichler@cisco.com>
8 years agoMerge "Explicitly set git-review branch to master"
Wojciech Dec [Thu, 23 Jul 2015 15:13:14 +0000 (15:13 +0000)]
Merge "Explicitly set git-review branch to master"

8 years agoMerge "Bug 4038 Grant Creation is Broken"
Wojciech Dec [Thu, 23 Jul 2015 14:54:50 +0000 (14:54 +0000)]
Merge "Bug 4038 Grant Creation is Broken"