Package org.fcrepo.server.security

Examples of org.fcrepo.server.security.BESecurityConfig


    try {
      pwriter = new PrintWriter(new FileOutputStream(beSecurity));
    } catch (FileNotFoundException e) {
      throw new InstallationFailedException(e.getMessage(), e);
    }
    BESecurityConfig becfg = new BESecurityConfig();

    becfg.setDefaultConfig(new DefaultRoleConfig());
    becfg.setInternalBasicAuth(new Boolean(apiaAuth));
    becfg.setInternalIPList(ipList);
    becfg.setInternalPassword("changeme");
    becfg.setInternalSSL(new Boolean(apiaSSL));
    becfg.setInternalUsername("fedoraIntCallUser");
    becfg.write(true, true, pwriter);
    pwriter.close();
  }
View Full Code Here

TOP

Related Classes of org.fcrepo.server.security.BESecurityConfig

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.