aaa.git
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"

8 years agoMerge "Bug 4023 AAA does not enforce unqiue role names"
Wojciech Dec [Thu, 23 Jul 2015 14:39:10 +0000 (14:39 +0000)]
Merge "Bug 4023 AAA does not enforce unqiue role names"

8 years agoMerge "Bug 4020 AAA fails to perform federated authentiation responsibilities if...
Wojciech Dec [Thu, 23 Jul 2015 14:38:30 +0000 (14:38 +0000)]
Merge "Bug 4020 AAA fails to perform federated authentiation responsibilities if sssd lookup fails"

8 years agoExplicitly set git-review branch to master 11/24411/1
Thanh Ha [Wed, 22 Jul 2015 19:06:06 +0000 (15:06 -0400)]
Explicitly set git-review branch to master

Change-Id: I7643a7921ed3fb23b992486eb658a82b40c1b899
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 4038 Grant Creation is Broken 01/24401/1
Ryan Goulding [Wed, 22 Jul 2015 16:00:07 +0000 (12:00 -0400)]
Bug 4038 Grant Creation is Broken

This patch correctly increments consecutive calls to
PreparedStatement.setInt().

Change-Id: Ib07d8568ce536a987f6235d96103d4af6343a990
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Bug 1911 Updating user info will result in un-redacted password field returned...
Wojciech Dec [Tue, 21 Jul 2015 12:57:26 +0000 (12:57 +0000)]
Merge "Bug 1911 Updating user info will result in un-redacted password field returned in the response"

8 years agoMerge "Bug 1910 Enforce domain name uniqueness"
Wojciech Dec [Tue, 21 Jul 2015 12:55:13 +0000 (12:55 +0000)]
Merge "Bug 1910 Enforce domain name uniqueness"

8 years agoMerge "Bug 3519 Stop creating static exception instances"
Wojciech Dec [Tue, 21 Jul 2015 12:50:55 +0000 (12:50 +0000)]
Merge "Bug 3519 Stop creating static exception instances"

8 years agoBug 1911 Updating user info will result in un-redacted password field returned in... 09/24309/2
Ryan Goulding [Mon, 20 Jul 2015 21:07:27 +0000 (17:07 -0400)]
Bug 1911 Updating user info will result in un-redacted password field returned in the response

Changes /auth/v1/users/{id} endpoint so that PUT request returns
a user with a redacted password.  Abstracts a REDACTED_PASSWORD
constant.

Change-Id: Ib692727a69dd00f34d83ccb63095ed7623926518
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoBug 4023 AAA does not enforce unqiue role names 05/24305/1
Ryan Goulding [Mon, 20 Jul 2015 19:28:40 +0000 (15:28 -0400)]
Bug 4023 AAA does not enforce unqiue role names

This change enforces unique role names at the databse layer.

Change-Id: Iada8b2eb36f8fa9fbe9f935e3f0e39fe04e55166
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoBug 1910 Enforce domain name uniqueness 04/24304/1
Ryan Goulding [Mon, 20 Jul 2015 19:22:38 +0000 (15:22 -0400)]
Bug 1910 Enforce domain name uniqueness

Domain names should be unique.  This change enforces domain name
uniqueness at the database layer.

Change-Id: I1cc90a3ae8683e6c51c5fd0c394b1d5973aed86c
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoBug 4020 AAA fails to perform federated authentiation responsibilities if sssd lookup... 93/24293/2
Ryan Goulding [Mon, 20 Jul 2015 15:01:44 +0000 (11:01 -0400)]
Bug 4020 AAA fails to perform federated authentiation responsibilities if sssd lookup fails

If SSSD lookup fails, there is a possibility that invalid values are propagated
by the Apache proxy.  These values should not cause a failure in
authentication, since not all IdP mapping requires every SSSD field.  This
change ensures SSSD filters gracefully ignore invalid values, so the
authentication is still attempted.

Change-Id: I3ccbcf62e164e907f3fd53a14dd7cae77afaa5c2
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoMerge "Reorder authN feature order to prioritize MD-SAL startup"
Wojciech Dec [Thu, 2 Jul 2015 16:45:46 +0000 (16:45 +0000)]
Merge "Reorder authN feature order to prioritize MD-SAL startup"

9 years agoMerge "Bug 2923 Restarting the controller causes multiple insertions users"
Wojciech Dec [Thu, 2 Jul 2015 16:17:25 +0000 (16:17 +0000)]
Merge "Bug 2923 Restarting the controller causes multiple insertions users"

9 years agoBug 3519 Stop creating static exception instances 98/23698/1
Ryan Goulding [Thu, 2 Jul 2015 16:16:37 +0000 (12:16 -0400)]
Bug 3519 Stop creating static exception instances

Stop using static exceptions so the stack trace is accurate.

Change-Id: Ib8e62813578ca1ab5ec52e41d7357af92b8129ef
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoReorder authN feature order to prioritize MD-SAL startup 88/23688/2
Wojciech Dec [Wed, 1 Jul 2015 15:03:21 +0000 (17:03 +0200)]
Reorder authN feature order to prioritize MD-SAL startup

Change-Id: Iad0814dcd30daa9d24d029def8526a0211104639
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoBug3680 - Fix loading of AuthN config 83/23683/1
Wojciech Dec [Thu, 2 Jul 2015 14:02:37 +0000 (16:02 +0200)]
Bug3680 - Fix loading of AuthN config
(Issue caused by project structure cleanup)

Change-Id: I6cc0a8d137b56da11d38a97a29fa2862f360f65a
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoBug 2923 Restarting the controller causes multiple insertions users 53/23653/1
Ryan Goulding [Wed, 1 Jul 2015 18:42:48 +0000 (14:42 -0400)]
Bug 2923 Restarting the controller causes multiple insertions users

Changes criteria of StoreBuilder.init() so it is called when
"idmlight.db.mv.db" does not exist.  Previously, the code checked for the
existence of "idmlight.db".  This convention changed with the addition of
H2 as the data store backing AAA data.

Change-Id: Ifa15ce89b414bbbb32b34d2ca38a3504921d8e27
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoTemporarily workaround deployment issue for aaa-artifacts 01/23601/1
Thanh Ha [Tue, 30 Jun 2015 16:33:58 +0000 (12:33 -0400)]
Temporarily workaround deployment issue for aaa-artifacts

Change-Id: Ia9f6fa78f588982ee9ee1a54ebbd53fed13f5632
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix missing <distributionManagement> for merge jobs 97/23597/1
Thanh Ha [Tue, 30 Jun 2015 14:33:02 +0000 (10:33 -0400)]
Fix missing <distributionManagement> for merge jobs

Change-Id: Ib11e06c8474185e4a64e52503b676bcd7020e333
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoConvert features/authn to use features-parent 45/23245/3
Robert Varga [Wed, 24 Jun 2015 19:30:44 +0000 (21:30 +0200)]
Convert features/authn to use features-parent

features-parent contains all the magic needed to properly resolve
versions and test features, migrate to use it, simplifying things here.

Change-Id: I57abb28149837aa16b113de87f3412b00f4c5e4b
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoConvert features/authz to use features-parent 55/23255/2
Robert Varga [Thu, 25 Jun 2015 08:44:53 +0000 (10:44 +0200)]
Convert features/authz to use features-parent

features-parent contains all the magic needed to properly resolve
versions and test features, migrate to use it, simplifying things here.

Change-Id: I382c47cb2df0f8b53911c794a86909604f7a6ce3
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoConvert features/api to use features-parent 43/23243/3
Robert Varga [Wed, 24 Jun 2015 19:11:56 +0000 (21:11 +0200)]
Convert features/api to use features-parent

features-parent contains all the magic needed to properly resolve
versions and test features, migrate to use it, simplifying things here.

Change-Id: I2467c292b697d88883592cbcf6bebed0070dea49
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRename and move commons/parent 33/23233/4
Robert Varga [Wed, 24 Jun 2015 16:59:57 +0000 (18:59 +0200)]
Rename and move commons/parent

Move commons/parent to top-level directory and rename it to aaa-parent,
to follow common projects structure recommendations.

Change-Id: I9a075e39129f23a21664df2e7f57ac8a73679dd4
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd aaa-artifacts 32/23232/4
Robert Varga [Wed, 24 Jun 2015 15:26:18 +0000 (17:26 +0200)]
Add aaa-artifacts

This commit centralizes the artifacts produced by aaa project for
consumption in other projects. Also import it in the parent, so
internal dependency versions can be picked up easily.

Change-Id: I889a057bdf5a050583e65e3d8fdbe938d2e15c19
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRework parent structure to point to parent 31/23231/3
Robert Varga [Wed, 24 Jun 2015 15:57:48 +0000 (17:57 +0200)]
Rework parent structure to point to parent

Having projects point to the aggregator defeats the idea of a parent,
especially if the aggregator does not define anything except its child
modules.

Change-Id: Ib20399817bf48eb30ffa706863559a5e7976be59
Signed-off-by: Robert Varga <rovarga@cisco.com>