Collection syntax change because of Sonar
[aaf/authz.git] / auth / auth-certman / src / main / java / org / onap / aaf / auth / cm / AAF_CM.java
index 5c5ab96..a9a9b4e 100644 (file)
@@ -71,7 +71,7 @@ import com.datastax.driver.core.Cluster;
 public class AAF_CM extends AbsService<AuthzEnv, AuthzTrans> {
 
        private static final String USER_PERMS = "userPerms";
-       private static final Map<String,CA> certAuths = new TreeMap<String,CA>();
+       private static final Map<String,CA> certAuths = new TreeMap<>();
        public Facade1_0 facade1_0; // this is the default Facade
        public Facade1_0 facade1_0_XML; // this is the XML Facade
        public Map<String, Dated> cacheUser;
@@ -201,11 +201,12 @@ public class AAF_CM extends AbsService<AuthzEnv, AuthzTrans> {
        }
 
        @Override
-       public Filter[] filters() throws CadiException, LocatorException {
+       public Filter[] _filters(Object ... additionalTafLurs) throws CadiException, LocatorException {
                try {
                        return new Filter[] {
                                        new AuthzTransFilter(env,aafCon(),
-                                               new AAFTrustChecker((Env)env))
+                                       new AAFTrustChecker((Env)env),
+                                       additionalTafLurs)
                                };
                } catch (NumberFormatException e) {
                        throw new CadiException("Invalid Property information", e);