Package org.jboss.ejb

Examples of org.jboss.ejb.RunAsImpl


         SecurityIdentityMetaData identity)
   {
      if (identity != null && !identity.isUseCallerId())
      {
         RunAsMetaData runAs = identity.getRunAs();
         RunAsImpl annotation = null;
         if (runAs != null)
         {
            annotation = new RunAsImpl(runAs.getRoleName());
            addClassAnnotation(container, annotation.annotationType(),
                  annotation);
         }
        
         String runAsPrincipal = identity.getRunAsPrincipal();
         if (runAsPrincipal != null)
View Full Code Here


/*      */   private void addSecurityIdentityAnnotation(EJBContainer container, SecurityIdentityMetaData identity)
/*      */   {
/* 2001 */     if ((identity != null) && (!identity.isUseCallerId()))
/*      */     {
/* 2003 */       RunAsMetaData runAs = identity.getRunAs();
/* 2004 */       RunAsImpl annotation = null;
/* 2005 */       if (runAs != null)
/*      */       {
/* 2007 */         annotation = new RunAsImpl(runAs.getRoleName());
/* 2008 */         addClassAnnotation(container, annotation.annotationType(), annotation);
/*      */       }
/*      */
/* 2012 */       String runAsPrincipal = identity.getRunAsPrincipal();
/* 2013 */       if (runAsPrincipal != null)
/*      */       {
View Full Code Here

TOP

Related Classes of org.jboss.ejb.RunAsImpl

Copyright © 2018 www.massapicom. 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.