Examples of SecurityIdentityMetaData


Examples of org.jboss.metadata.ejb.spec.SecurityIdentityMetaData

/* 725 */     if (this.enterpriseBeans != null)
/*     */     {
/* 727 */       for (JBossEnterpriseBeanMetaData ejb : this.enterpriseBeans)
/*     */       {
/* 729 */         String ejbName = ejb.getEjbName();
/* 730 */         SecurityIdentityMetaData si = ejb.getSecurityIdentity();
/* 731 */         String principalName = si != null ? si.getRunAsPrincipal() : null;
/*     */
/* 733 */         String ejbXmlRunAs = null;
/* 734 */         if ((si != null) && (si.getRunAs() != null))
/* 735 */           ejbXmlRunAs = si.getRunAs().getRoleName();
/* 736 */         if (principalName != null)
/*     */         {
/* 739 */           if (ejbXmlRunAs == null)
/*     */           {
/* 743 */             ejbXmlRunAs = "anonymous";
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.