Examples of PathMatchingFilter


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
Copyright © 2018 www.massapi.com. 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.