PageRenderTime 38ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/apps/foundation/login/login-web/src/main/java/com/liferay/login/web/internal/portlet/FastLoginPortlet.java

http://github.com/liferay/liferay-portal
Java | 54 lines | 33 code | 5 blank | 16 comment | 0 complexity | 3be780fbf217b94f14b0a0aaead1f87c MD5 | raw file
Possible License(s): LGPL-2.0
  1. /**
  2. * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
  3. *
  4. * This library is free software; you can redistribute it and/or modify it under
  5. * the terms of the GNU Lesser General Public License as published by the Free
  6. * Software Foundation; either version 2.1 of the License, or (at your option)
  7. * any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  11. * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
  12. * details.
  13. */
  14. package com.liferay.login.web.internal.portlet;
  15. import com.liferay.login.web.constants.LoginPortletKeys;
  16. import com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet;
  17. import javax.portlet.Portlet;
  18. import org.osgi.service.component.annotations.Component;
  19. /**
  20. * @author Peter Fellwock
  21. */
  22. @Component(
  23. immediate = true,
  24. property = {
  25. "com.liferay.portlet.add-default-resource=true",
  26. "com.liferay.portlet.css-class-wrapper=portlet-login",
  27. "com.liferay.portlet.display-category=category.hidden",
  28. "com.liferay.portlet.icon=/icons/login.png",
  29. "com.liferay.portlet.preferences-owned-by-group=true",
  30. "com.liferay.portlet.private-request-attributes=false",
  31. "com.liferay.portlet.private-session-attributes=false",
  32. "com.liferay.portlet.render-weight=50",
  33. "com.liferay.portlet.struts-path=plugins_admin",
  34. "com.liferay.portlet.use-default-template=true",
  35. "javax.portlet.display-name=Fast Sign In",
  36. "javax.portlet.expiration-cache=0",
  37. "javax.portlet.init-param.add-process-action-success-action=false",
  38. "javax.portlet.init-param.config-template=/configuration.jsp",
  39. "javax.portlet.init-param.template-path=/",
  40. "javax.portlet.init-param.view-template=/login.jsp",
  41. "javax.portlet.name=" + LoginPortletKeys.FAST_LOGIN,
  42. "javax.portlet.resource-bundle=content.Language",
  43. "javax.portlet.security-role-ref=guest,power-user,user",
  44. "javax.portlet.supports.mime-type=text/html"
  45. },
  46. service = Portlet.class
  47. )
  48. public class FastLoginPortlet extends MVCPortlet {
  49. }