/**
* 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: IDFFSPViewBean.java,v 1.12 2008/10/24 00:11:59 asyhuang Exp $
*
*/
public class IDFFSPViewBean
extends IDFFViewBeanBase {
"tblAuthenticationContext";
"tblColContextReference";
"tblDataContextReference";
public IDFFSPViewBean() {
super("IDFFSP");
}
protected void registerChildren() {
super.registerChildren();
if (isHosted()) {
AMTableTiledView.class);
}
}
this, tblAuthContextsModel, name);
} else {
}
return view;
}
throws ModelControlException {
super.beginDisplay(event);
if (isHosted()) {
try {
} catch (AMConsoleException e) {
e.getMessage());
}
}
}
// We know that names from model contains 10 elements
for (int i = 0; i < sz; i++) {
}
}
private void populateAuthenticationContext(
int index) {
if (index != 0) {
}
if (authContexts != null) {
}
if (c == null) {
} else {
}
}
}
try {
location));
} catch (AMConsoleException e) {
e.getMessage());
}
}
}
protected void createPropertyModel() {
if (isHosted()) {
psModel = new AMPropertySheetModel(
} else {
psModel = new AMPropertySheetModel(
}
}
private void createAuthContextsModel() {
"idff.sp.authenticationContext.table.name.supported.name");
"idff.sp.authenticationContext.table.name.contextReference.name");
"idff.sp.authenticationContext.table.name.level.name");
}
throws ModelControlException {
int size = 10;
for (int i = 0; i < size; i++) {
}
return authContexts;
}
/**
* Handles save
*
* @param event Request invocation event
*/
throws ModelControlException {
try {
// update standard metadata and extended metadata
false,
model);
false,
model);
isHosted());
if (isHosted()) {
// update Authentication Contexts
}
"message.information",
"idff.entityDescriptor.provider.sp.updated");
} catch (AMConsoleException e) {
e.getMessage());
}
forwardTo();
}
}