ssoadm.jsp revision 76ad7ecb4e4f3ca5bc014a996cebf0942b7c09c9
0N/A $Id: ssoadm.jsp,v 1.9 2010/01/20 00:46:52 veiming Exp $
0N/A<%@ page import="com.iplanet.am.util.SystemProperties" %>
0N/A<%@ page import="com.iplanet.sso.*" %>
0N/A<%@ page import="com.sun.identity.cli.*" %>
0N/A<%@ page import="com.sun.identity.shared.Constants" %>
0N/A<%@ page import="java.text.MessageFormat" %>
0N/A<%@ page import="com.sun.identity.common.DNUtils" %>
0N/A<%@ page import="com.sun.identity.idm.AMIdentity" %>
0N/A<%@ page import="com.sun.identity.idm.IdType" %>
0N/A<%@ page import="java.util.ResourceBundle" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script language="Javascript" src="js/admincli.js"></script>
<div class="SkpMedGry1"><a href="#SkipAnchor3860"><img src="com_sun_web_ui/images/other/dot.gif" alt="Jump to End of Masthead" border="0" height="1" width="1" /></a></div><div class="MstDiv">
<div class="MstDivTtl"><img name="AMConfig.configurator.ProdName" src="com_sun_web_ui/images/PrimaryProductName.png" alt="OpenAM" border="0" /></div>
<table class="SkpMedGry1" border="0" cellpadding="5" cellspacing="0" width="100%"><tr><td><img src="com_sun_web_ui/images/other/dot.gif" alt="Jump to End of Masthead" border="0" height="1" width="1" /></a></td></tr></table>
if (Boolean.parseBoolean(strDisabled)) {
SSOTokenManager manager = SSOTokenManager.getInstance();
SSOToken ssoToken = manager.createSSOToken(request);
String adminUser = SystemProperties.get(
adminUserDN = DNUtils.normalizeDN(adminUser);
IdType.USER, "/", null);
// This will be your incoming user/token.
ssoToken.getPrincipal().getName()))) &&
(!user.equals(adminUserId))) {
CLIConstants.JSP_EXIT_CODE_TAG, param));
CLIConstants.JSP_EXIT_CODE_TAG, param));