diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-02-28 10:32:39 -0600 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-02-28 10:32:59 -0600 |
commit | 6ac87e3e76e41b6c1e75c1216031f2e2e7129eec (patch) | |
tree | c726b4e66a54f586e13fa44b8edbaf64c0de6c20 /shiro/src/main | |
parent | 5a4898a108ecf3e2e020e83eb35ef6b63fadc4cb (diff) |
Fix Class Compare2.1.13
Issue-ID: AAF-771
Change-Id: I4ae41def8830939651d64954c1479f2f5dece82d
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'shiro/src/main')
-rw-r--r-- | shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java b/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java index c455a4d..eb8bc60 100644 --- a/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java +++ b/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java @@ -297,7 +297,7 @@ public class AAFRealm extends AuthorizingRealm { @Override public boolean supports(AuthenticationToken token) { // Only one was being loaded. If more are needed uncomment the multi-class mode - return UsernamePasswordToken.class.equals(token); + return token instanceof UsernamePasswordToken; // return singleton.supports.contains(token.getClass()); } |