| career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

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

Other links

The source code

<%@ page import="com.mvnforum.auth.*" %>
if (request.getParameter("logoff") != null) {
  OnlineUserManager.getInstance().logout(request, response);
  <title>MVNForum Demo Single Sign On, Realm - Welcome Message
  <link href="<%=response.encodeURL(request.getContextPath() + "/mvnplugin/mvnforum/css/style.css")%>" rel="stylesheet" type="text/css">
<table width="100%" height="100%">
      <table width="70%" class="tborder" cellspacing="1"  cellpadding="3" align="center" valign="center">
          <td class="theader" align="center">Demo Single Sign On, Realm - Welcome
          <td class="trow1" align="center">
          <% String user = request.getRemoteUser();
             if ( user != null ) { %>
              You are logged in Realm as remote user <b><%= request.getRemoteUser() %>
From here, you can access any pages belongs to MVNForum without any password more<br/> These is web-based applications belong to system you can access. Have fun!! <br/> <a class="command" href="<%= response.encodeURL(request.getContextPath()) %>">Enter MVNForum    <a class="command" href="<%= response.encodeURL("index.jsp?logoff=true")%>">Logout <% } else { %> You are viewing this page with a Realm user is null. It is very likely that you have not config Realm correctly in the web.xml <% } %> </td> </tr> </table> </td> </tr> </table> </body> </html>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller


new blog posts


Copyright 1998-2021 Alvin Alexander,
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.