aaa.git
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 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>
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>
9 years agoMerge "Move build section into parent"
Wojciech Dec [Fri, 26 Jun 2015 14:08:33 +0000 (14:08 +0000)]
Merge "Move build section into parent"

9 years agoMerge "Remove unneeded dependency"
Wojciech Dec [Fri, 26 Jun 2015 14:06:25 +0000 (14:06 +0000)]
Merge "Remove unneeded dependency"

9 years agoMerge "BUG 3858 - Increasing default token cache expiry to 60min"
Wojciech Dec [Thu, 25 Jun 2015 12:26:09 +0000 (12:26 +0000)]
Merge "BUG 3858 - Increasing default token cache expiry to 60min"

9 years agoBUG 3858 - Increasing default token cache expiry to 60min 52/23252/1
Wojciech Dec [Thu, 25 Jun 2015 08:12:56 +0000 (10:12 +0200)]
BUG 3858 - Increasing default token cache expiry to 60min

Change-Id: Id24472b3246b981ae8a76e464b263527322e8d9d
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoMove build section into parent 30/23230/1
Robert Varga [Wed, 24 Jun 2015 15:49:56 +0000 (17:49 +0200)]
Move build section into parent

Change-Id: Idd079ccfaacc520c8215db07cdbd08b1f6e06fb9
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove unneeded dependency 29/23229/1
Robert Varga [Wed, 24 Jun 2015 16:06:05 +0000 (18:06 +0200)]
Remove unneeded dependency

The yang model in aaa-credential-store-api does not depend on the models
pulled in, hence there is no need for the dependency.

Change-Id: I9b3cf4d9817568edbd8445acd7e56daa134f7862
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBug 3820 Incorrect database initialization 22/23122/3
Ryan Goulding [Mon, 22 Jun 2015 16:56:31 +0000 (12:56 -0400)]
Bug 3820 Incorrect database initialization

This change enables IdmLightApplication to initialize the data store.

Change-Id: I65566cc5900199bffd37e43e5bb761794ae6c382
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoBug 3820 Incorrect database initialization 02/23002/8
Ryan Goulding [Fri, 19 Jun 2015 17:44:43 +0000 (13:44 -0400)]
Bug 3820 Incorrect database initialization

Added username and password parameters to database initialization.  This is
necessary in order to access the database from a psql client.  This change
enforces the Singleton design pattern for IdmLightApplication.  The
getDbConnect() functionality included in UserStore, RoleStore, GrantStore
and DomainStore is consolidated in
IdmLightApplication.getConnection(Connection existingConnection) function.

Change-Id: Ib001e05548acf401c4633712cd7ab3ff6a2d2b44
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoMerge "Bug 2809:Fix AAA error reporting"
Wojciech Dec [Tue, 9 Jun 2015 15:00:15 +0000 (15:00 +0000)]
Merge "Bug 2809:Fix AAA error reporting"

9 years agoMerge "Bug 2321 - Adding Authentication to IdmLight API"
Wojciech Dec [Sun, 7 Jun 2015 19:17:25 +0000 (19:17 +0000)]
Merge "Bug 2321 - Adding Authentication to IdmLight API"

9 years agoMerge "Changing sql queries to prepared statements in idmlite"
Wojciech Dec [Sun, 7 Jun 2015 19:15:05 +0000 (19:15 +0000)]
Merge "Changing sql queries to prepared statements in idmlite"

9 years agoBug 2809:Fix AAA error reporting 10/21910/1
Debalina Ghosh [Thu, 4 Jun 2015 22:39:56 +0000 (15:39 -0700)]
Bug 2809:Fix AAA error reporting

Change-Id: I61c923cec41fbe2244151c354ccba0fc49703faf
Signed-off-by: Debalina Ghosh <debalina.ghosh@hp.com>
9 years agoBug 2321 - Adding Authentication to IdmLight API 92/21892/1
Wojciech Dec [Thu, 4 Jun 2015 17:37:53 +0000 (19:37 +0200)]
Bug 2321 - Adding Authentication to IdmLight API

Change-Id: I6197c4e518202e9d285958df741228a1dec268ad
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoBug 3578 - Fixing reachability of IdmLight + cleanup of Idmlight feature bundles. 91/21891/1
Wojciech Dec [Thu, 4 Jun 2015 17:31:28 +0000 (19:31 +0200)]
Bug 3578 - Fixing reachability of IdmLight + cleanup of Idmlight feature bundles.

Change-Id: I6ab84171703b365b5d05bd900bc30c2634711796
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoChanging sql queries to prepared statements in idmlite 55/19555/9
Debalina Ghosh [Mon, 4 May 2015 21:27:46 +0000 (14:27 -0700)]
Changing sql queries to prepared statements in idmlite

Change-Id: I609aaccb718dfcbd8f02bd45a6568adeb1cd5b7e
Signed-off-by: Debalina Ghosh <debalina.ghosh@hp.com>
9 years agoMerge "Ensure that the TokenStore is unregistered when closed"
Wojciech Dec [Mon, 1 Jun 2015 17:00:54 +0000 (17:00 +0000)]
Merge "Ensure that the TokenStore is unregistered when closed"

9 years agoMerge "BUG 3343 - Fix encrypter's stack trace as log... continued..."
Wojciech Dec [Fri, 22 May 2015 18:18:49 +0000 (18:18 +0000)]
Merge "BUG 3343 - Fix encrypter's stack trace as log... continued..."

9 years agoBUG 3343 - Fix encrypter's stack trace as log... continued... 07/21007/1
Wojciech Dec [Fri, 22 May 2015 17:45:53 +0000 (19:45 +0200)]
BUG 3343 - Fix encrypter's stack trace as log... continued...

Change-Id: Id9ae459e29800f75285804bd3a225b831c434d26
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoMerge "BUG 3342 - call super.finalize in stores"
Wojciech Dec [Fri, 22 May 2015 17:43:24 +0000 (17:43 +0000)]
Merge "BUG 3342 - call super.finalize in stores"

9 years agoBUG 3343 - Fix encrypter's stack trace as log 06/21006/1
Wojciech Dec [Fri, 22 May 2015 17:38:09 +0000 (19:38 +0200)]
BUG 3343 - Fix encrypter's stack trace as log

Change-Id: I40b5a21d0cbf891abede31fee7d55114d26ab0ac
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoBUG 3342 - call super.finalize in stores 04/21004/1
Wojciech Dec [Fri, 22 May 2015 16:03:55 +0000 (18:03 +0200)]
BUG 3342 - call super.finalize in stores

Change-Id: I45bac5d48a08dc9d103e3b66890781351ee2e740
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoEnsure that the TokenStore is unregistered when closed 64/19964/1
Moiz Raja [Thu, 7 May 2015 02:34:34 +0000 (19:34 -0700)]
Ensure that the TokenStore is unregistered when closed

The ServiceLocator maintains a reference to all registered token stores and
when a request for get is made it goes through all the registered token stores
to see which one might have the token.

If we have a stale token store then it will also have a reference to a stale
data broker which will throw an exception when a transaction is created on it -
this exception happens to be a runtime exception and if ignored will result in
the exception surfacing all the way to the filter.

Change-Id: I4a66b144529ab5a99a6f53e5bb2ab176e18de703
Signed-off-by: Moiz Raja <moraja@cisco.com>
(cherry picked from commit 1c39e3a07ee047dd84405b466f6ad74b6e5d761f)

9 years agoBumping Snapshots version following lithium branch cut 04/19704/1
Wojciech Dec [Wed, 6 May 2015 11:52:11 +0000 (13:52 +0200)]
Bumping Snapshots version following lithium branch cut

Change-Id: I899df32cc839364df4551c152fdd9a997a8ea072
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoDo not override odlparent properties. 32/18732/4
Wojciech Dec [Wed, 6 May 2015 11:09:53 +0000 (13:09 +0200)]
Do not override odlparent properties.

Change-Id: Ic7217c8bfd67dbd380a79b8ed5c7c60af93009e8
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoMerge "Do not override Karaf version"
Wojciech Dec [Wed, 6 May 2015 10:57:08 +0000 (10:57 +0000)]
Merge "Do not override Karaf version"

9 years agoAdd authorisation data 31/19431/1
Wojciech Dec [Fri, 1 May 2015 10:06:52 +0000 (12:06 +0200)]
Add authorisation data

Change-Id: If1a332b929a2dcb0bfcda0e578d99c20b2de3168
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoDo not override Karaf version 10/18710/2
Tony Tkacik [Tue, 21 Apr 2015 09:13:48 +0000 (11:13 +0200)]
Do not override Karaf version

Change-Id: I4407c8d8ed90a37f0a55c5e4db092faa28d0ab08
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Cleanup after sql-lite"
Wojciech Dec [Fri, 24 Apr 2015 15:07:57 +0000 (15:07 +0000)]
Merge "Cleanup after sql-lite"

9 years agoCleanup after sql-lite 21/19021/1
Wojciech Dec [Fri, 24 Apr 2015 14:53:13 +0000 (16:53 +0200)]
Cleanup after sql-lite

Change-Id: I4d0270aa8c9cdfba45aa2f6ca1cb7398d31e5bed
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoReverted config location line formatting 20/19020/1
Michal Rehak [Fri, 24 Apr 2015 14:40:18 +0000 (16:40 +0200)]
Reverted config location line formatting

 - looks like karaf is sensitive to whitespaces here
   https://issues.apache.org/jira/browse/KARAF-3506

Change-Id: I98a58023015ab2cb64c0522fbe8a3d9fc7586034
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoFixed missing dependency on authn config. 15/19015/1
Tony Tkacik [Fri, 24 Apr 2015 13:25:05 +0000 (15:25 +0200)]
Fixed missing dependency on authn config.

Change-Id: I0ca414e8c1e76c47290323b84740480a2b46bcce
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Change AAA features to default to cluster capable"
Wojciech Dec [Fri, 24 Apr 2015 12:12:04 +0000 (12:12 +0000)]
Merge "Change AAA features to default to cluster capable"

9 years agoMerge "Remove redundant restconf connector config file"
Wojciech Dec [Thu, 23 Apr 2015 15:24:32 +0000 (15:24 +0000)]
Merge "Remove redundant restconf connector config file"

9 years agoChange AAA features to default to cluster capable 01/18901/3
Wojciech Dec [Thu, 23 Apr 2015 09:22:35 +0000 (11:22 +0200)]
Change AAA features to default to cluster capable

Change-Id: Id6478d446da94cd58000fcda05a0bec28916f194
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoMerge "Implementation of MD-SAL Token Cache"
Wojciech Dec [Thu, 23 Apr 2015 09:19:11 +0000 (09:19 +0000)]
Merge "Implementation of MD-SAL Token Cache"

9 years agoImplementation of MD-SAL Token Cache 18/18418/12
Wojciech Dec [Thu, 16 Apr 2015 12:44:29 +0000 (14:44 +0200)]
Implementation of MD-SAL Token Cache

Change-Id: I7d966b52edc1e6d62860285630ee3e215917b26c
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoRemove redundant restconf connector config file 14/18814/1
Wojciech Dec [Wed, 22 Apr 2015 11:26:26 +0000 (13:26 +0200)]
Remove redundant restconf connector config file

Change-Id: I7be4f31ddcd11eb95fa26c52350ac15a5d3f62ad
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoAdding unit tests to idmlite 96/18496/6
Kailash Khalasi [Thu, 16 Apr 2015 22:01:12 +0000 (15:01 -0700)]
Adding unit tests to idmlite

Change-Id: I5ebd86085cf3e1ac88843c656f10480203879da4
Signed-off-by: Kailash Khalasi <kailash.khalasi@hp.com>
9 years agoRevert db path 26/18526/2
Wojciech Dec [Fri, 17 Apr 2015 10:39:45 +0000 (12:39 +0200)]
Revert db path

Change-Id: I694122d8616a650d2c78776c3eb3613cff4f6e8f
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoReplacement from SQLite to H2 as JDBC provider 77/18277/5
EduardoPerez [Tue, 14 Apr 2015 05:22:20 +0000 (22:22 -0700)]
Replacement from SQLite to H2 as JDBC provider
Updated to fix issues with H2 persistence replacement code.

Change-Id: I2c589e8f48576bdf02ac923c7f8d838d4185fb89
Signed-off-by: EduardoPerez <eduardo.perez2@hp.com>
9 years agoAdd <relativePath/> to ensure Maven pulls artifact from Nexus 57/17457/1
Thanh Ha [Tue, 31 Mar 2015 15:03:16 +0000 (11:03 -0400)]
Add <relativePath/> to ensure Maven pulls artifact from Nexus

Needed by autorelease to be able to find and replace this value
prebuild.

Change-Id: Ida4e11bd27a7e72f278dd90e6152ba240299859c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoUse dependencyManagement imports 73/17373/1
Robert Varga [Mon, 30 Mar 2015 17:40:50 +0000 (19:40 +0200)]
Use dependencyManagement imports

Upstream projects provide their declarations in artifacts artiffact --
import it to get coherent version management.

Change-Id: I0d1b1cc400167f9e63a1ad730e3405c5d0cf2823
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix JDK8 javadoc compatibility 02/17302/1
Robert Varga [Sun, 29 Mar 2015 11:03:55 +0000 (13:03 +0200)]
Fix JDK8 javadoc compatibility

JDK8 is more picky about javadocs. Fix them up so the project can be
built using JDK8.

Change-Id: I423570f532338f6253dc31b16a8ca73324c38970
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMake sure insertion order is retained 01/17301/1
Robert Varga [Sun, 29 Mar 2015 10:50:58 +0000 (12:50 +0200)]
Make sure insertion order is retained

Tests require toString() to be stable, which in turn requires we do not
use HashMaps, as their iteration order is undefined.

Change-Id: Iba53a84acb53a249e64acc604d831c7f4bd57f69
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "delete hello example"
Wojciech Dec [Mon, 23 Mar 2015 10:03:16 +0000 (10:03 +0000)]
Merge "delete hello example"

9 years agoMerge "Adding Yang based token-cache-api"
Wojciech Dec [Mon, 23 Mar 2015 09:59:22 +0000 (09:59 +0000)]
Merge "Adding Yang based token-cache-api"

9 years agoMerge "Do not instantiate Booleans, Strings and Longs"
Wojciech Dec [Mon, 23 Mar 2015 09:58:00 +0000 (09:58 +0000)]
Merge "Do not instantiate Booleans, Strings and Longs"

9 years agoDo not instantiate Booleans, Strings and Longs 69/16969/2
Robert Varga [Sun, 22 Mar 2015 22:54:33 +0000 (23:54 +0100)]
Do not instantiate Booleans, Strings and Longs

The two possible values are available as constants, so use them
directly, lowering the amount of garbage we generate.

For an empty String, we can just use a literal. For Longs, instead of
explicit construction, we can use valueOf(), which can end up using the
same instance. Also, we can use autoboxing to let JVM promote a value as
appropriate.

Change-Id: Icf9405d691a08c20dde78a5fe05bd4fab5947741
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdded Karaf feature for the keystone plugin. 02/16302/7
John Borz [Sat, 21 Mar 2015 03:36:36 +0000 (20:36 -0700)]
Added Karaf feature for the keystone plugin.

Change-Id: I7660b6d50ad8dbe3f47b242494fbbd209bba4995
Signed-off-by: John Borz <john.borz@hp.com>
9 years agoFixed typo in credential model. 18/16918/1
Tony Tkacik [Fri, 20 Mar 2015 13:55:05 +0000 (14:55 +0100)]
Fixed typo in credential model.

Change-Id: If9b83393e81d7eacf0f364f6155cb9dc64dadcae
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoFixed AuthZ DataBroker not implementing getExtensions 10/16910/1
Tony Tkacik [Fri, 20 Mar 2015 09:17:24 +0000 (10:17 +0100)]
Fixed AuthZ DataBroker not implementing getExtensions

Change-Id: I9d0cb13043576060c1aa0acf2788e19c493dee97
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoAdding Yang based token-cache-api 45/16845/1
Wojciech Dec [Thu, 19 Mar 2015 17:13:30 +0000 (18:13 +0100)]
Adding Yang based token-cache-api

Change-Id: I141d5a2b970a2913309f159a4db9224dc8958153
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoRe-enable running of SingleFeaturesTest.Fix failing tests. 43/15743/4
Sherry Krell [Wed, 25 Feb 2015 18:12:12 +0000 (10:12 -0800)]
Re-enable running of SingleFeaturesTest.Fix failing tests.

- switch to using odlparent:features-test instead of yangtools:features-test.
- fix failing features tests

Change-Id: Icb61adef1e06feda40f7c934ee87ba7b4fe7e53e
Signed-off-by: Sherry Krell <sherry.krell@hp.com>
9 years agoAdded feature dependencies to features/api 70/16770/1
Tony Tkacik [Wed, 18 Mar 2015 14:07:56 +0000 (15:07 +0100)]
Added feature dependencies to features/api

Change-Id: Ib0ac42d2fb0d46d45c81f868a7ae500c9d65ae68
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoyang model for storing security credentials 07/15807/4
Nathan Harmon [Fri, 27 Feb 2015 05:25:22 +0000 (21:25 -0800)]
yang model for storing security credentials

Change-Id: I8045ca9b752bd777e7048837382d646503982455
Signed-off-by: Steve Dean <sdean@hp.com>
Signed-off-by: Nathan Harmon <nathan.harmon@hp.com>
9 years agoRefactor ClaimBuilder, update unit tests. 54/16154/3
Sherry Krell [Fri, 6 Mar 2015 21:41:24 +0000 (13:41 -0800)]
Refactor ClaimBuilder, update unit tests.

- fix builder to only create object within build()
- make built object immutable
- add validation

Change-Id: Icbd39ab06d9de444dfebaf110cc42fac2065bbf9
Signed-off-by: Sherry Krell <sherry.krell@hp.com>
9 years agoMerge "Refactor AuthenticationBuilder, update unit tests. - fix builder to only creat...
Wojciech Dec [Wed, 18 Mar 2015 11:48:20 +0000 (11:48 +0000)]
Merge "Refactor AuthenticationBuilder, update unit tests. - fix builder to only create object within build() - make built object immutable - use composition instead of inheritance for Claim - add validation"

9 years agoMerge "Initial AAA Karaf features for cluster capable MD-SAL based token cache"
Wojciech Dec [Wed, 18 Mar 2015 11:37:44 +0000 (11:37 +0000)]
Merge "Initial AAA Karaf features for cluster capable MD-SAL based token cache"

9 years agoRefactor AuthenticationBuilder, update unit tests. 93/15993/3
Sherry Krell [Tue, 3 Mar 2015 23:35:30 +0000 (15:35 -0800)]
Refactor AuthenticationBuilder, update unit tests.
- fix builder to only create object within build()
- make built object immutable
- use composition instead of inheritance for Claim
- add validation

Change-Id: I324210f0743ce113d8bcafd5861d74414c5dfa0d
Signed-off-by: Sherry Krell <sherry.krell@hp.com>
9 years agoBug 868: Migrated AuthZ to use Forwarding Sessions. 06/16706/1
Tony Tkacik [Tue, 17 Mar 2015 15:11:39 +0000 (16:11 +0100)]
Bug 868: Migrated AuthZ to use Forwarding Sessions.

Change-Id: I65ca5c694694ce52853c2ec7ce69fd73eb0062e2
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoRemoved override of checkstyle version. 78/16678/1
Tony Tkacik [Tue, 17 Mar 2015 08:28:08 +0000 (09:28 +0100)]
Removed override of checkstyle version.

Change-Id: Iaa9a92d9cab025ffa68fb2f1323d72feaffcca50
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoInitial AAA Karaf features for cluster capable MD-SAL based token cache 13/15713/2
Wojciech Dec [Wed, 25 Feb 2015 10:51:22 +0000 (11:51 +0100)]
Initial AAA Karaf features for cluster capable MD-SAL based token cache

Change-Id: Iae808ffcc966ce77018612338930fad9a10f1f85
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoRemoving Authz RPC timeout in response 50/9450/2
Wojciech Dec [Tue, 29 Jul 2014 17:31:20 +0000 (19:31 +0200)]
Removing Authz RPC timeout in response

Change-Id: I04d7965cdf3d839b429423195d35b262fd9c1b0e
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoMerge "Workaround for sqlite wrapping issue in Karaf 3.0.3."
Wojciech Dec [Tue, 10 Mar 2015 10:47:52 +0000 (10:47 +0000)]
Merge "Workaround for sqlite wrapping issue in Karaf 3.0.3."

9 years agoMerge "Remove <repositories> and <pluginRepositories> sections"
Wojciech Dec [Mon, 2 Mar 2015 13:23:02 +0000 (13:23 +0000)]
Merge "Remove <repositories> and <pluginRepositories> sections"

9 years agoRemove <repositories> and <pluginRepositories> sections 05/15205/2
Thanh Ha [Thu, 12 Feb 2015 15:51:18 +0000 (10:51 -0500)]
Remove <repositories> and <pluginRepositories> sections

It is recommended that developers and servers configure this locally via
settings.xml.

https://lists.opendaylight.org/pipermail/discuss/2015-January/004482.html

Change-Id: I58b9a6991ebd60b3bfdfcccb2e37a13e711134a3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoRefactor and add unit tests for AuthenticationManager and fix bug that was found... 56/15756/2
Sherry Krell [Wed, 25 Feb 2015 23:08:59 +0000 (15:08 -0800)]
Refactor and add unit tests for AuthenticationManager and fix bug that was found in updated method.

Change-Id: I56243d90c502852005031d0238e8e06ddbbe244e
Signed-off-by: Sherry Krell <sherry.krell@hp.com>
9 years agoWorkaround for sqlite wrapping issue in Karaf 3.0.3. 73/15573/1
Nathan Harmon [Sat, 21 Feb 2015 00:54:25 +0000 (16:54 -0800)]
Workaround for sqlite wrapping issue in Karaf 3.0.3.

Embed sqlite in idmlight using an older version of bnd (2.1.0). See https://lists.opendaylight.org/pipermail/discuss/2015-February/004653.html

Change-Id: I1965156f13cc37ef2714af114eebdfe56f688d52
Signed-off-by: Nathan Harmon <nathan.harmon@hp.com>
9 years agoFix checkstyle if-statements must use braces in aaa-idmlight 42/13642/3
Thanh Ha [Sun, 14 Dec 2014 20:30:55 +0000 (15:30 -0500)]
Fix checkstyle if-statements must use braces in aaa-idmlight

- Fix missing braces
- Fix indentation level

Change-Id: I5e81fb561b550a2085ceddf6403273dcb503c5ca
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix checkstyle if-statements must use braces in aaa-authn 41/13641/3
Thanh Ha [Sun, 14 Dec 2014 20:25:06 +0000 (15:25 -0500)]
Fix checkstyle if-statements must use braces in aaa-authn

- Fix if-statements must use braces
- Add missing License headers

Change-Id: I5c9279d1702ec8c3ce0d1b5ea82aef5c7325e620
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix checkstyle if-else-for-statements must use braces in aaa-authn-sts 40/13640/3
Thanh Ha [Sun, 14 Dec 2014 20:23:11 +0000 (15:23 -0500)]
Fix checkstyle if-else-for-statements must use braces in aaa-authn-sts

Change-Id: I3c9ad139c47d0e4a07f29ce8b7dea681184c0b60
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix checkstyle if-statements must use braces in aaa-authn-keystone 39/13639/3
Thanh Ha [Sun, 14 Dec 2014 20:21:05 +0000 (15:21 -0500)]
Fix checkstyle if-statements must use braces in aaa-authn-keystone

Change-Id: I84c3f8f0342148f71f5968d55d76a80084046a77
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix checkstyle for-statements must use braces in aaa-authn-federation 38/13638/3
Thanh Ha [Sun, 14 Dec 2014 20:20:27 +0000 (15:20 -0500)]
Fix checkstyle for-statements must use braces in aaa-authn-federation

Change-Id: I0a9fa5ebd078eb429d910a5d139153f13bf31937
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix checkstyle if-statements must use braces in aaa-authn-store 37/13637/3
Thanh Ha [Sun, 14 Dec 2014 20:18:35 +0000 (15:18 -0500)]
Fix checkstyle if-statements must use braces in aaa-authn-store

- Fix checkstyle if-statement brances
- Fix missing License header

Change-Id: Iac67a50e459b363fd3b83f56011028d82b828c62
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoSet root pom.xml <name> for Sonar 74/14074/1
Thanh Ha [Fri, 9 Jan 2015 21:56:31 +0000 (16:56 -0500)]
Set root pom.xml <name> for Sonar

As mentioned on the mailing list Sonar uses the <name> field of the
pom.xml that is passed to the mvn command as the name of the project in
Sonar. In most cases this is the root pom.xml file in a project. This
patch sets the name to the project shortname.

https://lists.opendaylight.org/pipermail/discuss/2014-November/004024.html

Change-Id: Ic8eabf78c37d6e449a837d34600ed3b86e7947a8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMerge "Change ENUMS used in config yangs for Strings"
Wojciech Dec [Mon, 15 Dec 2014 15:52:31 +0000 (15:52 +0000)]
Merge "Change ENUMS used in config yangs for Strings"

9 years agoRemoved the pax-exam it tests in favor of Robot tests. 27/13427/1
Liem Nguyen [Fri, 5 Dec 2014 20:48:58 +0000 (12:48 -0800)]
Removed the pax-exam it tests in favor of Robot tests.

Change-Id: I33e0974795d92a4083129b37cb407d7847614c5f
Signed-off-by: Liem Nguyen <liem_m_nguyen@hp.com>
9 years agoRemoved all* features as well as fixing circular dependencies with restconf. 25/13425/1
Liem Nguyen [Fri, 5 Dec 2014 19:31:55 +0000 (11:31 -0800)]
Removed all* features as well as fixing circular dependencies with restconf.

Change-Id: I4de1af27c275d3877f1c5f3cc10fb188bfa28c2c
Signed-off-by: Liem Nguyen <liem_m_nguyen@hp.com>
9 years agoChange ENUMS used in config yangs for Strings 71/13171/2
Maros Marsalek [Thu, 27 Nov 2014 13:43:17 +0000 (14:43 +0100)]
Change ENUMS used in config yangs for Strings

ENUMs are not properly serialzied in config/netconf and it causes failure when reading/writing data using RESTCONF + Loopback connection

Change-Id: I8f9da4d009cdd3a432dd031ecc3a7cb551454d3d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Documentation for SSSD Federated IdP authentication"
Liem Nguyen [Fri, 14 Nov 2014 20:25:22 +0000 (20:25 +0000)]
Merge "Documentation for SSSD Federated IdP authentication"