StatefulSession bean2 = home2.create("validateCallerContext");
bean2.echo("validateCallerContext");
validatePolicyContextSubject("post stateful", callerPrincipals);
validateSecurityAssociationSubject("post stateful", callerPrincipals);
EntityHome home3 = (EntityHome)
ctx.lookup("java:comp/env/ejb/Entity");
Entity bean3 = null;
try
{
bean3 = home3.findByPrimaryKey("validateCallerContext");
}
catch(FinderException e)
{
bean3 = home3.create("validateCallerContext");
}
bean3.echo("validateCallerContext");
}
catch(Exception e)
{