This test fails due to change in the way authentication is disabled in
the Beryllium release. In prior releases, authentication could be disabled
by adding "authEnabled=false" to "etc/org.opendaylight.aaa.authn.cfg". Now,
authentication is disabled by editing shiro.ini and changing:
"/** = authcBasic" to "/** = anon".
Because Shiro properties are not currently tracked through the config admin
service, disabling AAA requires a controller restart. This test is removed
as it is out of date and no longer reflects how to disable authentication.
A new test is not added to this suite, as controller restart is required.
Change-Id: Ia745c6d722d6a843eac69f8f3998766a8ce48c5d
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Make REST Transaction 401 ${auth_token}
Disable Authentication And Re-Enable Authentication
- [Documentation] Toggles authentication off and verifies that no login credentials are needed for REST transactions
+ [Documentation] Toggles authentication off and verifies that no login credentials are needed for REST transactions.
+ ... Test has been disabled due to the fact that this interface has changed. Authentication is now disabled
+ ... through modification of shiro.ini, which requires controller restart and is not suit for this test.
+ [Tags] exclude
Disable Authentication On Controller ${ODL_SYSTEM_IP}
Wait Until Keyword Succeeds 10s 1s Make REST Transaction 200
Enable Authentication On Controller ${ODL_SYSTEM_IP}