>>>>> Steinar Bang <s...@dod.no>: >> The handler for the ServletContextHelper service seems to do stuff with >> both HTTP_WHITEBOARD_CONTEXT_NAME and HTTP_WHITEBOARD_CONTEXT_PATH, but >> I havn't yet determined how it works and how to connect things to a >> servlet, and (hopefully also) a Filter.
> Ok, now I've got it working[1]. [snip!] > References: > [1] > <https://github.com/steinarb/ukelonn/commit/b1cece3ff166d62e5eb52ec8b5c51d2304025c2f> [snip!] > [4] > <https://github.com/steinarb/ukelonn/blob/b1cece3ff166d62e5eb52ec8b5c51d2304025c2f/ukelonn.bundle/src/main/java/no/priv/bang/ukelonn/impl/UkelonnShiroFilter.java#L41> I had to make an additional change to UkelonnShiroFilter to get rid of an annoying issue where Shiro kept adding "login.jsp" to the URL: https://github.com/steinarb/ukelonn/commit/153fd423a9316c415664adbdfbd5647d82dafd1e (FWIW it still worked even with the login.jsp in place, since the Vaadin servlet doesn't care about other local paths than the top / and /VAADIN/*, but it didn't look good) The change is to make sure the IniFilterChainResolverFactory get the Map from the WebIniSecurityManagerFactory.getBeans() method. The Map contains the results from the [main] section on the shiro.ini file (eg. the authc.loginUrl setting, ie. without the authc.loginUrl the FormAuthenticationFilter will get the default loginUrl, which is "logn.jsp"). -- -- ------------------ OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.