Examples of JNDIBasedSecurityManagement


Examples of org.jboss.security.integration.JNDIBasedSecurityManagement

/* 414 */       server.invoke(this.managerServiceName, "registerSecurityDomain", params, signature);
/*     */     }
/*     */
/* 417 */     if ((this.securityManagement instanceof JNDIBasedSecurityManagement))
/*     */     {
/* 419 */       JNDIBasedSecurityManagement jbs = (JNDIBasedSecurityManagement)this.securityManagement;
/* 420 */       jbs.registerJaasSecurityDomainInstance(getSecurityDomain(), this);
/*     */     }
/*     */   }
View Full Code Here

Examples of org.jboss.security.integration.JNDIBasedSecurityManagement

/*     */         }
/*     */       }
/*     */
/* 130 */       sc = SecurityActions.getSecurityContext();
/*     */
/* 132 */       sc.setSecurityManagement(new JNDIBasedSecurityManagement());
/*     */
/* 135 */       EJBAuthenticationHelper helper = new EJBAuthenticationHelper(sc);
/* 136 */       boolean trustedCaller = helper.isTrusted();
/* 137 */       if (!trustedCaller)
/*     */       {
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.