Package org.jboss.security

Examples of org.jboss.security.SecurityProxyFactory.create()


               {
                  // Get default SecurityProxyFactory from JNDI at
                  InitialContext iniCtx = new InitialContext();
                  SecurityProxyFactory proxyFactory =
                     (SecurityProxyFactory)iniCtx.lookup(SECURITY_PROXY_FACTORY_NAME);
                  securityProxy = proxyFactory.create(secProxy);
               }
               catch (Exception e)
               {
                  log.error("Failed to initialze DefaultSecurityProxy", e);
               }
View Full Code Here


/*     */           try
/*     */           {
/*  91 */             InitialContext iniCtx = new InitialContext();
/*  92 */             SecurityProxyFactory proxyFactory = (SecurityProxyFactory)iniCtx.lookup("java:/SecurityProxyFactory");
/*     */
/*  94 */             this.securityProxy = proxyFactory.create(secProxy);
/*     */           }
/*     */           catch (Exception e)
/*     */           {
/*  98 */             this.log.error("Failed to initialze DefaultSecurityProxy", e);
/*     */           }
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.