Package org.jboss.system.server

Examples of org.jboss.system.server.ServerConfigImplMBean


    */
   private void validateAuthConfigURL(String url) throws Exception
   {
      String msg = "AuthConfig is defaulting to conf/login-config.xml. " +
            "Please check your archive.";
      ServerConfigImplMBean mb = null;
      try
      {
         mb = (ServerConfigImplMBean)MBeanProxy.get(ServerConfigImplMBean.class,
               ServerConfigImplMBean.OBJECT_NAME, server);
         URL serverConfigURL = mb.getServerConfigURL();
         if(url.equalsIgnoreCase(serverConfigURL.toExternalForm() + "login-config.xml"))
            throw new IllegalStateException(msg);
      }
      finally
      {
View Full Code Here


/*     */   private void validateAuthConfigURL(String url)
/*     */     throws Exception
/*     */   {
/* 264 */     String msg = "AuthConfig is defaulting to conf/login-config.xml. Please check your archive.";
/*     */
/* 266 */     ServerConfigImplMBean mb = null;
/*     */     try
/*     */     {
/* 269 */       mb = (ServerConfigImplMBean)MBeanProxy.get(ServerConfigImplMBean.class, ServerConfigImplMBean.OBJECT_NAME, this.server);
/*     */
/* 271 */       URL serverConfigURL = mb.getServerConfigURL();
/* 272 */       if (url.equalsIgnoreCase(serverConfigURL.toExternalForm() + "login-config.xml")) {
/* 273 */         throw new IllegalStateException(msg);
/*     */       }
/*     */     }
/*     */     finally
View Full Code Here

    */
   private void validateAuthConfigURL(String url) throws Exception
   {
      String msg = "AuthConfig is defaulting to conf/login-config.xml. " +
            "Please check your archive.";
      ServerConfigImplMBean mb = null;
      try
      {
         mb = (ServerConfigImplMBean)MBeanProxy.get(ServerConfigImplMBean.class,
               ServerConfigImplMBean.OBJECT_NAME, server);
         URL serverConfigURL = mb.getServerConfigURL();
         if(url.equalsIgnoreCase(serverConfigURL.toExternalForm() + "login-config.xml"))
            throw new IllegalStateException(msg);
      }
      finally
      {
View Full Code Here

TOP

Related Classes of org.jboss.system.server.ServerConfigImplMBean

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.