%-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. Copyright (c) 2011-2014 ForgeRock AS. All Rights Reserved The contents of this file are subject to the terms of the Common Development and Distribution License (the License). You may not use this file except in compliance with the License. You can obtain a copy of the License at http://forgerock.org/license/CDDLv1.0.html See the License for the specific language governing permission and limitations under the License. When distributing Covered Code, include this CDDL Header Notice in each file and include the License file at http://forgerock.org/license/CDDLv1.0.html If applicable, add the following below the CDDL Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyrighted [year] [name of copyright owner]" --%> <%@ page language="java" %> <%@ page import="com.iplanet.sso.SSOToken" %> <%@ page import="com.sun.identity.sm.*" %> <%@ page import="java.util.*" %>
![]() |
|
OpenAM Service Attributes In order to translate configuration changes made in OpenAM console to
To find the service attribute that corresponds to a particular GUI setting, click Expand below, and then search for the label of the GUI setting within this page. For example, suppose you changed ssoadm set-attr-defs -u amadmin -f /tmp/pwd.txt -s iPlanetAMSessionService \ -t dynamic -a "iplanet-am-session-max-session-time=240" Expand all
|
Collapse all
<% ServiceManager sm = new ServiceManager(ssoToken); Set serviceNames = sm.getServiceNames(); for (Object o : serviceNames) { String serviceName = o.toString(); out.println(" ");
out.println(" " + serviceName + " ");
out.println("");
// Assume version 1.0 (as of 2012-06 all services are version 1.0)
ServiceConfigManager scm = sm.getConfigManager(serviceName, "1.0");
Set ");
}
%>
" + schemaType + " ");
out.println("");
boolean rowAlternator = true;
for (String s : serviceAttributeNames) {
// Alternating row backgrounds
rowAlternator = !rowAlternator;
AttributeSchema as = ss.getAttributeSchema(s);
out.println(" ");
}
}
}
out.println("");
if (rowAlternator)
out.println(" ");
out.println("");
else
out.println(" ");
}
out.println("");
out.println(" ");
out.println("" + s + " ");
try {
if (as.getI18NKey() != null)
out.println("" + bundle.getString(as.getI18NKey()) + " ");
} catch (MissingResourceException mre) {
out.println("" + s + " (missing description) ");
}
try {
if (as.getI18NKey() != null)
out.println("" + bundle.getString(as.getI18NKey().concat(".help")) + " ");
} catch (MissingResourceException mre) {
}
out.println(" |