Examples of SecurityManager


Examples of com.bradmcevoy.http.SecurityManager

   *
   */
  public FileSystemResourceFactory() {
    log.debug("setting default configuration...");
    String sRoot = System.getProperty("user.home");
    SecurityManager sm = new NullSecurityManager();
    init(sRoot, sm);
  }
View Full Code Here

Examples of com.dbxml.db.core.security.SecurityManager

   public synchronized int initialize() {
      try {
         Database db = new Database();
         db.setConfig(config);
         SecurityManager security = db.getSecurityManager();

      if ( !(security instanceof NoSecurityManager) ) {
        Filter authFilter = new BasicAuthFilter(security);
        Broker.getInstance().addFilter(authFilter);
      }
View Full Code Here

Examples of com.eaglegenomics.simlims.core.manager.SecurityManager

      rm.setProjectStore((ProjectStore)context.getBean("projectStore"));
      rm.setRunStore((RunStore)context.getBean("runStore"));
      rm.setRunQcStore((RunQcStore) context.getBean("runQcStore"));
      rm.setPoolStore((PoolStore)context.getBean("poolStore"));

      SecurityManager sm = (com.eaglegenomics.simlims.core.manager.SecurityManager)context.getBean("securityManager");

      RunAlertManager ram = (RunAlertManager)context.getBean("runAlertManager");
      ram.setRequestManager(rm);
      ram.setSecurityManager(sm);
View Full Code Here

Examples of com.sun.enterprise.SecurityManager

            return;
        }

  // if ejb call EJBSecurityManager, for servlet call RealmAdapter
  if (invType  == inv.EJB_INVOCATION) {
      SecurityManager sm =
    ((Container)inv.getContainerContext()).getSecurityManager();
      sm.preInvoke(inv);
  } else if (invType == inv.SERVLET_INVOCATION){
      Realm rlm = ((Context)inv.getContainerContext()).getRealm();
      if (rlm instanceof RealmAdapter) {
    RealmAdapter rad = (RealmAdapter) rlm;
    rad.preSetRunAsIdentity(inv);
View Full Code Here

Examples of com.sun.enterprise.security.SecurityManager

  @Override
  public Container createContainer(EjbDescriptor ejbDescriptor,
                                   ClassLoader loader,
                                   DeploymentContext deployContext)
          throws Exception {
      SecurityManager sm = getSecurityManager(ejbDescriptor);
    MessageBeanContainer mdbContainer = new MessageBeanContainer
            (ejbDescriptor, loader, sm);
    return mdbContainer;
  }
View Full Code Here

Examples of com.sun.org.apache.xerces.internal.util.SecurityManager

        } else {
            if (securityManager == null) {
                securityManager = new XMLSecurityManager(true);
            }
            if (SecurityManager.class.isAssignableFrom(value.getClass())) {
                SecurityManager origSM = (SecurityManager)value;
                securityManager.setLimit(Limit.MAX_OCCUR_NODE_LIMIT, State.APIPROPERTY, origSM.getMaxOccurNodeLimit());
                securityManager.setLimit(Limit.ENTITY_EXPANSION_LIMIT, State.APIPROPERTY, origSM.getEntityExpansionLimit());
                securityManager.setLimit(Limit.ELEMENT_ATTRIBUTE_LIMIT, State.APIPROPERTY, origSM.getElementAttrLimit());
            }
            return securityManager;
        }
    }
View Full Code Here

Examples of java.lang.SecurityManager

      log.debug("End setContextClassLoader");
   }
   public void createSecurityMgr()
   {
      log.debug("createSecurityMgr");
      SecurityManager secmgr = new SecurityManager()
      {
         public void checkPermission(Permission p)
         {
         }
      };
View Full Code Here

Examples of mf.org.apache.xerces.util.SecurityManager

        addRecognizedParamsAndSetDefaults(fSchemaValidator, grammarContainer);
       
        // if the secure processing feature is set to true, add a security manager to the configuration
        Boolean secureProcessing = grammarContainer.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING);
        if (Boolean.TRUE.equals(secureProcessing)) {
            fInitSecurityManager = new SecurityManager();
        }
        else {
            fInitSecurityManager = null;
        }
        fComponents.put(SECURITY_MANAGER, fInitSecurityManager);
View Full Code Here

Examples of mf.org.apache.xerces.util.SecurityManager

        }
        else if (USE_GRAMMAR_POOL_ONLY.equals(featureId) && value != fUseGrammarPoolOnly) {
            throw new XMLConfigurationException(XMLConfigurationException.NOT_SUPPORTED, featureId);
        }
        if (XMLConstants.FEATURE_SECURE_PROCESSING.equals(featureId)) {
            setProperty(SECURITY_MANAGER, value ? new SecurityManager() : null);
            return;
        }
        fConfigUpdated = true;
        fEntityManager.setFeature(featureId, value);
        fErrorReporter.setFeature(featureId, value);
View Full Code Here

Examples of mf.org.apache.xerces.util.SecurityManager

                                         XMLGrammarPool grammarPool,
                                         XMLComponentManager parentSettings) {
        super(symbolTable, grammarPool, parentSettings);
       
        // create the SecurityManager property:
        setProperty(SECURITY_MANAGER_PROPERTY, new SecurityManager());
    } // <init>(SymbolTable,XMLGrammarPool)
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.