Examples of callBeanAsClientLoginUser()


Examples of org.jboss.test.security.clientlogin.IClientLogin.callBeanAsClientLoginUser()

      IClientLoginHome home = (IClientLoginHome) obj;
      log.debug("Found IClientLoginHome");
      IClientLogin bean = home.create();
      log.debug("Created IClientLogin");

      Principal user = bean.callBeanAsClientLoginUser();
      assertTrue("callBeanAsClientLoginUser value == jduke",
         user.getName().equals("jduke"));
      bean.remove();
   }
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.