Examples of useConfiguredForAuth()


Examples of org.jboss.test.jca.securedejb.CallerIdentity.useConfiguredForAuth()

      InitialContext ctx = super.getInitialContext();

      LoginContext lc = login("ejbcaller", "ejbcallerpw".toCharArray());
      CallerIdentityHome home = (CallerIdentityHome) ctx.lookup("jca-test/CallerIdentity");
      CallerIdentity bean = home.create();
      bean.useConfiguredForAuth();
      lc.logout();
   }

   public void testRunAsIdentityPropagationFS() throws Throwable
   {
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.