Package com.sun.enterprise.admin.common

Examples of com.sun.enterprise.admin.common.InitConfFileBean


            String pwdFileName = env.getSecurityPasswordsFilePath();
            File pwdFile = new File(pwdFileName);
            if(pwdFile.exists())
                return null;
            //now test the security attribute in init.conf file in "live" directory
            InitConfFileBean conf = new InitConfFileBean();
            conf.initialise(mInstanceName, false);
            String security = conf.get_mag_var(InitConfFileBean.INITCONF_SECURITY_ATTRIBUTE);
            if(security.equalsIgnoreCase(InitConfFileBean.INITCONF_VALUE_ON))
            {
                InstanceDefinition instance = new InstanceDefinition(mInstanceName,
                        mHostAndPort.getPort());
                return ServerManager.instance().getSecurityTokensForInstance(instance);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.common.InitConfFileBean

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.