keycloak-uncached

KPR-144 Localhost:8080 should show IAM/Keycloak product

10/22/2015 1:19:05 PM

Details

diff --git a/distribution/eap6-server-dist/assembly.xml b/distribution/eap6-server-dist/assembly.xml
index 122cd36..13db2ad 100755
--- a/distribution/eap6-server-dist/assembly.xml
+++ b/distribution/eap6-server-dist/assembly.xml
@@ -42,6 +42,7 @@
                 <exclude>standalone/configuration/standalone.xml</exclude>
                 <exclude>modules/system/layers/base/org/jboss/as/product/**</exclude>
                 <exclude>bin/product.conf</exclude>
+                <exclude>welcome-content/**</exclude>
             </excludes>
         </fileSet>
         <fileSet>
@@ -65,6 +66,11 @@
             <outputDirectory>jboss-iam-1.0</outputDirectory>
             <filtered>false</filtered>
         </fileSet>
+        <fileSet>
+            <directory>src/main/resources/welcome-content</directory>
+            <outputDirectory>jboss-iam-1.0/welcome-content</outputDirectory>
+            <filtered>false</filtered>
+        </fileSet>
     </fileSets>
 
     <files>
diff --git a/distribution/eap6-server-dist/src/main/resources/welcome-content/index.html b/distribution/eap6-server-dist/src/main/resources/welcome-content/index.html
new file mode 100755
index 0000000..fc1c549
--- /dev/null
+++ b/distribution/eap6-server-dist/src/main/resources/welcome-content/index.html
@@ -0,0 +1,73 @@
+<!--
+  ~ JBoss, Home of Professional Open Source.
+  ~ Copyright (c) 2011, Red Hat, Inc., and individual contributors
+  ~ as indicated by the @author tags. See the copyright.txt file in the
+  ~ distribution for a full listing of individual contributors.
+  ~
+  ~ This is free software; you can redistribute it and/or modify it
+  ~ under the terms of the GNU Lesser General Public License as
+  ~ published by the Free Software Foundation; either version 2.1 of
+  ~ the License, or (at your option) any later version.
+  ~
+  ~ This software is distributed in the hope that it will be useful,
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+  ~ Lesser General Public License for more details.
+  ~
+  ~ You should have received a copy of the GNU Lesser General Public
+  ~ License along with this software; if not, write to the Free
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+  -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+
+    <title>Red Hat JBoss IAM</title>
+    <!-- proper charset -->
+    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
+    <link rel="stylesheet" type="text/css" href="auth/welcome-content/keycloak.css" />
+    <link rel="shortcut icon" href="auth/welcome-content/favicon.ico" />
+</head>
+
+<body>
+
+<div id="container" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px;">
+  
+  <!-- header -->
+  <div class="header-panel">
+    <div class="header-line">&nbsp;</div>
+    <div class="header-top">
+      <img class="prod-title" alt="Red Hat&reg; JBoss&reg; Identity and Access Management" src="auth/welcome-content/brand.svg"/>
+    </div>
+    <div class="header-bottom">&nbsp;</div>
+  </div>
+  
+  
+  <!-- main content -->
+  <div id="content">
+
+    <div class="section">
+
+      <h1>Welcome to Red Hat JBoss IAM</h1>
+
+      <h3>Your Red Hat JBoss Identity and Access Management is running.</h3>
+
+      <p>
+        <a href="auth/admin/">Administration Console</a> | 
+        <a href="http://www.keycloak.org/docs">Documentation</a>
+      </p>
+
+    </div>
+
+  </div>
+
+
+  <div id="footer">&nbsp;</div>
+
+</div>
+
+</body >
+</html>