Package org.jboss.security.integration

Examples of org.jboss.security.integration.JNDIBasedSecurityManagement


         server.invoke(managerServiceName, "registerSecurityDomain", params, signature);
      }
      // Register yourself with the security management
      if (securityManagement instanceof JNDIBasedSecurityManagement)
      {
         JNDIBasedSecurityManagement jbs = (JNDIBasedSecurityManagement) securityManagement;
         jbs.registerJaasSecurityDomainInstance(this);
      }
   }
View Full Code Here


      cipherKey = null;

      // Deregister yourself with the security management
      if (securityManagement instanceof JNDIBasedSecurityManagement)
      {
         JNDIBasedSecurityManagement jbs = (JNDIBasedSecurityManagement) securityManagement;
         jbs.deregisterJaasSecurityDomainInstance(getSecurityDomain());
      }
   }
View Full Code Here

         server.invoke(managerServiceName, "registerSecurityDomain", params, signature);
      }
      // Register yourself with the security management
      if (securityManagement instanceof JNDIBasedSecurityManagement)
      {
         JNDIBasedSecurityManagement jbs = (JNDIBasedSecurityManagement) securityManagement;
         jbs.registerJaasSecurityDomainInstance(this);
      }
   }
View Full Code Here

      cipherKey = null;

      // Deregister yourself with the security management
      if (securityManagement instanceof JNDIBasedSecurityManagement)
      {
         JNDIBasedSecurityManagement jbs = (JNDIBasedSecurityManagement) securityManagement;
         jbs.deregisterJaasSecurityDomainInstance(getSecurityDomain());
      }
   }
View Full Code Here

            }
         }
        
         sc = SecurityActions.getSecurityContext();
         //TODO: Need to get the SecurityManagement instance
         sc.setSecurityManagement(new JNDIBasedSecurityManagement());
          
         //Check if there is a RunAs configured and can be trusted
         EJBAuthenticationHelper helper = new EJBAuthenticationHelper(sc);
         boolean trustedCaller = helper.isTrusted();
         if(!trustedCaller)
View Full Code Here

/* 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

/*     */         }
/*     */       }
/*     */
/* 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

Related Classes of org.jboss.security.integration.JNDIBasedSecurityManagement

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.