From 274a3427cda59c9cb60ae930a740c61ecb5c5822 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Mon, 18 Nov 2019 19:15:34 +0530 Subject: Remove the declaration of thrown exception Remove the declaration of thrown exception 'org.springframework.security.core.AuthenticationException' which is a runtime exception Issue-ID: OPTFRA-632 Change-Id: I82c720c3c4fa67fb4959ffb06e032cb7021f24fc Signed-off-by: anushadasari --- .../src/main/java/org/onap/optf/cmso/optimizer/aaf/AafAuthProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmso-optimizer') diff --git a/cmso-optimizer/src/main/java/org/onap/optf/cmso/optimizer/aaf/AafAuthProvider.java b/cmso-optimizer/src/main/java/org/onap/optf/cmso/optimizer/aaf/AafAuthProvider.java index 80accfe..61c1eb8 100755 --- a/cmso-optimizer/src/main/java/org/onap/optf/cmso/optimizer/aaf/AafAuthProvider.java +++ b/cmso-optimizer/src/main/java/org/onap/optf/cmso/optimizer/aaf/AafAuthProvider.java @@ -55,7 +55,7 @@ public class AafAuthProvider implements AuthenticationProvider { AafClientCache clientCache; @Override - public Authentication authenticate(Authentication authentication) throws AuthenticationException { + public Authentication authenticate(Authentication authentication) { String name = authentication.getName(); String password = authentication.getCredentials().toString(); String sessionId = null; -- cgit 1.2.3-korg