JettyStartups to improve new Filters
[aaf/authz.git] / auth / auth-gui / src / main / java / org / onap / aaf / auth / gui / AAF_GUI.java
index 7d2a017..3f26bad 100644 (file)
@@ -122,8 +122,6 @@ public class AAF_GUI extends AbsService<AuthzEnv, AuthzTrans> implements State<E
                sTheme = env.staticSlot(CachingFileAccess.CFA_WEB_PATH,access.getProperty(CachingFileAccess.CFA_WEB_PATH,null)==null?AAF_GUI_THEME:CachingFileAccess.CFA_WEB_PATH);
                theme = env.getProperty(AAF_GUI_THEME);
 
-               //OrganizationFactory.setDefaultOrg(env, "org.osaaf.authz.org.att.ATT");
-
                slot_httpServletRequest = env.slot(HTTP_SERVLET_REQUEST);
                String[] component = Split.split(':', access.getProperty(Config.AAF_COMPONENT, "N/A:2.x"));
                if(component.length>1) {
@@ -232,13 +230,15 @@ public class AAF_GUI extends AbsService<AuthzEnv, AuthzTrans> implements State<E
        public<RET> RET cmClientAsUser(TaggedPrincipal p,Retryable<RET> retryable) throws APIException, LocatorException, CadiException  {
                        return cmCon.hman().best(new HTransferSS(p,app, aafCon.securityInfo()), retryable);
        }
+       
        @Override
-       public Filter[] filters() throws CadiException, LocatorException {
+       public Filter[] _filters(Object ... additionalTafLurs) throws CadiException, LocatorException {
                try {
                        return new Filter[] {
                                        new XFrameFilter(XFrameFilter.TYPE.none),
                                        new AuthzTransFilter(env,aafCon(),
-                                               new AAFTrustChecker((Env)env)),
+                                               new AAFTrustChecker((Env)env),
+                                               additionalTafLurs),
                                        new OrgLookupFilter()
                                };
                } catch (NumberFormatException e) {