Package railo.runtime.listener

Examples of railo.runtime.listener.ModernApplicationContext


      password=password.trim();
    }
    else {
      ApplicationContext ac = pc.getApplicationContext();
      if(ac instanceof ModernApplicationContext) {
        ModernApplicationContext mac=(ModernApplicationContext) ac;
        password = Caster.toString(mac.getCustom(KeyImpl.init("webAdminPassword")),null);
      }
    }
    if(StringUtil.isEmpty(password, true))
      throw new SecurityException("To manipulate a REST mapping you need to define the password for the current Web Administartor, " +
          "you can do this as argument with this function or inside the application.cfc with the variable [this.webAdminPassword].");
View Full Code Here

TOP

Related Classes of railo.runtime.listener.ModernApplicationContext

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.