Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/java/com/finalist/cmsc/portlets
In directory
james.mmbase.org:/tmp/cvs-serv8546/portlets-login/src/java/com/finalist/cmsc/portlets
Modified Files:
LoginPortlet.java
Log Message:
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-login/src/java/com/finalist/cmsc/portlets
Index: LoginPortlet.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/java/com/finalist/cmsc/portlets/LoginPortlet.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- LoginPortlet.java 8 Feb 2008 10:36:02 -0000 1.6
+++ LoginPortlet.java 21 Feb 2008 12:51:03 -0000 1.7
@@ -1,10 +1,10 @@
/*
-This software is OSI Certified Open Source Software.
-OSI Certified is a certification mark of the Open Source Initiative.
+ This software is OSI Certified Open Source Software.
+ OSI Certified is a certification mark of the Open Source Initiative.
-The license (Mozilla version 1.0) can be read at the MMBase site.
-See http://www.MMBase.org/license
+ The license (Mozilla version 1.0) can be read at the MMBase site.
+ See http://www.MMBase.org/license
*/
package com.finalist.cmsc.portlets;
@@ -30,14 +30,13 @@
public class LoginPortlet extends CmscPortlet {
private static final String ACEGI_SECURITY_FORM_USERNAME_KEY =
"j_username";
+
private static final String ACEGI_SECURITY_FORM_PASSWORD_KEY =
"j_password";
private static final Log log = LogFactory.getLog(LoginPortlet.class);
- public void processView(ActionRequest request, ActionResponse response)
- throws PortletException, IOException {
+ public void processView(ActionRequest request, ActionResponse response)
throws PortletException, IOException {
String action = request.getParameter("action");
-
if ("login".equals(action)) {
String userName =
request.getParameter(ACEGI_SECURITY_FORM_USERNAME_KEY);
if (userName == null) {
@@ -57,15 +56,14 @@
} else if ("logout".equals(action)) {
Community.logout();
-// Unknown
+ // Unknown
} else {
log.error(String.format("Unknown action '%s'", action));
}
}
@Override
- protected void doView(RenderRequest request, RenderResponse response)
- throws PortletException, IOException {
+ protected void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException {
String template = null;
if (Community.isAuthenticated()) {
template = "login/logout.jsp";
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs