/**
* 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: SAMLv2Base.java,v 1.8 2008/06/25 05:49:37 qcheng Exp $
*
* Portions Copyrighted 2014-2015 ForgeRock AS.
*/
// Used to store the default list of supported contexts
static {
}
super(name);
}
throws ModelControlException {
super.beginDisplay(event);
}
return EntityModel.SAMLV2;
}
}
protected abstract void createPropertyModel();
/**
* Converts the List to Set.
*
* @param list the list to be converted.
* @return the corresponding Set.
*/
return new LinkedHashSet<>(list);
}
/**
* Return empty set if value is null
*
* @param set the set to be checked for null.
* @return the EMPTY_SET if value is null.
*/
}
/**
* For the given set of authContexts read from the extended metadata, populate the table and dropdown menu
* @param authContexts The set of SAMLv2AuthContexts read from the extended metadata
* @param tblAuthContextsModel The table model to populate
* @param dropdownContextRef The name of the context dropdown menu component to populate
*/
// Create lists from defaults that can be updated as there maybe custom entries from the extended metadata.
// Used to indicate no default context
}
// Need to compare the list from the metadata to the default list and any that are missing should be added
// to the set being shown in the console as they will be custom entries
}
}
int i = 0;
}
}
if (index != 0) {
}
if (authContexts != null) {
}
if (authContextObj == null) {
} else {
if (authContextObj.isDefault) {
}
}
}
// If the label ends up being the same as the key then there was no corresponding localized string so very
// likely a custom context, just use the context name instead.
}
return label;
}
}
}