Examples of linkConfiguration()


Examples of javax.security.jacc.PolicyConfiguration.linkConfiguration()

        //link everything together
        for (PolicyConfiguration policyConfiguration : contextIdToPolicyConfigurationMap.values()) {
            for (PolicyConfiguration policyConfiguration2 : contextIdToPolicyConfigurationMap.values()) {
                if (policyConfiguration != policyConfiguration2) {
                    policyConfiguration.linkConfiguration(policyConfiguration2);
                }
            }
        }

        //commit
View Full Code Here

Examples of javax.security.jacc.PolicyConfiguration.linkConfiguration()

      PolicyConfiguration parentPc = parent.getAttachment(PolicyConfiguration.class);
      try
      {
         if (parentPc != null && pc != parentPc)
         {
            parentPc.linkConfiguration(pc);
         }
         pc.commit();
      }
      catch (PolicyContextException e)
      {
View Full Code Here

Examples of javax.security.jacc.PolicyConfiguration.linkConfiguration()

        //link everything together
        for (PolicyConfiguration policyConfiguration : contextIdToPolicyConfigurationMap.values()) {
            for (PolicyConfiguration policyConfiguration2 : contextIdToPolicyConfigurationMap.values()) {
                if (policyConfiguration != policyConfiguration2) {
                    policyConfiguration.linkConfiguration(policyConfiguration2);
                }
            }
        }

        //commit
View Full Code Here

Examples of javax.security.jacc.PolicyConfiguration.linkConfiguration()

/* 105 */       String parentContextId = parentUnit.getSimpleName();
/* 106 */       PolicyConfigurationFactory pcFactory = Ejb3PolicyConfigurationFactory.getPolicyConfigurationFactory();
/* 107 */       PolicyConfiguration parentpc = pcFactory.getPolicyConfiguration(parentContextId, false);
/* 108 */       if (parentpc != null)
/*     */       {
/* 110 */         parentpc.linkConfiguration(pc);
/* 111 */         pc.commit();
/* 112 */         log.trace("JACC Policy Configuration for deployment unit has been linked with parent");
/* 113 */         return;
/*     */       }
/*     */     }
View Full Code Here

Examples of javax.security.jacc.PolicyConfiguration.linkConfiguration()

/*     */
/* 131 */     PolicyConfiguration parentPC = (PolicyConfiguration)current.context.get("javax.security.jacc.PolicyConfiguration");
/*     */
/* 134 */     if ((parentPC != null) && (parentPC != pc))
/*     */     {
/* 136 */       parentPC.linkConfiguration(pc);
/*     */     }
/*     */
/* 139 */     pc.commit();
/* 140 */     log.trace("JACC Policy Configuration for deployment has been put in service");
/*     */   }
View Full Code Here

Examples of javax.security.jacc.PolicyConfiguration.linkConfiguration()

/* 57 */     PolicyConfiguration parentPc = (PolicyConfiguration)parent.getAttachment(PolicyConfiguration.class);
/*    */     try
/*    */     {
/* 60 */       if ((parentPc != null) && (pc != parentPc))
/*    */       {
/* 62 */         parentPc.linkConfiguration(pc);
/*    */       }
/* 64 */       pc.commit();
/*    */     }
/*    */     catch (PolicyContextException e)
/*    */     {
View Full Code Here

Examples of javax.security.jacc.PolicyConfiguration.linkConfiguration()

        //link everything together
        for (PolicyConfiguration policyConfiguration : contextIdToPolicyConfigurationMap.values()) {
            for (PolicyConfiguration policyConfiguration2 : contextIdToPolicyConfigurationMap.values()) {
                if (policyConfiguration != policyConfiguration2) {
                    policyConfiguration.linkConfiguration(policyConfiguration2);
                }
            }
        }

        //commit
View Full Code Here

Examples of javax.security.jacc.PolicyConfiguration.linkConfiguration()

                }
                if (!standalone) {
                    PolicyConfiguration parent = parentPolicy.getValue();
                    if (parent != null) {
                        parent = pcf.getPolicyConfiguration(parent.getContextID(), false);
                        parent.linkConfiguration(policyConfiguration);
                        policyConfiguration.commit();
                        parent.commit();
                    } else {
                        log.debugf("Could not retrieve parent policy for policy " + contextId);
                    }
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.