|
What this is
Other links
The source code
<%@ page import="com.mvnforum.auth.*" %>
<%
if (request.getParameter("logoff") != null) {
OnlineUserManager.getInstance().logout(request, response);
session.invalidate();
System.out.println(session);
response.sendRedirect("index.jsp");
return;
}
%>
<html>
<head>
<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">
</head>
<body>
<table width="100%" height="100%">
<tr>
<td>
<table width="70%" class="tborder" cellspacing="1" cellpadding="3" align="center" valign="center">
<tr>
<td class="theader" align="center">Demo Single Sign On, Realm - Welcome>
</>
<tr>
<td class="trow1" align="center">
<% String user = request.getRemoteUser();
if ( user != null ) { %>
You are logged in Realm as remote user <b><%= request.getRemoteUser() %>
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 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.