Eliminate AAAShiroProvider.init() 32/104332/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 8 Feb 2023 21:54:30 +0000 (22:54 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 8 Feb 2023 21:55:53 +0000 (22:55 +0100)
commit2158d9c811a765fc02fe96888ac6a2223356eb43
tree3d0385efc3d0db72aaf8cb953bc309a0a7d7c7cf
parent76bcb98e716422535120641f5aeac9636dfcbed0
Eliminate AAAShiroProvider.init()

The init method is used only to log information, integrate it into the
constructor, differentiating successful and empty startup.

Also implement AutoCloseable to specify close() method, which does only
logging, but perhaps will do more in the future.

JIRA: AAA-205
Change-Id: Ice5c0a150e4b361fc39ddca54f999a8d2e04c5d8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
aaa-shiro/impl/src/main/java/org/opendaylight/aaa/AAAShiroProvider.java
aaa-shiro/impl/src/main/resources/OSGI-INF/blueprint/impl-blueprint.xml