SecurityTokenServiceViewBean.java revision 4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1c
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2009 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: SecurityTokenServiceViewBean.java,v 1.6 2009/12/19 02:17:03 asyhuang Exp $
*
*/
public class SecurityTokenServiceViewBean
extends AMServiceProfileViewBeanBase {
public static final String DEFAULT_DISPLAY_URL =
protected static final String PROPERTIES =
"propertyAttributes";
private static final String AUTHENTICATION_CHAIN =
"AuthenticationChain";
/**
* Creates a authentication domains view bean.
*/
public SecurityTokenServiceViewBean() {
super("SecurityTokenService",
"sunFAMSTSService");
}
protected void initialize() {
if (!initialized) {
super.initialize();
initialized = true;
}
}
protected void registerChildren() {
super.registerChildren();
}
return super.createChild(name);
}
throws ModelControlException {
try {
super.beginDisplay(event);
if (authChains == null) {
authChains = "";
}
if (!isInlineAlertMessageSet()) {
"message.profile.modified");
}
}
} catch (AMConsoleException ex) {
ex.getMessage());
}
}
String isrequestencrypted = ((set != null) && !set.isEmpty()) ? (String) set.iterator().next() : "";
String isRequestHeaderEncrypt = ((set != null) && !set.isEmpty()) ? (String) set.iterator().next() : "";
if (((isrequestencrypted != null) && (isrequestencrypted.equals("true"))) || ((isRequestHeaderEncrypt != null) && (isRequestHeaderEncrypt.equals("true")))) {
}
}
} else {
}
}
}
}
}
}
}
}
}
private OptionList getAuthChainOptionList()
throws AMConsoleException {
}
}
return optList;
}
}
protected void createPageTitleModel() {
}
protected AMModel getModelInternal() {
try {
return new SecurityTokenServiceModelImpl(
} catch (AMConsoleException e) {
e.getMessage());
}
return null;
}
protected void createPropertyModel() {
}
/**
* Handles save button request.
* save
* @param event Request invocation event
*/
throws ModelControlException {
/*super.handleButton1Request(event);*/
submitCycle = true;
try {
"message.updated");
} catch (AMConsoleException e) {
e.getMessage());
}
}
forwardTo();
}
/**
* Handles page cancel request.
*
* @param event Request invocation event
*/
throws ModelControlException {
super.handleButton2Request(event);
}
/**
* Handles reset request.
*
* @param event Request invocation event
*/
throws ModelControlException, AMConsoleException {
backTrail();
try {
} catch (ClassNotFoundException e) {
"SecurityTokenServiceViewBean.handleButton3Request:", e);
}
}
public void handleBtnSTSExportPolicyRequest(RequestInvocationEvent event) throws ModelControlException {
getViewBean(STSExportPolicyViewBean.class);
}
}