Examples of TestPasswordInjectedBean


Examples of org.jboss.test.security.beans.TestPasswordInjectedBean

   }
  
   public void testPasswordInjection() throws Exception
   {
      InitialContext ic = new InitialContext();
      TestPasswordInjectedBean tp = (TestPasswordInjectedBean) ic.lookup("testJNDIBean");
      assertNotNull("Password Bean is in JNDI", tp);
      assertTrue("Password has been injected", tp.isPasswordSet());
   }
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.