You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/07/07 07:39:22 UTC
[07/17] removing billing,
payment and sso-mgt components since they are not going to use Apache
Stratos
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/SSORedirectPageFilter.java
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/SSORedirectPageFilter.java b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/SSORedirectPageFilter.java
deleted file mode 100644
index f573b5f..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/SSORedirectPageFilter.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-* WSO2 Inc. licenses this file to you under the Apache License,
-* Version 2.0 (the "License"); you may not use this file except
-* in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-package org.wso2.stratos.identity.saml2.sso.mgt.ui;
-
-import javax.servlet.Filter;
-import javax.servlet.FilterChain;
-import javax.servlet.FilterConfig;
-import javax.servlet.RequestDispatcher;
-import javax.servlet.ServletException;
-import javax.servlet.ServletRequest;
-import javax.servlet.ServletResponse;
-import javax.servlet.http.HttpServletRequest;
-import java.io.IOException;
-
-/**
- * This class is used to filter the requests coming for sso-saml/redirect_ajaxprocessor.jsp
- * and send them through stratos-sso/redirect_ajaxprocessor.jsp. The intention is to apply
- * the stratos look and feel to the redirect jsp.
- */
-public class SSORedirectPageFilter implements Filter{
-
- public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse,
- FilterChain filterChain) throws IOException, ServletException {
- if (!(servletRequest instanceof HttpServletRequest)) {
- return;
- }
- String url = ((HttpServletRequest) servletRequest).getRequestURI();
- url = url.replace("sso-saml/redirect_ajaxprocessor.jsp", "stratos-sso/redirect_ajaxprocessor.jsp");
- RequestDispatcher requestDispatcher =
- servletRequest.getRequestDispatcher(url);
- requestDispatcher.forward(servletRequest, servletResponse);
- }
-
- public void init(FilterConfig filterConfig) throws ServletException {
- // not required to implement for this class
- }
-
- public void destroy() {
- // not required to implement for this class
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/Util.java
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/Util.java b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/Util.java
deleted file mode 100644
index c8eb858..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/Util.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*
-* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-* WSO2 Inc. licenses this file to you under the Apache License,
-* Version 2.0 (the "License"); you may not use this file except
-* in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-package org.wso2.stratos.identity.saml2.sso.mgt.ui;
-
-import org.apache.axiom.om.util.Base64;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-import org.wso2.carbon.identity.core.model.SAMLSSOServiceProviderDO;
-import org.wso2.carbon.identity.sso.saml.SSOServiceProviderConfigManager;
-import org.wso2.carbon.utils.CarbonUtils;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import java.io.File;
-import java.util.Enumeration;
-
-public class Util {
- // constants used to read the config parameters from sso-idp-config.xml
- private static final String TENANT_REGISTRATION_PAGE = "TenantRegistrationPage";
- private static final String BANNER_ADDS_BASE_URL = "LoginPageBannerBaseURL";
-
- private static String loginPageBannerBaseURL;
- private static String tenantRegistrationPageURL;
-
- private static SSOServiceProviderConfigManager ssoServiceProviderConfigManager;
-
- private static Log log = LogFactory.getLog(Util.class);
-
- public static void setSsoServiceProviderConfigManager(
- SSOServiceProviderConfigManager ssoServiceProviderConfigManager) {
- Util.ssoServiceProviderConfigManager = ssoServiceProviderConfigManager;
- }
-
- /**
- * Get the Corresponding Stratos Service Name, used in * as a Service impl.
- *
- * @param requestPath request path for the custom login page JSP
- * @return Stratos Service name
- */
- public static String getStratosServiceName(String requestPath) {
- String context = calculateWebContextFromContextPath(requestPath);
- String stratosServiceName = null;
- Enumeration<SAMLSSOServiceProviderDO> serviceProviders =
- Util.ssoServiceProviderConfigManager.getAllServiceProviders();
- while (serviceProviders.hasMoreElements()) {
- SAMLSSOServiceProviderDO serviceProvider = serviceProviders.nextElement();
- if (context.equals(serviceProvider.getLoginPageURL())) {
- stratosServiceName = serviceProvider.getIssuer();
- break;
- }
- }
- return base64Encode(stratosServiceName);
- }
-
- /**
- * Read the SP info from the sso-idp-config.xml and create an array of SAMLSSOServiceProviderDO
- * beans
- *
- * @return An array of SAMLSSOServiceProviderDO beans
- */
- public static void populateLoginPageConfigParams() {
- Document document = null;
- String configFilePath = null;
- try {
- configFilePath = CarbonUtils.getCarbonConfigDirPath() + File.separator + "sso-idp-config.xml";
- DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- DocumentBuilder builder = factory.newDocumentBuilder();
- document = builder.parse(configFilePath);
- } catch (Exception e) {
- log.error("Error reading Service Providers from sso-idp-config.xml", e);
- }
-
- // read the tenant registration page URL
- Element element = document.getDocumentElement();
- NodeList tenantRegNodeSet = element.getElementsByTagName(TENANT_REGISTRATION_PAGE);
- if (tenantRegNodeSet.getLength() > 0) {
- Element elem = (Element) tenantRegNodeSet.item(0);
- tenantRegistrationPageURL = elem.getFirstChild().getNodeValue();
- } else {
- log.error("The configuration element '" + TENANT_REGISTRATION_PAGE + "' not found in '" +
- configFilePath + "'");
- }
-
- // read the base URL of the banner adds
- NodeList bannerAddBaseURLNodeSet = element.getElementsByTagName(BANNER_ADDS_BASE_URL);
- if (bannerAddBaseURLNodeSet.getLength() > 0) {
- Element elem = (Element) bannerAddBaseURLNodeSet.item(0);
- loginPageBannerBaseURL = elem.getFirstChild().getNodeValue();
- }
- }
-
- /**
- * Return the tenant registration page URL included in <TenantRegistrationPage>
- *
- * @return tenant registration page URL
- */
- public static String getTenantRegistrationPageURL() {
- return tenantRegistrationPageURL;
- }
-
- /**
- * Return the base URL for banners displayed in the login page as included in <LoginPageBannerBaseURL>
- *
- * @return base URL for banners
- */
- public static String getBannerAddsBaseURL() {
- return loginPageBannerBaseURL;
- }
-
- /**
- * calculate the CustomLoginPage parameter from the request path
- *
- * @param requestPath request path
- * @return loginPage URL
- */
- private static String calculateWebContextFromContextPath(String requestPath) {
- requestPath = requestPath.replace("//", "/");
- String subStr = requestPath.subSequence(0, requestPath.lastIndexOf("/")).toString();
- String context = requestPath.subSequence(subStr.lastIndexOf("/") + 1,
- requestPath.length()).toString();
- return context.trim();
- }
-
- private static String base64Encode(String plainTxt) {
- if (plainTxt != null) {
- return Base64.encode(plainTxt.getBytes());
- }
- return null;
- }
-
- public static String getForgetPasswordLink(){
- String registerPageURL = Util.getTenantRegistrationPageURL();
- return registerPageURL.replace("select_domain.jsp", "../admin-mgt/forgot_password.jsp");
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/internal/StratosSSOMgtUIServiceComponent.java
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/internal/StratosSSOMgtUIServiceComponent.java b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/internal/StratosSSOMgtUIServiceComponent.java
deleted file mode 100644
index 31a300d..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/java/org/wso2/stratos/identity/saml2/sso/mgt/ui/internal/StratosSSOMgtUIServiceComponent.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
-* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-* WSO2 Inc. licenses this file to you under the Apache License,
-* Version 2.0 (the "License"); you may not use this file except
-* in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-package org.wso2.stratos.identity.saml2.sso.mgt.ui.internal;
-
-import java.io.IOException;
-import java.util.Dictionary;
-import java.util.Hashtable;
-
-import javax.servlet.Filter;
-import javax.servlet.Servlet;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.osgi.service.component.ComponentContext;
-import org.wso2.carbon.identity.sso.saml.SSOServiceProviderConfigManager;
-import org.wso2.stratos.identity.saml2.sso.mgt.ui.SSOLoginPageFilter;
-import org.wso2.stratos.identity.saml2.sso.mgt.ui.SSORedirectPageFilter;
-import org.wso2.stratos.identity.saml2.sso.mgt.ui.Util;
-
-/**
- * @scr.component name="org.wso2.stratos.identity.saml2.sso.mgt.ui"
- * immediate="true"
- * @scr.reference name="identity.sso.sp.config.manager"
- * interface="org.wso2.carbon.identity.sso.saml.SSOServiceProviderConfigManager"
- * cardinality="1..1" policy="dynamic" bind="setSSOServiceProviderConfigManager" unbind="unsetSSOServiceProviderConfigManager"
- */
-
-public class StratosSSOMgtUIServiceComponent {
-
- private static Log log = LogFactory.getLog(StratosSSOMgtUIServiceComponent.class);
-
- protected void activate(ComponentContext ctxt) {
- // register a servlet filter for SSO login page
- HttpServlet loginPageRedirectorServlet = new HttpServlet() {
- protected void doGet(HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- }
- };
-
- Filter ssoLoginPageFilter = new SSOLoginPageFilter();
- Dictionary loginPageFilterAttrs = new Hashtable(2);
- Dictionary loginPageFilterParams = new Hashtable(2);
- loginPageFilterParams.put("url-pattern", "/carbon/sso-saml/login.jsp");
- loginPageFilterParams.put("associated-filter", ssoLoginPageFilter);
- loginPageFilterParams.put("servlet-attributes", loginPageFilterAttrs);
- ctxt.getBundleContext().registerService(Servlet.class.getName(),
- loginPageRedirectorServlet, loginPageFilterParams);
-
- HttpServlet redirectJSPRedirectorServlet = new HttpServlet() {
- @Override
- protected void doGet(HttpServletRequest req, HttpServletResponse resp)
- throws ServletException, IOException {
- }
- };
-
- // register a servlet filter for SSO redirect page
- Filter redirectPageFilter = new SSORedirectPageFilter();
- Dictionary redirectorPageFilterAttrs = new Hashtable(2);
- Dictionary redirectorPageFilterParams = new Hashtable(2);
- redirectorPageFilterParams.put("url-pattern", "/carbon/sso-saml/redirect_ajaxprocessor.jsp");
- redirectorPageFilterParams.put("associated-filter", redirectPageFilter);
- redirectorPageFilterParams.put("servlet-attributes", redirectorPageFilterAttrs);
- ctxt.getBundleContext().registerService(Servlet.class.getName(), redirectJSPRedirectorServlet,
- redirectorPageFilterParams);
-
- // Read the config parameters from sso-idp-config.xml
- Util.populateLoginPageConfigParams();
- }
-
- protected void deactivate(ComponentContext ctxt) {
- log.debug("SAML2 SSO Authenticator FE Bundle is deactivated ");
- }
-
- protected void setSSOServiceProviderConfigManager(
- SSOServiceProviderConfigManager configManager) {
- Util.setSsoServiceProviderConfigManager(configManager);
- if (log.isDebugEnabled()) {
- log.debug("SSOServiceProviderConfigManager is set for Stratos SAML2 SSO Management Service Component.");
- }
- }
-
- protected void unsetSSOServiceProviderConfigManager(
- SSOServiceProviderConfigManager configManager) {
- Util.setSsoServiceProviderConfigManager(null);
- if (log.isDebugEnabled()) {
- log.debug("SSOServiceProviderConfigManager is unset for Stratos SAML2 SSO Management Service Component.");
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/META-INF/component.xml b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/META-INF/component.xml
deleted file mode 100644
index 2d83745..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/META-INF/component.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<component xmlns="http://products.wso2.org/carbon">
- <menus>
- <menu>
- <id>saml_sso_auth</id>
- <i18n-key>saml.sso.menu</i18n-key>
- <i18n-bundle>org.wso2.carbon.identity.sso.saml.ui.i18n.Resources</i18n-bundle>
- <link>../sso-saml/manage_service_providers.jsp</link>
- <skip-authentication>
- <skip-link>../stratos-sso/login_ajaxprocessor.jsp</skip-link>
- <skip-link>../stratos-sso/redirect_ajaxprocessor.jsp</skip-link>
- </skip-authentication>
- </menu>
- </menus>
-</component>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/org/wso2/stratos/identity/saml2/sso/mgt/ui/i18n/Resources.properties
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/org/wso2/stratos/identity/saml2/sso/mgt/ui/i18n/Resources.properties b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/org/wso2/stratos/identity/saml2/sso/mgt/ui/i18n/Resources.properties
deleted file mode 100644
index 3c3ea7c..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/org/wso2/stratos/identity/saml2/sso/mgt/ui/i18n/Resources.properties
+++ /dev/null
@@ -1,36 +0,0 @@
-saml.sso.menu=SAML SSO
-saml.sso=SAML 2.0 based Single Sign-On
-enter.password.to.signin=Please enter your credentials to sign in to WSO2 Identity Server SAML SSO
-username=Username
-password=Password
-username.tip=(e.g. admin@example.com)
-login=Sign In
-sso.configuration=SAML SSO Configuration
-sp.issuer=Issuer
-sp.assertionConsumerURL=Assertion Consumer URL
-sp.certAlias=Certificate Alias
-saml.sso.service.providers.not.found=No SAML SSO Service Providers are found.
-saml.sso.add.service.provider=Add new Service Provider
-saml.sso.add=Add
-sp.enter.valid.endpoint.address=Please enter a valid URL for AssertionConsumerURL
-sp.enter.valid.issuer=Please enter a valid issuer
-sp.enter.valid.claimID=ClaimID field cannot be left empty
-sp.added.successfully=Service Provider Added Successfully
-error.adding.sp=Could not add Service Provider. You might be entering a duplicate Service Provider
-remove.message1=You are about to remove the trusted service provider
-remove.message2=. Do you want to proceed?
-error.removing.sp=Problem in removing the service provider
-select.subject.type=Select the value to be appeared as the subject
-select.subject.type.username=Use current username as the subject
-select.subject.type.claimid=Use a custom claim as the subject
-subject.type.claimid=Claim ID
-subject.type.namidformat=NameID Format
-logout.url=Custom Logout URL
-validate.signature=Enable Signature Validation in Authentication Requests and Logout Requests
-saml.sso.generated.key=Generated Key for Signing SAML2 based single sign-on
-saml.sso.download.pub.key=Download the public key of the generated key pair
-saml.sso.add.sp.to.genkey=Add atleast one service provider to generate a key pair
-login.fail.message=Login failed! Please recheck the username and password and try again.
-sign.in=Sign in
-sign.in.help=Sign in help
-login.fail.inactive.tenant=Your domain is not active. Please make sure you have activated the tenant.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/css/stratos-loginpage.css
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/css/stratos-loginpage.css b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/css/stratos-loginpage.css
deleted file mode 100644
index 9845a75..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/css/stratos-loginpage.css
+++ /dev/null
@@ -1,265 +0,0 @@
-body {
- color:#111111;
- font-family:"Calibri","Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms" !important;
- font-size:0.75em;
- font-size-adjust:none;
- font-style:normal;
- font-variant:normal;
- font-weight:normal;
- line-height:1.25em;
- background-image: url(../images/body-bg.gif);
- background-position: left top;
- background-repeat: repeat-x;
- margin: 0px;
- padding: 0px;
-}
-
-div.clear {
- clear:both;
-}
-p { }
-
-td { }
-
-a:link { }
-
-a:visited { }
-
-a:hover { }
-
-a:active { }
-
-div#login-content {
- background-image:url(../images/login-bg.gif);
- background-position:left top;
- background-repeat:no-repeat;
- height:277px;
- left:50%;
- margin-left:-481px;
- position:absolute;
- text-align:center;
- width:962px;
-}
-div#login-content div.main-text {
- margin-top: 113px;
- margin-left: 50px;
- float: left;
- width: 750px;
- font-size: 140%;
- line-height: 125%;
- height: 80px;
- text-align: left;
-}
-div.feature {
- float:left;
- margin-left:79px;
- margin-top:23px;
- padding-bottom:20px;
- padding-top:20px;
- text-align:left;
- width:221px;
-}
-div.feature img {
- float: left;
- margin-right: 10px;
- width: 64px;
-}
-div.feature h2 {
- margin-top: 0px;
- margin-bottom: 7px;
- color: #0499CC;
- font-size: 155%;
- line-height: 110%;
- font-weight: normal;
-
-}
-div.feature p {
- margin-top: 0px;
- padding-top: 0px;
-}
-div#login-content div.feature-left {
- margin-left: 70px;
-}
-a.register-button {
- background-image:url(../images/reg-button.gif);
- background-position:left top;
- background-repeat:no-repeat;
- color:#FFFFFF;
- cursor:pointer;
- display:block;
- font-size:220%;
- font-weight:normal;
- line-height:63px;
- margin:auto auto 5px;
- text-align:left;
- text-decoration:none;
- text-indent:25px;
- width:444px;
-}
-a.register-button:hover {
- background-image: url(../images/reg-button-hover.gif);
-}
-div.resources {
- text-align: center;
-}
-div.resources a {
- background-image:url("../images/link-icon.gif");
- background-position:right 4px;
- background-repeat:no-repeat;
- color:#004990;
- font-size:130%;
- line-height:20px;
- padding-right:15px;
- text-decoration:none;
-}
-div.resources a:hover {
- color: #000000;
-}
-table.ad {
- width: 100%;
- margin-top: 15px;
-}
-table.ad tr td {
- vertical-align: top;
- text-align: center;
-}
-td#ad {
- height:210px;
- width: 50%;
-}
-div#sign-in {
- text-align:left;
- width: 580px;
- margin: auto;
-}
-div#sign-in div.sign-in-form {
- width: 580px;
-}
-div#sign-in h2 {
- border-bottom:1px solid #78BDE8;
- font-size:130%;
- margin-bottom:10px;
- margin-top:0;
- padding-bottom:10px;
- padding-top:0;
-}
-div#sign-in table tr td.top {
- padding-top: 10px;
-}
-div#sign-in table tr td {
- padding-bottom:5px;
- padding-right:7px;
-}
-div#sign-in table {
- border-bottom:1px solid #0499CC;
- margin-bottom:7px;
-}
-div#sign-in table tr td.title {
- font-size: 180%;
- font-weight: bold;
- padding-bottom: 10px;
- padding-top: 0px;
- text-align: left;
-}
-#loginForm td label{
- font-size:12px;
-}
-div#sign-in a.help {
- font-size: 14px;
- text-decoration: none;
- color: #00447C;
-}
-td#ad iframe.ad-frame {
- border: 0px;
- width: 420px;
- height: 210px;
- margin: 0px;
- padding: 0px;
-}
-div#footer {
- margin-top: 30px;
- height: 50px;
- border-top: solid 1px #009FC2;
- padding-top: 7px;
- text-align: left;
-}
-div#footer a {
- text-decoration: none;
- color: #00447C;
-}
-div#footer div.powered {
- float: right;
- font-size: 11px;
- color: #333;
-}
-div#footer div.powered span {
- float: left;
- margin-right: 5px;
- line-height: 23px;
-}
-div#sign-in table.sign-in {
- border-bottom: 0px;
-}
-div#sign-in table tr td {
- padding-top: 10px;
- width: 290px;
-}
-div#sign-in table tbody tr td.third-party {
- border-left: dotted 1px #cccccc;
- padding: 20px;
-}
-div#sign-in table tbody tr td.third-party a img {
- border: 0px;
- margin-top: 10px;
-}
-.sign-in-box{
- -moz-border-radius: 5px;
- border-radius: 5px;
- border:solid 1px #b5dff7;
- background-color:#ebf7fd;
- padding-left:10px;
- width:800px;
- margin-left:70px;
-
- -moz-box-shadow: 0 0 3px #999;
- -webkit-box-shadow: 0 0 3px #999;
- box-shadow: 0 0 3px #999;
-}
-.sign-in-box h3{
- color:#0499cc;
- font-size:12px;
- font-weight:bold;
- padding-bottom:10px;
-}
-.sign-in-box table tr td{
- text-align:left !important;
-}
-.user_pass_table a{
- font-size:11px;
-}
-.user_pass_table td{
- padding:4px;
- text-align:left !important;
-}
-.sign-in-box div.help_txt{
- color: #666666;
- line-height:20px;
-}
-.user_pass_td{
- border-right:solid 1px #ccc;
-}
-.google-app-td{
- padding-left:10px;
- width:300px;
-}
-#loginBoxGoogle{
- margin-top:15px;
-}
-#loginBoxGoogle div.help_txt{
- font-size:11px;
-}
-h2.stratos-Signin{
- color:#0499cc;
- font-size:22px;
- line-height:30px;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/body-bg.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/body-bg.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/body-bg.gif
deleted file mode 100644
index 878c357..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/body-bg.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-01-icon.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-01-icon.gif
deleted file mode 100644
index f2cbb36..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-01-icon.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-02-icon.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-02-icon.gif
deleted file mode 100644
index 7f0482f..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-02-icon.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-03-icon.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-03-icon.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-03-icon.gif
deleted file mode 100644
index c78f9ff..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/feature-03-icon.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/google-apps-login.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/google-apps-login.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/google-apps-login.gif
deleted file mode 100644
index 6eb5c9b..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/google-apps-login.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/link-icon.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/link-icon.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/link-icon.gif
deleted file mode 100644
index 5598f59..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/link-icon.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/login-bg.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/login-bg.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/login-bg.gif
deleted file mode 100644
index 32ffb4f..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/login-bg.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/paas-login-1pix.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/paas-login-1pix.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/paas-login-1pix.gif
deleted file mode 100644
index 439f27d..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/paas-login-1pix.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/powered-logo.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/powered-logo.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/powered-logo.gif
deleted file mode 100644
index 3b4d1b5..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/powered-logo.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/reg-button-hover.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/reg-button-hover.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/reg-button-hover.gif
deleted file mode 100644
index 89f2c54..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/reg-button-hover.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/reg-button.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/reg-button.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/reg-button.gif
deleted file mode 100644
index 5d8e2e4..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/reg-button.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/stratos-login-v3_06.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/stratos-login-v3_06.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/stratos-login-v3_06.gif
deleted file mode 100644
index f2cbb36..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/images/stratos-login-v3_06.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/login_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/login_ajaxprocessor.jsp b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/login_ajaxprocessor.jsp
deleted file mode 100644
index 414be47..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-as/login_ajaxprocessor.jsp
+++ /dev/null
@@ -1,244 +0,0 @@
-<!--
-~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-~
-~ WSO2 Inc. licenses this file to you under the Apache License,
-~ Version 2.0 (the "License"); you may not use this file except
-~ in compliance with the License.
-~ You may obtain a copy of the License at
-~
-~ http://www.apache.org/licenses/LICENSE-2.0
-~
-~ Unless required by applicable law or agreed to in writing,
-~ software distributed under the License is distributed on an
-~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~ KIND, either express or implied. See the License for the
-~ specific language governing permissions and limitations
-~ under the License.
--->
-
-<%@page import="org.wso2.carbon.ui.CarbonUIMessage"%>
-<%@ page import="org.wso2.carbon.stratos.common.constants.StratosConstants" %>
-
-<%@ page import="org.wso2.carbon.identity.sso.saml.ui.SAMLSSOProviderConstants" %>
-<%@ page import="org.wso2.stratos.identity.saml2.sso.mgt.ui.Util" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar"
- prefix="carbon" %>
-
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
- <title>WSO2 Stratos Identity</title>
- <link href="../carbon/admin/css/global.css" rel="stylesheet" type="text/css" media="all"/>
- <link href="../carbon/styles/css/main.css" rel="stylesheet" type="text/css" media="all"/>
- <link media="all" type="text/css" rel="stylesheet"
- href="../carbon/stratos-as/css/stratos-loginpage.css"/>
-
- <link href="../carbon/dialog/css/jqueryui/jqueryui-themeroller.css" rel="stylesheet" type="text/css"
- media="all"/>
- <link href="../carbon/dialog/css/dialog.css" rel="stylesheet" type="text/css" media="all"/>
- <link rel="icon" href="../carbon/admin/images/favicon.ico" type="image/x-icon"/>
- <link rel="shortcut icon" href="../carbon/admin/images/favicon.ico" type="image/x-icon"/>
-
- <script type="text/javascript" src="../carbon/admin/js/jquery.js"></script>
- <script type="text/javascript" src="../carbon/admin/js/jquery.form.js"></script>
- <script type="text/javascript" src="../carbon/dialog/js/jqueryui/jquery-ui.min.js"></script>
-
- <script type="text/javascript" src="../carbon/admin/js/main.js"></script>
- <script type="text/javascript" src="../carbon/admin/js/WSRequest.js"></script>
- <script type="text/javascript" src="../carbon/admin/js/cookies.js"></script>
- <script src="../carbon/yui/build/yahoo-dom-event/yahoo-dom-event.js" type="text/javascript"></script>
- <script src="../carbon/admin/js/widgets.js" type="text/javascript"></script>
-
-</head>
-<body>
-<jsp:include page="../carbon/admin/jsp/browser_checker.jsp" />
-<div id="dcontainer"></div>
-<script type="text/javascript" src="../carbon/dialog/js/dialog.js"></script>
-<fmt:bundle basename="org.wso2.stratos.identity.saml2.sso.mgt.ui.i18n.Resources">
- <%
- String errorMessage = "login.fail.message";
- String tenantRegistrationPageURL = Util.getTenantRegistrationPageURL();
-
- if (request.getAttribute(SAMLSSOProviderConstants.AUTH_FAILURE) != null &&
- (Boolean)request.getAttribute(SAMLSSOProviderConstants.AUTH_FAILURE)) {
- if(request.getAttribute(SAMLSSOProviderConstants.AUTH_FAILURE_MSG) != null){
- errorMessage = (String) request.getAttribute(SAMLSSOProviderConstants.AUTH_FAILURE_MSG);
- }
- %>
- <script type="text/javascript">
- jQuery(document).ready(function() {
- CARBON.showWarningDialog('<fmt:message key="<%=errorMessage%>"/>');
- });
- </script>
- <%
- } else if (request.getSession().getAttribute(CarbonUIMessage.ID) !=null) {
- CarbonUIMessage carbonMsg = (CarbonUIMessage)request.getSession().getAttribute(CarbonUIMessage.ID);
- %>
-
- <script type="text/javascript">
- jQuery(document).ready(function() {
- CARBON.showErrorDialog("<%=carbonMsg.getMessage()%>");
- });
- </script>
- <%}
- %>
- <script type="text/javascript">
- function doLogin() {
- var loginForm = document.getElementById('loginForm');
- loginForm.submit();
- }
- function doRegister() {
- document.getElementById('registrationForm').submit();
- }
- </script>
- <div id="login-content">
- <div class="main-text">
- The WSO2 Application Server, supporting the development, deployment, and management of Web Services and Web applications, delivered as a multi-tenant, elastically scaling, metered platform
- </div>
- <div class="clear"></div>
- <div class="feature feature-left">
- <img src="../carbon/stratos-as/images/feature-01-icon.gif"/>
- <h2>Service Hosting</h2>
- <p>
- Service Hosting features in Application Server enables deployment of different types of Web Services. Axis2 Services, JAXWS Services, Jar Services, Spring Services.
- </p>
- </div>
- <div class="feature">
- <img src="../carbon/stratos-as/images/feature-02-icon.gif"/>
- <h2>Web Applications</h2>
- <p>
- Web Application hosting features support deployment of J2EE compliant Webapps and provides management capabilities as well.
- </p>
- </div>
- <div class="feature">
- <img src="../carbon/stratos-as/images/feature-03-icon.gif"/>
- <h2>Tools</h2>
- <p>
- Try It tool can be used as a simple Web Service client which can be used to try your services within AppServer itself.
- </p>
- </div>
- <div class="clear"></div>
- <form action="<%=tenantRegistrationPageURL%>" id="registrationForm">
- <input type="hidden" name="<%=StratosConstants.ORIGINATED_SERVICE%>"
- value=<%=Util.getStratosServiceName(request.getRequestURI())%>/>
- <a class="register-button" onclick="doRegister()">Get Started Now for FREE!</a>
- </form>
- <table class="ad">
- <tr>
- <td>
-
- <h2 class="stratos-Signin"><fmt:message key="sign.in"/></h2>
- <div class="sign-in-box">
- <table style="width:100%">
- ` <tr>
- <td class="user_pass_td">
- <h3>Login Using Username & Password</h3>
-
- <form action="../samlsso" method="post" id="loginForm">
-
- <table class="user_pass_table">
- <tr>
- <td><label for="txtUserName"><fmt:message key='username'/></label></td>
- <td><input type="text" id='username' name="username" size='30'/></td>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.ASSRTN_CONSUMER_URL %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.ASSRTN_CONSUMER_URL) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.ISSUER %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.ISSUER) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.REQ_ID %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.REQ_ID) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.SUBJECT %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.SUBJECT) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.RP_SESSION_ID %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.RP_SESSION_ID) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.ASSERTION_STR %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.ASSERTION_STR) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.RELAY_STATE %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.RELAY_STATE) %>"/>
- </tr>
- <%
- String tip = "Enter the username in the format: adminname@yourdomain, Example: foo@abc.com";
- %>
- <tr>
- <td></td>
- <td><%=tip%>
- </td>
- </tr>
- <tr>
- <td><label for="txtPassword"><fmt:message key='password'/></label></td>
- <td><input type="password" id='password' name="password" size='30'/>
- </td>
- </tr>
- <tr>
- <td></td>
- <td><input type="submit" value="<fmt:message key='login'/>"/></td>
- </tr>
-
- <tr>
- <td colspan="2"><a tabindex="4" href="../carbon/stratos-sso/docs/userguide.html" target="_blank" class="help"><fmt:message key="sign.in.help"/></a> | <a tabindex="5" class="help" href="<%=Util.getForgetPasswordLink()%>" target="_blank" class="password">Forgot Password</a></td>
- </tr>
- </table>
-
-
- </form>
- </td>
- <td class="google-app-td">
- <h3>Or login using Google Apps Account</h3>
-
- <img alt="Google App Account" style="cursor:pointer"
- src="../carbon/tenant-login/images/google-apps-login.gif"
- onclick="showHidePanel()"/>
-
- <div id="loginBoxGoogle">
- <div class="help_txt"> Enter Google App domain</div>
- <form action="../carbon/relyingparty/openid.jsp" name="googleAppLogin"
- method="POST">
- <table class="styledLeft noBorders">
- <tbody>
- <tr>
- <td><input type="text" name="gAppDomainOpenId" id="gAppDomainOpenId"
- tabindex="3" alt="example.com" value="" /></td>
- <td><input type="button" class="button" value="GO" style="background-image:none"
- onclick="document.googleAppLogin.submit()"/></td>
- </tr>
- </tbody>
- </table>
- </form>
- </div>
- <script type="text/javascript">
- function showHidePanel() {
- jQuery('#loginBoxGoogle').slideToggle("fast");
- }
- jQuery(document).ready(function() {
- jQuery('#loginBoxGoogle').hide();
- if(document.getElementById('username')!= null){
- document.getElementById('username').focus();
- }
- });
- enableDefaultText("gAppDomainOpenId");
- </script>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- <div class="clear"></div>
- <div id="footer">
- <div class="powered">
- <span>Powered by</span><img src="../carbon/stratos-as/images/powered-logo.gif" alt="WSO2 Application Server"/>
- </div>
- ©stratoslive.wso2.com copyright 2010-2012 WSO2, Inc.
- <a href="http://www.wso2.com/cloud/services/terms-of-use" target="_blank">Terms of Service</a>
- |
- <a href="http://www.wso2.com/cloud/services/privacy-policy" target="_blank">Privacy Policy</a>
- |
- <a href="http://www.wso2.com/cloud/services/support" target="_blank">Support</a>
- </div>
- </div>
-</fmt:bundle>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/css/stratos-loginpage.css
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/css/stratos-loginpage.css b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/css/stratos-loginpage.css
deleted file mode 100644
index 9845a75..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/css/stratos-loginpage.css
+++ /dev/null
@@ -1,265 +0,0 @@
-body {
- color:#111111;
- font-family:"Calibri","Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms" !important;
- font-size:0.75em;
- font-size-adjust:none;
- font-style:normal;
- font-variant:normal;
- font-weight:normal;
- line-height:1.25em;
- background-image: url(../images/body-bg.gif);
- background-position: left top;
- background-repeat: repeat-x;
- margin: 0px;
- padding: 0px;
-}
-
-div.clear {
- clear:both;
-}
-p { }
-
-td { }
-
-a:link { }
-
-a:visited { }
-
-a:hover { }
-
-a:active { }
-
-div#login-content {
- background-image:url(../images/login-bg.gif);
- background-position:left top;
- background-repeat:no-repeat;
- height:277px;
- left:50%;
- margin-left:-481px;
- position:absolute;
- text-align:center;
- width:962px;
-}
-div#login-content div.main-text {
- margin-top: 113px;
- margin-left: 50px;
- float: left;
- width: 750px;
- font-size: 140%;
- line-height: 125%;
- height: 80px;
- text-align: left;
-}
-div.feature {
- float:left;
- margin-left:79px;
- margin-top:23px;
- padding-bottom:20px;
- padding-top:20px;
- text-align:left;
- width:221px;
-}
-div.feature img {
- float: left;
- margin-right: 10px;
- width: 64px;
-}
-div.feature h2 {
- margin-top: 0px;
- margin-bottom: 7px;
- color: #0499CC;
- font-size: 155%;
- line-height: 110%;
- font-weight: normal;
-
-}
-div.feature p {
- margin-top: 0px;
- padding-top: 0px;
-}
-div#login-content div.feature-left {
- margin-left: 70px;
-}
-a.register-button {
- background-image:url(../images/reg-button.gif);
- background-position:left top;
- background-repeat:no-repeat;
- color:#FFFFFF;
- cursor:pointer;
- display:block;
- font-size:220%;
- font-weight:normal;
- line-height:63px;
- margin:auto auto 5px;
- text-align:left;
- text-decoration:none;
- text-indent:25px;
- width:444px;
-}
-a.register-button:hover {
- background-image: url(../images/reg-button-hover.gif);
-}
-div.resources {
- text-align: center;
-}
-div.resources a {
- background-image:url("../images/link-icon.gif");
- background-position:right 4px;
- background-repeat:no-repeat;
- color:#004990;
- font-size:130%;
- line-height:20px;
- padding-right:15px;
- text-decoration:none;
-}
-div.resources a:hover {
- color: #000000;
-}
-table.ad {
- width: 100%;
- margin-top: 15px;
-}
-table.ad tr td {
- vertical-align: top;
- text-align: center;
-}
-td#ad {
- height:210px;
- width: 50%;
-}
-div#sign-in {
- text-align:left;
- width: 580px;
- margin: auto;
-}
-div#sign-in div.sign-in-form {
- width: 580px;
-}
-div#sign-in h2 {
- border-bottom:1px solid #78BDE8;
- font-size:130%;
- margin-bottom:10px;
- margin-top:0;
- padding-bottom:10px;
- padding-top:0;
-}
-div#sign-in table tr td.top {
- padding-top: 10px;
-}
-div#sign-in table tr td {
- padding-bottom:5px;
- padding-right:7px;
-}
-div#sign-in table {
- border-bottom:1px solid #0499CC;
- margin-bottom:7px;
-}
-div#sign-in table tr td.title {
- font-size: 180%;
- font-weight: bold;
- padding-bottom: 10px;
- padding-top: 0px;
- text-align: left;
-}
-#loginForm td label{
- font-size:12px;
-}
-div#sign-in a.help {
- font-size: 14px;
- text-decoration: none;
- color: #00447C;
-}
-td#ad iframe.ad-frame {
- border: 0px;
- width: 420px;
- height: 210px;
- margin: 0px;
- padding: 0px;
-}
-div#footer {
- margin-top: 30px;
- height: 50px;
- border-top: solid 1px #009FC2;
- padding-top: 7px;
- text-align: left;
-}
-div#footer a {
- text-decoration: none;
- color: #00447C;
-}
-div#footer div.powered {
- float: right;
- font-size: 11px;
- color: #333;
-}
-div#footer div.powered span {
- float: left;
- margin-right: 5px;
- line-height: 23px;
-}
-div#sign-in table.sign-in {
- border-bottom: 0px;
-}
-div#sign-in table tr td {
- padding-top: 10px;
- width: 290px;
-}
-div#sign-in table tbody tr td.third-party {
- border-left: dotted 1px #cccccc;
- padding: 20px;
-}
-div#sign-in table tbody tr td.third-party a img {
- border: 0px;
- margin-top: 10px;
-}
-.sign-in-box{
- -moz-border-radius: 5px;
- border-radius: 5px;
- border:solid 1px #b5dff7;
- background-color:#ebf7fd;
- padding-left:10px;
- width:800px;
- margin-left:70px;
-
- -moz-box-shadow: 0 0 3px #999;
- -webkit-box-shadow: 0 0 3px #999;
- box-shadow: 0 0 3px #999;
-}
-.sign-in-box h3{
- color:#0499cc;
- font-size:12px;
- font-weight:bold;
- padding-bottom:10px;
-}
-.sign-in-box table tr td{
- text-align:left !important;
-}
-.user_pass_table a{
- font-size:11px;
-}
-.user_pass_table td{
- padding:4px;
- text-align:left !important;
-}
-.sign-in-box div.help_txt{
- color: #666666;
- line-height:20px;
-}
-.user_pass_td{
- border-right:solid 1px #ccc;
-}
-.google-app-td{
- padding-left:10px;
- width:300px;
-}
-#loginBoxGoogle{
- margin-top:15px;
-}
-#loginBoxGoogle div.help_txt{
- font-size:11px;
-}
-h2.stratos-Signin{
- color:#0499cc;
- font-size:22px;
- line-height:30px;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/body-bg.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/body-bg.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/body-bg.gif
deleted file mode 100644
index 31fd6a2..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/body-bg.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-01-icon.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-01-icon.gif
deleted file mode 100644
index c95f7a0..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-01-icon.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-02-icon.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-02-icon.gif
deleted file mode 100644
index e072550..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-02-icon.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-03-icon.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-03-icon.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-03-icon.gif
deleted file mode 100644
index 699e6f7..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/feature-03-icon.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/google-apps-login.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/google-apps-login.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/google-apps-login.gif
deleted file mode 100644
index 6eb5c9b..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/google-apps-login.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/link-icon.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/link-icon.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/link-icon.gif
deleted file mode 100644
index 5598f59..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/link-icon.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/login-ad.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/login-ad.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/login-ad.gif
deleted file mode 100644
index d6f1689..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/login-ad.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/login-bg.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/login-bg.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/login-bg.gif
deleted file mode 100644
index 5708d20..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/login-bg.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/paas-login-1pix-1.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/paas-login-1pix-1.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/paas-login-1pix-1.gif
deleted file mode 100644
index 439f27d..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/paas-login-1pix-1.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/powered-logo.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/powered-logo.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/powered-logo.gif
deleted file mode 100644
index 5f987a0..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/powered-logo.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/reg-button-hover.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/reg-button-hover.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/reg-button-hover.gif
deleted file mode 100644
index 89f2c54..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/reg-button-hover.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/reg-button.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/reg-button.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/reg-button.gif
deleted file mode 100644
index 5d8e2e4..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/reg-button.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/stratos-login-v3_06.gif
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/stratos-login-v3_06.gif b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/stratos-login-v3_06.gif
deleted file mode 100644
index 4599c0d..0000000
Binary files a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/images/stratos-login-v3_06.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/45ae532f/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/login_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/login_ajaxprocessor.jsp b/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/login_ajaxprocessor.jsp
deleted file mode 100644
index 450c76a..0000000
--- a/components/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui/2.1.0/src/main/resources/web/stratos-bam/login_ajaxprocessor.jsp
+++ /dev/null
@@ -1,244 +0,0 @@
-<!--
-~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-~
-~ WSO2 Inc. licenses this file to you under the Apache License,
-~ Version 2.0 (the "License"); you may not use this file except
-~ in compliance with the License.
-~ You may obtain a copy of the License at
-~
-~ http://www.apache.org/licenses/LICENSE-2.0
-~
-~ Unless required by applicable law or agreed to in writing,
-~ software distributed under the License is distributed on an
-~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~ KIND, either express or implied. See the License for the
-~ specific language governing permissions and limitations
-~ under the License.
--->
-
-<%@page import="org.wso2.carbon.ui.CarbonUIMessage"%>
-<%@ page import="org.wso2.carbon.stratos.common.constants.StratosConstants" %>
-
-<%@ page import="org.wso2.carbon.identity.sso.saml.ui.SAMLSSOProviderConstants" %>
-<%@ page import="org.wso2.stratos.identity.saml2.sso.mgt.ui.Util" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar"
- prefix="carbon" %>
-
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
- <title>WSO2 Stratos Identity</title>
- <link href="../carbon/admin/css/global.css" rel="stylesheet" type="text/css" media="all"/>
- <link href="../carbon/styles/css/main.css" rel="stylesheet" type="text/css" media="all"/>
- <link media="all" type="text/css" rel="stylesheet"
- href="../carbon/stratos-bam/css/stratos-loginpage.css"/>
-
- <link href="../carbon/dialog/css/jqueryui/jqueryui-themeroller.css" rel="stylesheet" type="text/css"
- media="all"/>
- <link href="../carbon/dialog/css/dialog.css" rel="stylesheet" type="text/css" media="all"/>
- <link rel="icon" href="../carbon/admin/images/favicon.ico" type="image/x-icon"/>
- <link rel="shortcut icon" href="../carbon/admin/images/favicon.ico" type="image/x-icon"/>
-
- <script type="text/javascript" src="../carbon/admin/js/jquery.js"></script>
- <script type="text/javascript" src="../carbon/admin/js/jquery.form.js"></script>
- <script type="text/javascript" src="../carbon/dialog/js/jqueryui/jquery-ui.min.js"></script>
-
- <script type="text/javascript" src="../carbon/admin/js/main.js"></script>
- <script type="text/javascript" src="../carbon/admin/js/WSRequest.js"></script>
- <script type="text/javascript" src="../carbon/admin/js/cookies.js"></script>
- <script src="../carbon/yui/build/yahoo-dom-event/yahoo-dom-event.js" type="text/javascript"></script>
- <script src="../carbon/admin/js/widgets.js" type="text/javascript"></script>
-
-</head>
-<body>
-<jsp:include page="../carbon/admin/jsp/browser_checker.jsp" />
-<div id="dcontainer"></div>
-<script type="text/javascript" src="../carbon/dialog/js/dialog.js"></script>
-<fmt:bundle basename="org.wso2.stratos.identity.saml2.sso.mgt.ui.i18n.Resources">
- <%
- String errorMessage = "login.fail.message";
- String tenantRegistrationPageURL = Util.getTenantRegistrationPageURL();
-
- if (request.getAttribute(SAMLSSOProviderConstants.AUTH_FAILURE) != null &&
- (Boolean)request.getAttribute(SAMLSSOProviderConstants.AUTH_FAILURE)) {
- if(request.getAttribute(SAMLSSOProviderConstants.AUTH_FAILURE_MSG) != null){
- errorMessage = (String) request.getAttribute(SAMLSSOProviderConstants.AUTH_FAILURE_MSG);
- }
- %>
- <script type="text/javascript">
- jQuery(document).ready(function() {
- CARBON.showWarningDialog('<fmt:message key="<%=errorMessage%>"/>');
- });
- </script>
- <%
- } else if (request.getSession().getAttribute(CarbonUIMessage.ID) !=null) {
- CarbonUIMessage carbonMsg = (CarbonUIMessage)request.getSession().getAttribute(CarbonUIMessage.ID);
- %>
-
- <script type="text/javascript">
- jQuery(document).ready(function() {
- CARBON.showErrorDialog("<%=carbonMsg.getMessage()%>");
- });
- </script>
- <%}
- %>
- <script type="text/javascript">
- function doLogin() {
- var loginForm = document.getElementById('loginForm');
- loginForm.submit();
- }
- function doRegister() {
- document.getElementById('registrationForm').submit();
- }
- </script>
- <div id="login-content">
- <div class="main-text">
- The WSO2 Business Activity Monitor, which collects, stores, summarizes, and visualizes the activities in an SOA, delivered as a multi-tenant, elastically scaling, metered platform
- </div>
- <div class="clear"></div>
- <div class="feature feature-left">
- <img src="../carbon/stratos-bam/images/feature-01-icon.gif"/>
- <h2>Services Monitoring & Analytics</h2>
- <p>
- Monitor services and their operations in real time and analyze the trends over time with the help of visualization framework.
- </p>
- </div>
- <div class="feature">
- <img src="../carbon/stratos-bam/images/feature-02-icon.gif"/>
- <h2>Mediation Moinitoring & Analytics</h2>
- <p>
- Monitor proxy services, endpoints, and sequences. Analyze the historical mediation trends over time to help make both business and IT decisions to fine tune SOA deployment.
- </p>
- </div>
- <div class="feature">
- <img src="../carbon/stratos-bam/images/feature-03-icon.gif"/>
- <h2>Activity Correlation & Monitoring</h2>
- <p>
- Monitor and correlate related business activities across multiple server instances to track and verify the smooth execution of business activities.
- </p>
- </div>
- <div class="clear"></div>
- <form action="<%=tenantRegistrationPageURL%>" id="registrationForm">
- <input type="hidden" name="<%=StratosConstants.ORIGINATED_SERVICE%>"
- value=<%=Util.getStratosServiceName(request.getRequestURI())%>/>
- <a class="register-button" onclick="doRegister()">Get Started Now for FREE!</a>
- </form>
- <table class="ad">
- <tr>
- <td>
-
- <h2 class="stratos-Signin"><fmt:message key="sign.in"/></h2>
- <div class="sign-in-box">
- <table style="width:100%">
- ` <tr>
- <td class="user_pass_td">
- <h3>Login Using Username & Password</h3>
-
- <form action="../samlsso" method="post" id="loginForm">
-
- <table class="user_pass_table">
- <tr>
- <td><label for="txtUserName"><fmt:message key='username'/></label></td>
- <td><input type="text" id='username' name="username" size='30'/></td>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.ASSRTN_CONSUMER_URL %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.ASSRTN_CONSUMER_URL) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.ISSUER %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.ISSUER) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.REQ_ID %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.REQ_ID) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.SUBJECT %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.SUBJECT) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.RP_SESSION_ID %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.RP_SESSION_ID) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.ASSERTION_STR %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.ASSERTION_STR) %>"/>
- <input type="hidden" name="<%= SAMLSSOProviderConstants.RELAY_STATE %>"
- value="<%= request.getAttribute(SAMLSSOProviderConstants.RELAY_STATE) %>"/>
- </tr>
- <%
- String tip = "Enter the username in the format: adminname@yourdomain. Example: foo@abc.com";
- %>
- <tr>
- <td></td>
- <td><%=tip%>
- </td>
- </tr>
- <tr>
- <td><label for="txtPassword"><fmt:message key='password'/></label></td>
- <td><input type="password" id='password' name="password" size='30'/>
- </td>
- </tr>
- <tr>
- <td></td>
- <td><input type="submit" value="<fmt:message key='login'/>"/></td>
- </tr>
-
- <tr>
- <td colspan="2"><a tabindex="4" href="../carbon/stratos-sso/docs/userguide.html" target="_blank" class="help"><fmt:message key="sign.in.help"/></a> | <a tabindex="5" class="help" href="<%=Util.getForgetPasswordLink()%>" target="_blank" class="password">Forgot Password</a></td>
- </tr>
- </table>
-
-
- </form>
- </td>
- <td class="google-app-td">
- <h3>Or login using Google Apps Account</h3>
-
- <img alt="Google App Account" style="cursor:pointer"
- src="../carbon/tenant-login/images/google-apps-login.gif"
- onclick="showHidePanel()"/>
-
- <div id="loginBoxGoogle">
- <div class="help_txt"> Enter Google App domain</div>
- <form action="../carbon/relyingparty/openid.jsp" name="googleAppLogin"
- method="POST">
- <table class="styledLeft noBorders">
- <tbody>
- <tr>
- <td><input type="text" name="gAppDomainOpenId" id="gAppDomainOpenId"
- tabindex="3" alt="example.com" value="" /></td>
- <td><input type="button" class="button" value="GO" style="background-image:none"
- onclick="document.googleAppLogin.submit()"/></td>
- </tr>
- </tbody>
- </table>
- </form>
- </div>
- <script type="text/javascript">
- function showHidePanel() {
- jQuery('#loginBoxGoogle').slideToggle("fast");
- }
- jQuery(document).ready(function() {
- jQuery('#loginBoxGoogle').hide();
- if(document.getElementById('username')!= null){
- document.getElementById('username').focus();
- }
- });
- enableDefaultText("gAppDomainOpenId");
- </script>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- <div class="clear"></div>
- <div id="footer">
- <div class="powered">
- <span>Powered by</span><img src="../carbon/stratos-bam/images/powered-logo.gif" alt="WSO2 Business Activity Monitor"/>
- </div>
- ©stratoslive.wso2.com copyright 2010-2012 WSO2, Inc.
- <a href="http://www.wso2.com/cloud/services/terms-of-use" target="_blank">Terms of Service</a>
- |
- <a href="http://www.wso2.com/cloud/services/privacy-policy" target="_blank">Privacy Policy</a>
- |
- <a href="http://www.wso2.com/cloud/services/support" target="_blank">Support</a>
- </div>
- </div>
-</fmt:bundle>
-</body>
-</html>