\ No newline at end of file
diff --git a/war/src/main/webapp/login/jsp/login.jsp b/war/src/main/webapp/login/jsp/login.jsp
new file mode 100644
index 0000000..3f4a4db
--- /dev/null
+++ b/war/src/main/webapp/login/jsp/login.jsp
@@ -0,0 +1,187 @@
+<%--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ 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.
+
+--%>
+
+<%@ page import="java.net.URLEncoder"%>
+<%@ page import="javax.servlet.http.Cookie"%>
+<%@ page import="org.exoplatform.web.login.LoginError"%>
+<%@ page import="org.exoplatform.container.PortalContainer"%>
+<%@ page import="org.exoplatform.services.resources.ResourceBundleService"%>
+<%@ page import="org.gatein.security.oauth.spi.OAuthProviderType"%>
+<%@ page import="org.gatein.security.oauth.spi.OAuthProviderTypeRegistry"%>
+<%@ page import="java.util.ResourceBundle"%>
+<%@ page import="org.gatein.common.text.EntityEncoder"%>
+<%@ page language="java"%>
+<%
+ String contextPath = request.getContextPath() ;
+
+ String username = request.getParameter("username");
+ if(username == null) {
+ username = "";
+ } else {
+ EntityEncoder encoder = EntityEncoder.FULL;
+ username = encoder.encode(username);
+ }
+
+ PortalContainer portalContainer = PortalContainer.getCurrentInstance(session.getServletContext());
+ ResourceBundleService service = (ResourceBundleService) portalContainer.getComponentInstanceOfType(ResourceBundleService.class);
+ ResourceBundle res = service.getResourceBundle(service.getSharedResourceBundleNames(), request.getLocale()) ;
+
+ OAuthProviderTypeRegistry registry = (OAuthProviderTypeRegistry) portalContainer.getComponentInstanceOfType(OAuthProviderTypeRegistry.class);
+
+ Cookie cookie = new Cookie(org.exoplatform.web.login.LoginServlet.COOKIE_NAME, "");
+ cookie.setPath(request.getContextPath());
+ cookie.setMaxAge(0);
+ response.addCookie(cookie);
+
+ String uri = (String)request.getAttribute("org.gatein.portal.login.initial_uri");
+ boolean error = request.getAttribute("org.gatein.portal.login.error") != null;
+ String errorParam = (String)request.getParameter(org.exoplatform.web.login.LoginError.ERROR_PARAM);
+ LoginError errorData = null;
+ if (errorParam != null) {
+ errorData = LoginError.parse(errorParam);
+ }
+
+ response.setCharacterEncoding("UTF-8");
+ response.setContentType("text/html; charset=UTF-8");
+%>
+
+
+
+
+ <%=res.getString("UILoginForm.label.Signin")%>
+
+
+
+
+
+
+
+
+
+
+
+