portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/applications/security/src/webapp/WEB-INF/security/login login.jsp
Date Fri, 21 May 2004 18:38:38 GMT
taylor      2004/05/21 11:38:38

  Modified:    applications/security/src/webapp/WEB-INF/security/login
                        login.jsp
  Log:
  make ascii
  
  Revision  Changes    Path
  1.3       +41 -41    jakarta-jetspeed-2/applications/security/src/webapp/WEB-INF/security/login/login.jsp
  
  Index: login.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/security/src/webapp/WEB-INF/security/login/login.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- login.jsp	13 May 2004 22:56:05 -0000	1.2
  +++ login.jsp	21 May 2004 18:38:38 -0000	1.3
  @@ -1,41 +1,41 @@
  -<%--
  -Copyright 2004 The Apache Software Foundation
  -
  -Licensed 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.apache.jetspeed.login.LoginConstants" %>
  -<html>
  -  <title>Login</title>
  -  <body>
  -  <% if ( request.getUserPrincipal() != null )
  -  		{ %>
  -  	Welcome <%= request.getUserPrincipal().getName() %> <br>
  -  	<a href='<%= response.encodeURL(request.getContextPath()+"/login/logout") %>'>Logout</a>
  -  <% 	}
  -    	else
  -			{
  -					Integer retryCount = (Integer)request.getSession().getAttribute(LoginConstants.RETRYCOUNT);
  -					if ( retryCount != null )
  -					{ %>
  -		<br><i>Invalid username or password (<%=retryCount%>)</i><br>
  -		   <% } %>
  -		<form method="POST" action='<%= response.encodeURL(request.getContextPath()+"/login/proxy")%>'>
  -      Username <input type="text" size="15" name="<%=LoginConstants.USERNAME%>">
  -      <br>
  -      Password <input type="password" size="15" name="<%=LoginConstants.PASSWORD%>">
  -      <input type="submit" value="Login">
  -    </form>
  -  <% } %>
  -  </body>
  -</html>
  -
  +<%--
  +Copyright 2004 The Apache Software Foundation
  +
  +Licensed 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.apache.jetspeed.login.LoginConstants" %>
  +<html>
  +  <title>Login</title>
  +  <body>
  +  <% if ( request.getUserPrincipal() != null )
  +  		{ %>
  +  	Welcome <%= request.getUserPrincipal().getName() %> <br>
  +  	<a href='<%= response.encodeURL(request.getContextPath()+"/login/logout") %>'>Logout</a>
  +  <% 	}
  +    	else
  +			{
  +					Integer retryCount = (Integer)request.getSession().getAttribute(LoginConstants.RETRYCOUNT);
  +					if ( retryCount != null )
  +					{ %>
  +		<br><i>Invalid username or password (<%=retryCount%>)</i><br>
  +		   <% } %>
  +		<form method="POST" action='<%= response.encodeURL(request.getContextPath()+"/login/proxy")%>'>
  +      Username <input type="text" size="15" name="<%=LoginConstants.USERNAME%>">
  +      <br>
  +      Password <input type="password" size="15" name="<%=LoginConstants.PASSWORD%>">
  +      <input type="submit" value="Login">
  +    </form>
  +  <% } %>
  +  </body>
  +</html>
  +
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message