Package org.beangle.security.web.auth

Examples of org.beangle.security.web.auth.LoginUrlEntryPoint.afterPropertiesSet()


public class LoginUrlEntryPointTest {

  public void testDetectsMissingLoginFormUrl() throws Exception {
    LoginUrlEntryPoint ep = new LoginUrlEntryPoint();
    try {
      ep.afterPropertiesSet();
      fail("Should have thrown IllegalArgumentException");
    } catch (IllegalArgumentException expected) {
      assertEquals("loginFormUrl must be specified", expected.getMessage());
    }
  }
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.