home | career | drupal | java | mac | mysql | perl | scala | uml | unix  
</tr> <% String user = request.getRemoteUser(); if ( user != null ) { %> <tr class="trow1"> <td align="center" colspan="2"> You are logged in Realm as user "<b><%=user%>".
You want to log in again with new account ? </td> </tr> <% } %> <tr class="trow2"> <td>Username: <td> </tr> <tr class="trow1"> <td>Password: <td> </tr> <tr class="trowfinal"> <td colspan="2" align="center"> <input type="submit" value="Log In" class="mainoption">  <input type="reset">
<% if (request.getRemoteUser() == null) { %> <a href="<%=request.getContextPath()%>" class="command">Enter MVNForum without login (I will login later) <% } else { %> <a href="<%=request.getContextPath()%>" class="command">Enter MVNForum <% } %> </td> </tr> </table> </td> </tr> </table> </form> </body> </html>

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

  <title>MVNForum Demo Single Sign On, Realm - Login
  <link href="<%=response.encodeURL(request.getContextPath() + "/mvnplugin/mvnforum/css/style.css")%>" rel="stylesheet" type="text/css">
<form method="POST" action='<%= response.encodeURL("j_security_check") %>' >
<table width="100%" height="100%">
      <table width="70%" class="tborder" cellspacing="1" cellpadding="3" align="center" valign="center">
          <td class="theader" colspan="2" align="left">MVNForum Demo Single Sign On, Realm - Login

my book on functional programming


new blog posts


Copyright 1998-2019 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.