Package com.sun.enterprise

Examples of com.sun.enterprise.ServerConfiguration


   
    private static ClientSecurityContext generateDefaultSecurityContext() {
  final String PRINCIPAL_NAME = "auth.default.principal.name";
  final String PRINCIPAL_PASS = "auth.default.principal.password";
 
  ServerConfiguration config = ServerConfiguration.getConfiguration();
  String username = config.getProperty(PRINCIPAL_NAME, "guest");
  String password = config.getProperty(PRINCIPAL_PASS, "guest123");
 
        synchronized (ClientSecurityContext.class) {
            // login & all that stuff..
            try {
                final Subject subject = new Subject();
View Full Code Here

TOP

Related Classes of com.sun.enterprise.ServerConfiguration

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.