Package org.apache.shiro.web.filter

Examples of org.apache.shiro.web.filter.PathMatchingFilter


import static org.easymock.EasyMock.*;

public class PathMatchingFilterProviderTest {
    @Test
    public void testPostProcess() {
        PathMatchingFilter filter = createMock(PathMatchingFilter.class);

        expect(filter.processPathConfig("/1", "first")).andReturn(filter);
        expect(filter.processPathConfig("/2", "second")).andReturn(filter);

        replay(filter);

        Map<String, String> pathConfigMap = new HashMap<String, String>();
        pathConfigMap.put("/1", "first");
View Full Code Here

TOP

Related Classes of org.apache.shiro.web.filter.PathMatchingFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.