/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2007 Sun Microsystems Inc. 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
* 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 opensso/legal/CDDLv1.0.txt.
* 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]"
*
* $Id: FSSAMLServiceViewBean.java,v 1.4 2008/06/25 05:49:34 qcheng Exp $
*
*/
public class FSSAMLServiceViewBean
extends AMPrimaryMastHeadViewBean {
"tblTargetURLsColName";
/**
* Set this attribute in page session attribute whenever this profile
* is altered in secondary page, and a page is modified alert message
* box will be displayed.
*/
"iplanet-am-saml-siteid-issuername-list";
"iplanet-am-saml-post-to-target-urls";
static {
}
private boolean preInitialized = false;
/**
* Creates a personal profile service profile view bean.
*/
public FSSAMLServiceViewBean() {
super("FSSAMLService");
}
}
}
protected void initialize() {
if (!initialized) {
if (!preInitialized) {
preInitialized = true;
}
}
super.initialize();
initialized = true;
setValues();
}
}
}
protected void registerChildren() {
super.registerChildren();
ptModel.registerChildren(this);
}
} else {
}
return view;
}
throws ModelControlException {
super.beginDisplay(event);
setLabels();
resetButtonState("tblSiteIDButtonDelete");
resetButtonState("tblTargetURLsButtonDelete");
) {
"message.profile.modified");
}
}
private void setLabels() {
try {
}
} catch (IllegalArgumentException e) {
// do nothing.
// child is not a label.
}
}
}
private void setInlineHelps() {
try {
}
} catch (IllegalArgumentException e) {
// do nothing.
// child is not a help.
}
}
}
void setValues() {
if (attrValues == null) {
}
// set tables
} else {
}
}
// set other attributes
}
}
}
}
private void populateListTable(
) {
boolean firstEntry = true;
int counter = 0;
if (!firstEntry) {
} else {
firstEntry = false;
}
}
}
private void populatePipeSeparatedFormatTable(
) {
boolean firstEntry = true;
int counter = 0;
if (!firstEntry) {
} else {
firstEntry = false;
}
}
}
private void populateEditDupLink(
int counter,
) {
}
while (idx != -1) {
}
return name;
}
private void createPageTitleModel() {
ptModel = new CCPageTitleModel(
}
private void createPropertyModel() {
getRequestContext().getRequest());
// TBD: add readonly xml back
}
private void createTableModels() {
tblSiteIdModel = new CCActionTableModel(
"button.delete");
"saml.profile.siteid.table.column.instance");
"button.new");
"button.delete");
"saml.profile.targetURLs.table.column.url");
}
}
throws ModelControlException {
try {
"message.updated");
} catch (AMConsoleException e) {
try {
e.getMessage());
forwardTo();
} catch (AMConsoleException ex) {
/* exception will not be thrown because we are instructing
* AMPropertySheet to return values without doing password
* validation.
*/
}
}
}
) {
}
setValues();
forwardTo();
}
/**
* Handles cancel request.
*
* @param event Request invocation event
*/
throws ModelControlException, AMConsoleException {
backTrail();
}
/**
* Creates the label used to take the user back to the previous page
* they were viewing. The label is defined in the property file as
* "Back to {0}" which lets us control the format of the label in
* different locales. The name of the current object is substituted.
*/
"breadcrumbs.federation.authdomains")};
return MessageFormat.format(
}
throws ModelControlException, AMConsoleException {
}
throws ModelControlException, AMConsoleException {
}
}
return mapAttrValues;
}
throws ModelControlException {
try {
super.passPgSessionMap(vb);
} catch (AMConsoleException e) {
/* exception will not be thrown because we are instructing
* AMPropertySheet to return values without doing password
* validation.
*/
}
}
throws ModelControlException {
getViewBean(FSSAMLSiteIDAddViewBean.class);
}
public void handleTblSiteIDButtonDeleteRequest(
) throws ModelControlException {
try {
modifiedValues = getValues(false, false);
} catch (AMConsoleException e) {
/* exception will not be thrown because we are instructing
* AMPropertySheet to return values without doing password
* validation.
*/
}
}
setValues();
forwardTo();
}
) throws ModelControlException {
getViewBean(FSSAMLSiteIDEditViewBean.class);
"iplanetamsamlsiteidissuernamelisteditLink"));
}
public void handleTblTargetURLsButtonAddRequest(
) throws ModelControlException {
}
public void handleTblTargetURLsButtonDeleteRequest(
) throws ModelControlException {
try {
modifiedValues = getValues(false, false);
} catch (AMConsoleException e) {
/* exception will not be thrown because we are instructing
* AMPropertySheet to return values without doing password
* validation.
*/
}
}
setValues();
forwardTo();
}
public void handleIplanetamsamlposttotargeturlseditLinkRequest(
) throws ModelControlException {
"iplanetamsamlposttotargeturlseditLink"));
}
return "breadcrumbs.saml";
}
}