SAMLv2SPAdvancedViewBean.java revision 4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1c
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008 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: SAMLv2SPAdvancedViewBean.java,v 1.6 2008/12/11 18:52:23 babysunil Exp $
*
*/
public class SAMLv2SPAdvancedViewBean extends SAMLv2Base {
public static final String DEFAULT_DISPLAY_URL =
public SAMLv2SPAdvancedViewBean() {
super("SAMLv2SPAdvanced");
}
throws ModelControlException {
super.beginDisplay(event);
//only an ecp attribute from std
}
protected void createPropertyModel() {
if (isHosted()) {
psModel = new AMPropertySheetModel(
} else {
psModel = new AMPropertySheetModel(
}
}
throws ModelControlException {
try {
//retrieve the standard metadata values from the property sheet
//save the standard metadata values for the Idp
acsList);
//retrieve the extended metadata values from the property sheet
//save the extended metadata values for the Idp
location);
"samlv2.sp.property.updated");
} catch (AMConsoleException e) {
e.getMessage());
}
forwardTo();
}
private Map getStandardValues() {
try {
//gets standard metadata values
realm, entityName);
} catch (AMConsoleException e) {
e.getMessage() );
}
return map;
}
private Map getExtendedValues() {
try {
//gets extended metadata values
realm, entityName);
//the list of values is converted to a set
}
} catch (AMConsoleException e) {
e.getMessage() );
}
return extendedValues;
}
}