Examples of OrRequestMatcher


Examples of org.springframework.security.web.util.matcher.OrRequestMatcher

    @Test
    public void matchesMultiBothFalse() {
        when(delegate.matches(request)).thenReturn(false);
        when(delegate2.matches(request)).thenReturn(false);
        matcher = new OrRequestMatcher(delegate, delegate2);

        assertThat(matcher.matches(request)).isFalse();
    }
View Full Code Here

Examples of org.springframework.security.web.util.matcher.OrRequestMatcher

    @Test
    public void matchesMultiSingleFalse() {
        when(delegate.matches(request)).thenReturn(true);
        when(delegate2.matches(request)).thenReturn(false);
        matcher = new OrRequestMatcher(delegate, delegate2);

        assertThat(matcher.matches(request)).isTrue();
    }
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.