Remove deprecated StoreBuilder#init 38/72538/1
authorTom Pantelis <tompantelis@gmail.com>
Thu, 31 May 2018 20:29:29 +0000 (16:29 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Thu, 31 May 2018 20:29:29 +0000 (16:29 -0400)
Change-Id: I9f4a92572b0db28c9a07ad596a7b9f7cf92cf841
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
aaa-authn-api/src/main/java/org/opendaylight/aaa/api/StoreBuilder.java

index 76c1f0a9a5c3a3b88b9867fc5e27cbadb6df805c..4a7c5993715244eff9e2a75a11e6828db9dd96bf 100644 (file)
@@ -55,20 +55,6 @@ public class StoreBuilder {
         this.store = store;
     }
 
-    /**
-     * Initialize IIDMStore with some default entries.
-     *
-     * @deprecated Better explicitly use
-     *             {@link #initDomainAndRolesWithoutUsers(String)} or
-     *             {@link #initWithDefaultUsers(String)}
-     *
-     * @throws IDMStoreException for issues coming from the IIDMStore
-     */
-    @Deprecated
-    public void init() throws IDMStoreException {
-        initWithDefaultUsers(IIDMStore.DEFAULT_DOMAIN);
-    }
-
     /**
      * Initialize IIDMStore with the default domain and the 'user' and 'admin' roles, if needed.
      * This does not create any default user entries (because they are an inherent security risk).