Package org.beangle.security.web.access

Examples of org.beangle.security.web.access.SimpleResourceExtractor


public class SimpleResourceExtractorTest {

  @Test
  public void testExtract() throws Exception {
    assertEquals(new SimpleResourceExtractor().extract("a.jsp"), "a.jsp");
    assertEquals(new SimpleResourceExtractor().extract("/b.do"), "b.do");
    assertEquals(new SimpleResourceExtractor().extract("/c/d.action?method=aa"), "c/d.action");
  }
View Full Code Here

TOP

Related Classes of org.beangle.security.web.access.SimpleResourceExtractor

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.