diff --git a/openam-authentication/openam-auth-saml2/src/main/java/org/forgerock/openam/authentication/modules/saml2/SAML2.java b/openam-authentication/openam-auth-saml2/src/main/java/org/forgerock/openam/authentication/modules/saml2/SAML2.java index 15388f1483..060a49f948 100644 --- a/openam-authentication/openam-auth-saml2/src/main/java/org/forgerock/openam/authentication/modules/saml2/SAML2.java +++ b/openam-authentication/openam-auth-saml2/src/main/java/org/forgerock/openam/authentication/modules/saml2/SAML2.java @@ -45,7 +45,7 @@ import com.sun.identity.saml2.jaxb.entityconfig.SPSSOConfigElement; import com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement; import com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement; -import com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement; +import com.sun.identity.saml2.jaxb.metadata.EndpointType; import com.sun.identity.saml2.key.KeyUtil; import com.sun.identity.saml2.meta.SAML2MetaException; import com.sun.identity.saml2.meta.SAML2MetaManager; @@ -222,8 +222,8 @@ private int initiateSAMLLoginAtIDP(final HttpServletResponse response, final Htt bundle.getString("samlLocalConfigFailed")); } - List ssoServiceList = idpsso.getSingleSignOnService(); - final SingleSignOnServiceElement endPoint = SPSSOFederate + List ssoServiceList = idpsso.getSingleSignOnService(); + final EndpointType endPoint = SPSSOFederate .getSingleSignOnServiceEndpoint(ssoServiceList, reqBinding); if (endPoint == null || StringUtils.isEmpty(endPoint.getLocation())) { diff --git a/openam-authentication/openam-auth-saml2/src/test/java/org/forgerock/openam/authentication/modules/saml2/SAML2ProxyTest.java b/openam-authentication/openam-auth-saml2/src/test/java/org/forgerock/openam/authentication/modules/saml2/SAML2ProxyTest.java index b4217cecb1..9c3a1580cf 100644 --- a/openam-authentication/openam-auth-saml2/src/test/java/org/forgerock/openam/authentication/modules/saml2/SAML2ProxyTest.java +++ b/openam-authentication/openam-auth-saml2/src/test/java/org/forgerock/openam/authentication/modules/saml2/SAML2ProxyTest.java @@ -23,7 +23,9 @@ import com.sun.identity.saml2.common.SAML2Constants; import com.sun.identity.shared.encode.URLEncDec; -import com.sun.xml.bind.StringInputStream; + +import java.io.ByteArrayInputStream; +import java.nio.charset.StandardCharsets; import jakarta.servlet.http.Cookie; import jakarta.servlet.http.HttpServletRequest; @@ -95,7 +97,8 @@ public void shouldEscapeMaliciousHtmlInputOnForm() { private String getFormAction(String html) { try { - final Document doc = XMLUtils.getSafeDocumentBuilder(false).parse(new StringInputStream(html)); + final Document doc = XMLUtils.getSafeDocumentBuilder(false).parse( + new ByteArrayInputStream(html.getBytes(StandardCharsets.UTF_8))); return XPathFactory.newInstance().newXPath().evaluate("string(//form/@action)", doc); } catch (Exception e) { throw new RuntimeException(e); diff --git a/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/CreateMetaDataTemplate.java b/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/CreateMetaDataTemplate.java index 958b1c1881..44a9798d38 100644 --- a/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/CreateMetaDataTemplate.java +++ b/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/CreateMetaDataTemplate.java @@ -60,7 +60,7 @@ import java.util.List; import java.util.Map; import java.util.Set; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; /** * Create Meta Data Template. diff --git a/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ExportMetaData.java b/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ExportMetaData.java index 72d25ae9fc..407b23e8e7 100644 --- a/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ExportMetaData.java +++ b/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ExportMetaData.java @@ -63,7 +63,7 @@ import java.io.OutputStream; import java.io.PrintWriter; import java.text.MessageFormat; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.w3c.dom.Document; import java.util.logging.Level; diff --git a/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ImportMetaData.java b/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ImportMetaData.java index 9da7f576b5..1e357845e0 100644 --- a/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ImportMetaData.java +++ b/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ImportMetaData.java @@ -62,7 +62,7 @@ import java.util.ArrayList; import java.util.List; import java.util.logging.Level; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.forgerock.openam.utils.CollectionUtils; import org.forgerock.openam.utils.StringUtils; @@ -318,7 +318,9 @@ private void handleWSFedRequest(RequestContext rc) */ if (configElt != null && configElt.isHosted()) { List config = - configElt.getIDPSSOConfigOrSPSSOConfig(); + configElt.getIDPSSOConfigOrSPSSOConfig().stream() + .map(jakarta.xml.bind.JAXBElement::getValue) + .collect(java.util.stream.Collectors.toList()); if (CollectionUtils.isNotEmpty(config)) { realm = WSFederationMetaUtils.getRealmByMetaAlias(config.get(0).getMetaAlias()); newMetaAliases = getMetaAliasesWsFed(config); diff --git a/openam-console/src/main/java/com/sun/identity/console/federation/model/CreateMetaDataModelImpl.java b/openam-console/src/main/java/com/sun/identity/console/federation/model/CreateMetaDataModelImpl.java index a52c054667..398619849c 100644 --- a/openam-console/src/main/java/com/sun/identity/console/federation/model/CreateMetaDataModelImpl.java +++ b/openam-console/src/main/java/com/sun/identity/console/federation/model/CreateMetaDataModelImpl.java @@ -60,7 +60,7 @@ import java.util.Map; import java.util.Set; import jakarta.servlet.http.HttpServletRequest; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; public class CreateMetaDataModelImpl extends AMModelBase implements CreateMetaDataModel diff --git a/openam-console/src/main/java/com/sun/identity/console/federation/model/IDFFModelImpl.java b/openam-console/src/main/java/com/sun/identity/console/federation/model/IDFFModelImpl.java index aed9d1df8c..2118c8500f 100644 --- a/openam-console/src/main/java/com/sun/identity/console/federation/model/IDFFModelImpl.java +++ b/openam-console/src/main/java/com/sun/identity/console/federation/model/IDFFModelImpl.java @@ -61,7 +61,7 @@ import java.util.Map; import java.util.Set; import jakarta.servlet.http.HttpServletRequest; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; public class IDFFModelImpl extends EntityModelImpl @@ -690,7 +690,7 @@ public void updateEntitySPDescriptor( (String) AMAdminUtils.getValue((Set) attrValues.get( ATTR_FEDERATION_TERMINATION_NOTIFICATION_PROTOCOL_PROFILE)))) { pDesc.getFederationTerminationNotificationProtocolProfile().add( - federationTerminationProfileList.get(i)); + (String) federationTerminationProfileList.get(i)); } } @@ -704,7 +704,7 @@ public void updateEntitySPDescriptor( (String) AMAdminUtils.getValue((Set) attrValues.get( ATTR_SINGLE_LOGOUT_PROTOCOL_PROFILE)))) { pDesc.getSingleLogoutProtocolProfile().add( - singleLogoutProfileList.get(i)); + (String) singleLogoutProfileList.get(i)); } } @@ -718,7 +718,7 @@ public void updateEntitySPDescriptor( (String) AMAdminUtils.getValue((Set) attrValues.get( ATTR_REGISTRATION_NAME_IDENTIFIER_PROFILE_PROFILE)))) { pDesc.getRegisterNameIdentifierProtocolProfile().add( - nameRegistrationProfileList.get(i)); + (String) nameRegistrationProfileList.get(i)); } } @@ -762,14 +762,6 @@ public void updateEntitySPDescriptor( {realm, entityName, "IDFF", "SP-Standard Metadata", strError}; logEvent("FEDERATION_EXCEPTION_MODIFY_ENTITY_DESCRIPTOR", paramsEx); throw new AMConsoleException(strError); - } catch (JAXBException e) { - debug.error("JAXBException, updateEntitySPDescriptor"); - String strError = getErrorString(e); - String[] paramsEx = - {realm, entityName, "IDFF", "SP-Standard Metadata", strError}; - logEvent("FEDERATION_EXCEPTION_MODIFY_ENTITY_DESCRIPTOR", paramsEx); - throw new AMConsoleException(strError); - } } @@ -849,7 +841,7 @@ public void updateEntityIDPDescriptor( (String) AMAdminUtils.getValue((Set) attrValues.get( ATTR_FEDERATION_TERMINATION_NOTIFICATION_PROTOCOL_PROFILE)))) { pDesc.getFederationTerminationNotificationProtocolProfile().add( - federationTerminationProfileList.get(i)); + (String) federationTerminationProfileList.get(i)); } } @@ -863,7 +855,7 @@ public void updateEntityIDPDescriptor( (String) AMAdminUtils.getValue((Set) attrValues.get( ATTR_SINGLE_LOGOUT_PROTOCOL_PROFILE)))) { pDesc.getSingleLogoutProtocolProfile().add( - singleLogoutProfileList.get(i)); + (String) singleLogoutProfileList.get(i)); } } @@ -877,7 +869,7 @@ public void updateEntityIDPDescriptor( (String) AMAdminUtils.getValue((Set) attrValues.get( ATTR_REGISTRATION_NAME_IDENTIFIER_PROFILE_PROFILE)))) { pDesc.getRegisterNameIdentifierProtocolProfile().add( - nameRegistrationProfileList.get(i)); + (String) nameRegistrationProfileList.get(i)); } } @@ -891,7 +883,7 @@ public void updateEntityIDPDescriptor( (String) AMAdminUtils.getValue((Set) attrValues.get( ATTR_SINGLE_SIGN_ON_PROTOCOL_PROFILE)))) { pDesc.getSingleSignOnProtocolProfile().add( - federationProfileList.get(i)); + (String) federationProfileList.get(i)); } } @@ -1418,8 +1410,6 @@ public void createEntityConfig( idffMetaMgr.setEntityConfig(realm, entityConfig); } catch (IDFFMetaException e) { throw new AMConsoleException(getErrorString(e)); - } catch (JAXBException e) { - throw new AMConsoleException(getErrorString(e)); } } diff --git a/openam-console/src/main/java/com/sun/identity/console/federation/model/ImportEntityModelImpl.java b/openam-console/src/main/java/com/sun/identity/console/federation/model/ImportEntityModelImpl.java index 378a2519f2..a5978a00b3 100644 --- a/openam-console/src/main/java/com/sun/identity/console/federation/model/ImportEntityModelImpl.java +++ b/openam-console/src/main/java/com/sun/identity/console/federation/model/ImportEntityModelImpl.java @@ -46,7 +46,7 @@ import com.sun.identity.workflow.WorkflowException; import java.util.List; import java.util.Map; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import jakarta.servlet.http.HttpServletRequest; import org.w3c.dom.Document; diff --git a/openam-console/src/main/java/com/sun/identity/console/federation/model/SAMLv2ModelImpl.java b/openam-console/src/main/java/com/sun/identity/console/federation/model/SAMLv2ModelImpl.java index 91d74539f1..63d6e1509a 100644 --- a/openam-console/src/main/java/com/sun/identity/console/federation/model/SAMLv2ModelImpl.java +++ b/openam-console/src/main/java/com/sun/identity/console/federation/model/SAMLv2ModelImpl.java @@ -78,7 +78,7 @@ import com.sun.identity.saml2.jaxb.xmlenc.EncryptionMethodType; import com.sun.identity.shared.datastruct.OrderedSet; import com.sun.identity.console.federation.SAMLv2AuthContexts; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.apache.xml.security.encryption.XMLCipher; import org.forgerock.openam.utils.StringUtils; @@ -923,7 +923,7 @@ public AssertionConsumerServiceElement getAscObject() try { acsElem = objFact.createAssertionConsumerServiceElement(); - } catch (JAXBException e) { + } catch (Exception e) { if (debug.warningEnabled()) { debug.warning("SAMLv2ModelImpl.getAscObject:", e); } @@ -1706,7 +1706,7 @@ private void saveNameIdFormat( (Set)values.get(NAMEID_FORMAT)); ssodescriptor.getNameIDFormat().clear(); for (int i=0; i + if (encrptType instanceof BigInteger) { + size = Integer.toString(((BigInteger) encrptType).intValue()); + } else if (encrptType instanceof jakarta.xml.bind.JAXBElement) { + @SuppressWarnings("unchecked") + jakarta.xml.bind.JAXBElement ksElem = + (jakarta.xml.bind.JAXBElement) encrptType; + if (ksElem.getValue() instanceof BigInteger) { + size = Integer.toString(ksElem.getValue().intValue()); + } } } } @@ -2951,13 +2954,6 @@ public void setStdAttributeAuthorityValues( logEvent("FEDERATION_EXCEPTION_MODIFY_ATTR_AUTH_ATTR_VALUES", paramsEx); throw new AMConsoleException(strError); - } catch (JAXBException e) { - debug.warning("SAMLv2ModelImpl.setStdAttributeAuthorityValues:", e); - String strError = getErrorString(e); - String[] paramsEx = - {realm, entityName, "SAMLv2", "AttribAuthority-Std", strError}; - logEvent("FEDERATION_EXCEPTION_MODIFY_ATTR_AUTH_ATTR_VALUES", - paramsEx); } } @@ -3104,13 +3100,6 @@ public void setStdAuthnAuthorityValues( logEvent("FEDERATION_EXCEPTION_MODIFY_AUTHN_AUTH_ATTR_VALUES", paramsEx); throw new AMConsoleException(strError); - } catch (JAXBException e) { - debug.warning("SAMLv2ModelImpl.setStdAttributeAuthorityValues:", e); - String strError = getErrorString(e); - String[] paramsEx = - {realm, entityName, "SAMLv2", "AttribAuthority-Std", strError}; - logEvent("FEDERATION_EXCEPTION_MODIFY_AUTHN_AUTH_ATTR_VALUES", - paramsEx); } } diff --git a/openam-console/src/main/java/com/sun/identity/console/federation/model/WSFedPropertiesModelImpl.java b/openam-console/src/main/java/com/sun/identity/console/federation/model/WSFedPropertiesModelImpl.java index 3286b8206f..3d47f17b78 100644 --- a/openam-console/src/main/java/com/sun/identity/console/federation/model/WSFedPropertiesModelImpl.java +++ b/openam-console/src/main/java/com/sun/identity/console/federation/model/WSFedPropertiesModelImpl.java @@ -50,7 +50,7 @@ import com.sun.identity.wsfederation.jaxb.wsfederation.TokenIssuerNameElement; import com.sun.identity.wsfederation.jaxb.entityconfig.ObjectFactory; import java.util.Set; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import jakarta.servlet.http.HttpServletRequest; import java.util.Collections; import java.util.HashMap; @@ -719,9 +719,6 @@ private void createExtendedObject( } metaManager.setEntityConfig(realm,ele); } - } catch (JAXBException e) { - debug.warning("WSFedPropertiesModelImpl.createExtendedObject", e); - throw new AMConsoleException(getErrorString(e)); } catch (WSFederationMetaException e) { debug.warning("WSFedPropertiesModelImpl.createExtendedObject", e); throw new AMConsoleException(getErrorString(e)); @@ -739,19 +736,13 @@ private BaseConfigType createAttributeElement( Map values, BaseConfigType bconfig )throws AMConsoleException { - try { - ObjectFactory objFactory = new ObjectFactory(); - for (Iterator iter=values.keySet().iterator(); - iter.hasNext();) { - AttributeElement avp = objFactory.createAttributeElement(); - String key = (String)iter.next(); - avp.setName(key); - bconfig.getAttribute().add(avp); - } - } catch (JAXBException e) { - debug.warning - ("WSFedPropertiesModelImpl.createAttributeElement", e); - throw new AMConsoleException(e.getMessage()); + ObjectFactory objFactory = new ObjectFactory(); + for (Iterator iter=values.keySet().iterator(); + iter.hasNext();) { + AttributeElement avp = objFactory.createAttributeElement(); + String key = (String)iter.next(); + avp.setName(key); + bconfig.getAttribute().add(avp); } return bconfig; } diff --git a/openam-console/src/main/java/com/sun/identity/console/service/model/SMDiscoEntryData.java b/openam-console/src/main/java/com/sun/identity/console/service/model/SMDiscoEntryData.java index 8179bd8bdd..389a6aa6f4 100644 --- a/openam-console/src/main/java/com/sun/identity/console/service/model/SMDiscoEntryData.java +++ b/openam-console/src/main/java/com/sun/identity/console/service/model/SMDiscoEntryData.java @@ -53,9 +53,9 @@ import java.util.HashSet; import java.util.Map; import java.util.Set; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; import javax.xml.namespace.QName; /* - NEED NOT LOG - */ diff --git a/openam-console/src/main/java/com/sun/identity/console/service/model/SMDiscoveryServiceData.java b/openam-console/src/main/java/com/sun/identity/console/service/model/SMDiscoveryServiceData.java index a0cc4af404..f4710cb6e7 100644 --- a/openam-console/src/main/java/com/sun/identity/console/service/model/SMDiscoveryServiceData.java +++ b/openam-console/src/main/java/com/sun/identity/console/service/model/SMDiscoveryServiceData.java @@ -58,9 +58,9 @@ import java.util.List; import java.util.Map; import java.util.Set; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Unmarshaller; import org.xml.sax.InputSource; /* - NEED NOT LOG - */ diff --git a/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/DefaultDebugRecorder.java b/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/DefaultDebugRecorder.java index fc65fcfb17..575c801e6e 100644 --- a/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/DefaultDebugRecorder.java +++ b/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/DefaultDebugRecorder.java @@ -455,7 +455,7 @@ private boolean createFolder(String debugDirectory) { .separator + RecordConstants.INFO_FILE_NAME)); previousRecordDate = recordReport.getDateFromInfoReport(infoJson); - } catch (IOException | ParseException | JsonValueException e) { + } catch (IOException | IllegalArgumentException | ParseException | JsonValueException e) { debug.error("Can't extract starting date from previous record. We will use the current date instead", e); previousRecordDate = newDate(); diff --git a/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLPrivilegeUtils.java b/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLPrivilegeUtils.java index d467f94010..16636b77f6 100755 --- a/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLPrivilegeUtils.java +++ b/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLPrivilegeUtils.java @@ -46,11 +46,11 @@ import java.util.Set; import java.util.TimeZone; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import javax.xml.namespace.QName; import org.forgerock.util.annotations.VisibleForTesting; diff --git a/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLReaderWriter.java b/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLReaderWriter.java index 941332df3c..e0b1a7f207 100644 --- a/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLReaderWriter.java +++ b/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLReaderWriter.java @@ -27,7 +27,7 @@ import java.util.HashMap; import java.util.Map; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.forgerock.openam.entitlement.ResourceType; import org.json.JSONException; diff --git a/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLSchemaFactory.java b/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLSchemaFactory.java index 9e774b80fa..6902cdbe43 100644 --- a/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLSchemaFactory.java +++ b/openam-entitlements/src/main/java/com/sun/identity/entitlement/xacml3/XACMLSchemaFactory.java @@ -24,7 +24,7 @@ import com.sun.identity.entitlement.xacml3.core.EffectType; import com.sun.identity.entitlement.xacml3.core.ObjectFactory; -import javax.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBElement; import java.util.HashSet; import java.util.List; import java.util.Set; diff --git a/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/FactoryMethods.java b/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/FactoryMethods.java index 9456a3c913..ba161f2f6f 100644 --- a/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/FactoryMethods.java +++ b/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/FactoryMethods.java @@ -32,7 +32,7 @@ import java.util.Map; import java.util.Set; import java.util.TimeZone; -import javax.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBElement; import org.forgerock.openam.entitlement.conditions.environment.SessionCondition; import static org.forgerock.openam.utils.CollectionUtils.asSet; import org.json.JSONException; diff --git a/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/XACMLPrivilegeUtilsTest.java b/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/XACMLPrivilegeUtilsTest.java index a2c568b68a..30d84b134c 100644 --- a/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/XACMLPrivilegeUtilsTest.java +++ b/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/XACMLPrivilegeUtilsTest.java @@ -28,7 +28,7 @@ import org.json.JSONException; import org.testng.annotations.Test; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import java.util.ArrayList; import java.util.List; import java.util.Set; diff --git a/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/XACMLSchemaFactoryTest.java b/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/XACMLSchemaFactoryTest.java index a9573de258..25c0bf1bb4 100644 --- a/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/XACMLSchemaFactoryTest.java +++ b/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/XACMLSchemaFactoryTest.java @@ -29,7 +29,7 @@ import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; -import javax.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBElement; import javax.xml.namespace.QName; import java.util.Arrays; import java.util.HashSet; diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/classloader/FAMClassLoader.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/classloader/FAMClassLoader.java index 1938724ca1..0acd67140b 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/classloader/FAMClassLoader.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/classloader/FAMClassLoader.java @@ -223,6 +223,7 @@ private static void setSystemProperties() { "com.sun.xml.security.", "com.sun.xml.xwss.", "javax.xml.bind.", + "jakarta.xml.bind.", "javax.xml.ws.", "javax.jws.", "javax.jws.soap.", @@ -263,6 +264,7 @@ private static void setSystemProperties() { "com.sun.xml.security.", "com.sun.xml.xwss.", "javax.xml.bind.", + "jakarta.xml.bind.", "javax.xml.ws.", "javax.jws.", "javax.jws.soap.", @@ -289,9 +291,11 @@ private static void setSystemProperties() { */ public static String[] maskedResouces = new String[]{ "META-INF/services/javax.xml.bind.JAXBContext", + "META-INF/services/jakarta.xml.bind.JAXBContext", "META-INF/services", "/META-INF/services", "javax/xml/bind/", + "jakarta/xml/bind/", "com/sun/xml/ws/", "com/sun/xml/wss/", "com/sun/xml/bind/", diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/disco/plugins/DiscoEntryHandlerImplUtils.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/disco/plugins/DiscoEntryHandlerImplUtils.java index f9857d5bc9..2b95b5bac9 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/disco/plugins/DiscoEntryHandlerImplUtils.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/disco/plugins/DiscoEntryHandlerImplUtils.java @@ -43,7 +43,6 @@ import java.util.Set; import javax.xml.transform.stream.StreamSource; -import javax.xml.bind.JAXBException; import com.sun.identity.shared.debug.Debug; import com.sun.identity.liberty.ws.disco.common.DiscoConstants; @@ -325,15 +324,7 @@ public static Map handleInserts(Set discoEntries, List inserts) { List newEntryIDs = new LinkedList(); while (i.hasNext()) { insertEntry = (InsertEntryType) i.next(); - try { - de = DiscoUtils.getDiscoEntryFactory(). - createDiscoEntryElement(); - } catch (JAXBException je) { - debug.error( - "DiscoEntryHandlerImplUtils.handleInserts: couldn't " - + "create DiscoEntry: ", je); - return insertResults; - } + de = DiscoUtils.getDiscoEntryFactory().createDiscoEntryElement(); resOff = insertEntry.getResourceOffering(); String newEntryID = SAMLUtils.generateID(); if (debug.messageEnabled()) { diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ConfigureGoogleApps.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ConfigureGoogleApps.java index a1d2e4ff9c..6e2727a585 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ConfigureGoogleApps.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ConfigureGoogleApps.java @@ -46,7 +46,7 @@ import java.util.Locale; import java.util.Map; import java.util.StringTokenizer; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; /** ** Configure GoogleApps. diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ConfigureSalesForceApps.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ConfigureSalesForceApps.java index a5e6c940eb..57acece0ab 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ConfigureSalesForceApps.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ConfigureSalesForceApps.java @@ -41,12 +41,12 @@ import com.sun.identity.saml2.meta.SAML2MetaException; import com.sun.identity.saml2.meta.SAML2MetaManager; import com.sun.identity.saml2.meta.SAML2MetaUtils; +import jakarta.xml.bind.JAXBException; import java.text.MessageFormat; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; -import javax.xml.bind.JAXBException; /** ** Configure SalesForceApps. @@ -146,8 +146,6 @@ private void updateSPMeta(String entityId, String realm, String cot, List attrMa } } catch (SAML2MetaException e) { throw new WorkflowException(e.getMessage()); - } catch (JAXBException e) { - throw new WorkflowException(e.getMessage()); } } diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateRemoteSP.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateRemoteSP.java index 33c5852e32..ee5f29a232 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateRemoteSP.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateRemoteSP.java @@ -44,7 +44,7 @@ import java.util.List; import java.util.Locale; import java.util.Map; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; /** * Creates Remote Service Provider. @@ -118,8 +118,6 @@ public String execute(Locale locale, Map params) } } catch (SAML2MetaException e) { throw new WorkflowException(e.getMessage()); - } catch (JAXBException e) { - throw new WorkflowException(e.getMessage()); } return getMessage("sp.configured", locale); diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateWSFedMetaDataTemplate.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateWSFedMetaDataTemplate.java index 392d810e9c..182b6773f8 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateWSFedMetaDataTemplate.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateWSFedMetaDataTemplate.java @@ -50,9 +50,9 @@ import java.io.StringWriter; import java.security.cert.CertificateEncodingException; import java.util.Map; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; import com.sun.identity.wsfederation.jaxb.wsse.SecurityTokenReferenceElement; import com.sun.identity.wsfederation.jaxb.xmlsig.X509DataElement; import com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509Certificate; @@ -287,7 +287,7 @@ private static void buildWSFedIDPConfigTemplate( idpSSOConfig.getAttribute().add(attribute); } - fedConfig.getIDPSSOConfigOrSPSSOConfig().add(idpSSOConfig); + fedConfig.getIDPSSOConfigOrSPSSOConfig().add(objFactory.createIDPSSOConfig(idpSSOConfig)); } private static void buildWSFedSPConfigTemplate( @@ -349,7 +349,7 @@ private static void buildWSFedSPConfigTemplate( spSSOConfig.getAttribute().add(attribute); } - fedConfig.getIDPSSOConfigOrSPSSOConfig().add(spSSOConfig); + fedConfig.getIDPSSOConfigOrSPSSOConfig().add(objFactory.createSPSSOConfig(spSSOConfig)); } private static String getHostURL() { diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ExportSAML2MetaData.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ExportSAML2MetaData.java index 79d6bec1dd..a7f6966d58 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ExportSAML2MetaData.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ExportSAML2MetaData.java @@ -35,7 +35,7 @@ import com.sun.identity.saml2.meta.SAML2MetaUtils; import java.io.ByteArrayOutputStream; import java.io.OutputStream; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; /** * Export SAML2 Metadata. diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/GetCircleOfTrusts.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/GetCircleOfTrusts.java index bf23ad3598..a08ad06d10 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/GetCircleOfTrusts.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/GetCircleOfTrusts.java @@ -43,7 +43,6 @@ import java.util.Locale; import java.util.Map; import java.util.Set; -import javax.xml.bind.JAXBException; import org.forgerock.openam.utils.StringUtils; @@ -121,7 +120,7 @@ private String getRealmFromExtData(String xml) bConfig.getMetaAlias()); } } - } catch (JAXBException e) { + } catch (jakarta.xml.bind.JAXBException e) { throw new WorkflowException("invalid-extended-data-cot", null); } return realm; diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ImportSAML2MetaData.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ImportSAML2MetaData.java index 515569cfdb..06016f7fe0 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ImportSAML2MetaData.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/ImportSAML2MetaData.java @@ -36,7 +36,7 @@ import com.sun.identity.shared.debug.Debug; import com.sun.identity.shared.xml.XMLUtils; import java.util.List; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.w3c.dom.Document; /** diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/wss/policy/WSSPolicyManager.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/wss/policy/WSSPolicyManager.java index d07ed13bd2..9a71533f99 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/wss/policy/WSSPolicyManager.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/wss/policy/WSSPolicyManager.java @@ -1,652 +1,622 @@ -/** - * 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 - * https://opensso.dev.java.net/public/CDDLv1.0.html or - * opensso/legal/CDDLv1.0.txt - * 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: WSSPolicyManager.java,v 1.2 2009/12/19 00:09:41 asyhuang Exp $ - * - */ -package com.sun.identity.wss.policy; - -import javax.xml.bind.JAXBException; -import javax.xml.namespace.QName; -import java.util.List; -import java.util.Iterator; - -import com.sun.identity.wsfederation.jaxb.wspolicy.PolicyElement; -import com.sun.identity.wsfederation.jaxb.wspolicy.ExactlyOneElement; -import com.sun.identity.wsfederation.jaxb.wspolicy.AllElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.AsymmetricBindingElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.SymmetricBindingElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorTokenElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientTokenElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.X509TokenElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.UsernameTokenElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.SamlTokenElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V3Token10Element; -import com.sun.identity.wsfederation.jaxb.wsspolicy.WssUsernameToken10Element; -import com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV20Token11Element; -import com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV11Token11Element; -import com.sun.identity.wsfederation.jaxb.wsspolicy.AlgorithmSuiteElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Element; -import com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Element; -import com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Element; -import com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.LayoutElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.ProtectionTokenElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.KerberosTokenElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy. - WssKerberosV5ApReqToken11Element; -import com.sun.identity.wsfederation.jaxb.wsspolicy.SignedPartsElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptedPartsElement; -import com.sun.identity.wsfederation.jaxb.wsspolicy.HeaderType; -import com.sun.identity.wsfederation.jaxb.wsspolicy.IssuedTokenElement; -import com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceElement; -import com.sun.identity.wsfederation.jaxb.wsaddr.AttributedURIType; -import com.sun.identity.wsfederation.jaxb.wsspolicy. - RequestSecurityTokenTemplateType; -import com.sun.identity.wss.provider.ProviderConfig; -import com.sun.identity.wss.security.SecurityMechanism; -import com.sun.identity.wss.security.WSSConstants; -import com.sun.identity.wss.security.WSSUtils; -import com.sun.identity.wss.sts.config.STSRemoteConfig; - - -/** - * The WSSPolicyManager class manages the WS-Security policy - * configuration and is used to convert from ProviderConfig to - * WS-Security Policy and vice versa. - */ -public class WSSPolicyManager { - - private static final String INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT = - "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/" + - "IncludeToken/AlwaysToRecipient"; - private static com.sun.identity.wsfederation.jaxb.wspolicy.ObjectFactory - wsPolicyFactory = - new com.sun.identity.wsfederation.jaxb.wspolicy.ObjectFactory(); - - private static com.sun.identity.wsfederation.jaxb.wsspolicy.ObjectFactory - wssPolicyFactory = - new com.sun.identity.wsfederation.jaxb.wsspolicy.ObjectFactory(); - - private static com.sun.identity.wsfederation.jaxb.wsaddr.ObjectFactory - wsAddressingFactory = - new com.sun.identity.wsfederation.jaxb.wsaddr.ObjectFactory(); - - private static WSSPolicyManager wssPolicyManager = - new WSSPolicyManager(); - - private WSSPolicyManager() { - - } - - public static WSSPolicyManager getInstance() { - return wssPolicyManager; - } - - /** - * Returns the web service end point policy based on the provider - * configuration. - * @param providerConfig the provider configuration for a given provider - * configuration. - * @return the XML String representation of ws-security policy. - */ - public String getPolicy(ProviderConfig providerConfig) - throws WSSPolicyException { - - try { - PolicyElement policyElement = wsPolicyFactory.createPolicyElement(); - ExactlyOneElement exactlyOneElement = - wsPolicyFactory.createExactlyOneElement(); - //TODO - Need to add a config in the WSP config and then create the - // issued token policy. - boolean useIssuedTokenPolicy = false; - List securityMech = providerConfig.getSecurityMechanisms(); - if(securityMech == null || securityMech.isEmpty()) { - throw new WSSPolicyException( - "Security mechanism not configured"); - } - for (Iterator iter = securityMech.iterator(); iter.hasNext();) { - String secMech = (String)iter.next(); - AllElement allElement = wsPolicyFactory.createAllElement(); - if(SecurityMechanism.WSS_NULL_KERBEROS_TOKEN_URI.equals( - secMech)) { - SymmetricBindingElement sbe = - wssPolicyFactory.createSymmetricBindingElement(); - PolicyElement policyElement1 = - wsPolicyFactory.createPolicyElement(); - sbe.setPolicy(policyElement1); - ProtectionTokenElement pte = - createProtectionTokenElement(secMech); - policyElement1.getPolicyOrAllOrExactlyOne().add(pte); - if(providerConfig.isResponseSignEnabled()) { - RecipientTokenElement rte = createRecipientTokenElement(); - policyElement1.getPolicyOrAllOrExactlyOne().add(rte); - } - AlgorithmSuiteElement ase = - createAlgorithmSuiteElement(providerConfig); - if(ase != null) { - policyElement1.getPolicyOrAllOrExactlyOne().add(ase); - } - policyElement1.getPolicyOrAllOrExactlyOne().add( - createLayoutElement()); - policyElement1.getPolicyOrAllOrExactlyOne().add( - wssPolicyFactory.createIncludeTimestampElement()); - policyElement1.getPolicyOrAllOrExactlyOne().add( - wssPolicyFactory. - createOnlySignEntireHeadersAndBodyElement()); - allElement.getPolicyOrAllOrExactlyOne().add(sbe); - } else if (useIssuedTokenPolicy) { - AsymmetricBindingElement abe = - wssPolicyFactory.createAsymmetricBindingElement(); - PolicyElement policyElement1 = - wsPolicyFactory.createPolicyElement(); - abe.setPolicy(policyElement1); - - IssuedTokenElement ite = createIssuedTokenElement(); - policyElement1.getPolicyOrAllOrExactlyOne().add(ite); - - if(providerConfig.isResponseSignEnabled()) { - RecipientTokenElement rte = createRecipientTokenElement(); - policyElement1.getPolicyOrAllOrExactlyOne().add(rte); - } - AlgorithmSuiteElement ase = - createAlgorithmSuiteElement(providerConfig); - if(ase != null) { - policyElement1.getPolicyOrAllOrExactlyOne().add(ase); - } - policyElement1.getPolicyOrAllOrExactlyOne().add( - createLayoutElement()); - policyElement1.getPolicyOrAllOrExactlyOne().add( - wssPolicyFactory.createIncludeTimestampElement()); - policyElement1.getPolicyOrAllOrExactlyOne().add( - wssPolicyFactory. - createOnlySignEntireHeadersAndBodyElement()); - allElement.getPolicyOrAllOrExactlyOne().add(abe); - exactlyOneElement.getPolicyOrAllOrExactlyOne().add( - allElement); - break; - } else { - AsymmetricBindingElement abe = - wssPolicyFactory.createAsymmetricBindingElement(); - PolicyElement policyElement1 = - wsPolicyFactory.createPolicyElement(); - abe.setPolicy(policyElement1); - - InitiatorTokenElement ite = - createInitiatorTokenElement(secMech); - policyElement1.getPolicyOrAllOrExactlyOne().add(ite); - - - if(providerConfig.isResponseSignEnabled()) { - RecipientTokenElement rte = createRecipientTokenElement(); - policyElement1.getPolicyOrAllOrExactlyOne().add(rte); - } - AlgorithmSuiteElement ase = - createAlgorithmSuiteElement(providerConfig); - if(ase != null) { - policyElement1.getPolicyOrAllOrExactlyOne().add(ase); - } - policyElement1.getPolicyOrAllOrExactlyOne().add( - createLayoutElement()); - policyElement1.getPolicyOrAllOrExactlyOne().add( - wssPolicyFactory.createIncludeTimestampElement()); - policyElement1.getPolicyOrAllOrExactlyOne().add( - wssPolicyFactory. - createOnlySignEntireHeadersAndBodyElement()); - allElement.getPolicyOrAllOrExactlyOne().add(abe); - } - exactlyOneElement.getPolicyOrAllOrExactlyOne().add(allElement); - - } - policyElement.getPolicyOrAllOrExactlyOne().add(exactlyOneElement); - return WSSPolicyUtils.convertJAXBToString(policyElement); - - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.getPolicy:" + - " JAXBException", je); - throw new WSSPolicyException(je.getMessage()); - } - - } - - /** - * Returns the input policy for the given web service provider - * configuration. - * @param providerConfig the provider configuration of a - * web service provider. - * - * @return the XML String representation for the web service provider - * input policy. - * @throws com.sun.identity.wss.policy.WSSPolicyException - */ - public String getInputPolicy(ProviderConfig providerConfig) - throws WSSPolicyException { - - try { - PolicyElement policyElement = wsPolicyFactory.createPolicyElement(); - ExactlyOneElement exactlyOneElement = - wsPolicyFactory.createExactlyOneElement(); - AllElement allElement = wsPolicyFactory.createAllElement(); - - policyElement.getPolicyOrAllOrExactlyOne().add(exactlyOneElement); - - if(providerConfig.isRequestSignEnabled()) { - SignedPartsElement signedParts = - wssPolicyFactory.createSignedPartsElement(); - signedParts.setBody(wssPolicyFactory.createEmptyType()); - allElement.getPolicyOrAllOrExactlyOne().add(signedParts); - } - - if(providerConfig.isRequestEncryptEnabled() || - providerConfig.isRequestHeaderEncryptEnabled()) { - EncryptedPartsElement encryptedParts = - wssPolicyFactory.createEncryptedPartsElement(); - if(providerConfig.isRequestEncryptEnabled()) { - encryptedParts.setBody(wssPolicyFactory.createEmptyType()); - } - if(providerConfig.isRequestHeaderEncryptEnabled()) { - HeaderType headerType = - wssPolicyFactory.createHeaderType(); - headerType.setName( - new QName(WSSConstants.WSSE_SECURITY_LNAME)); - headerType.setNamespace(WSSConstants.WSSE11_NS); - encryptedParts.getHeader().add(headerType); - } - allElement.getPolicyOrAllOrExactlyOne().add(encryptedParts); - } - exactlyOneElement.getPolicyOrAllOrExactlyOne().add(allElement); - return WSSPolicyUtils.convertJAXBToString(policyElement); - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.getInputPolicy: " + - "JAXB Exception "); - throw new WSSPolicyException(je.getMessage()); - } - - } - - /** - * Returns the output policy for the given web service provider - * configuration. - * @param providerConfig the provider configuration of a web service - * provider. - * @return the XML String representation of ws-security policy for the - * web service provider. - * @throws com.sun.identity.wss.policy.WSSPolicyException - */ - public String getOutputPolicy(ProviderConfig providerConfig) - throws WSSPolicyException { - try { - PolicyElement policyElement = wsPolicyFactory.createPolicyElement(); - ExactlyOneElement exactlyOneElement = - wsPolicyFactory.createExactlyOneElement(); - AllElement allElement = wsPolicyFactory.createAllElement(); - - policyElement.getPolicyOrAllOrExactlyOne().add(exactlyOneElement); - - if(providerConfig.isResponseSignEnabled()) { - SignedPartsElement signedParts = - wssPolicyFactory.createSignedPartsElement(); - signedParts.setBody(wssPolicyFactory.createEmptyType()); - allElement.getPolicyOrAllOrExactlyOne().add(signedParts); - } - - if(providerConfig.isResponseEncryptEnabled()) { - EncryptedPartsElement encryptedParts = - wssPolicyFactory.createEncryptedPartsElement(); - encryptedParts.setBody(wssPolicyFactory.createEmptyType()); - allElement.getPolicyOrAllOrExactlyOne().add(encryptedParts); - } - exactlyOneElement.getPolicyOrAllOrExactlyOne().add(allElement); - return WSSPolicyUtils.convertJAXBToString(policyElement); - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.geOutputPolicy: " + - "JAXB Exception "); - throw new WSSPolicyException(je.getMessage()); - } - } - - /** - * Returns the STS end point policy - * @return the XML String representation of ws-security policy for the - * STS service. - * @throws WSSPolicyException - */ - public String getSTSPolicy() - throws WSSPolicyException { - return getPolicy(getSTSConfig()); - - } - - /** - * Returns the input policy for the STS service - * @return the XML String representation of ws-security policy for the - * STS service. - * @throws com.sun.identity.wss.policy.WSSPolicyException - */ - public String getSTSInputPolicy() throws WSSPolicyException { - return getInputPolicy(getSTSConfig()); - - } - - /** - * Returns the output policy for the STS service - * @return the XML String representation of ws-security policy for the - * STS service. - * @throws com.sun.identity.wss.policy.WSSPolicyException - */ - - public String getSTSOutputPolicy() throws WSSPolicyException { - return getOutputPolicy(getSTSConfig()); - } - - private InitiatorTokenElement createInitiatorTokenElement( - String secMech) throws WSSPolicyException { - - try { - InitiatorTokenElement ite = - wssPolicyFactory.createInitiatorTokenElement(); - PolicyElement policyElement1 = - wsPolicyFactory.createPolicyElement(); - ite.setPolicy(policyElement1); - if(SecurityMechanism.WSS_NULL_X509_TOKEN_URI.equals(secMech)) { - X509TokenElement x509Token = - wssPolicyFactory.createX509TokenElement(); - x509Token.setIncludeToken(INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); - policyElement1.getPolicyOrAllOrExactlyOne().add(x509Token); - - PolicyElement policyElement2 = - wsPolicyFactory.createPolicyElement(); - x509Token.getAny().add(policyElement2); - - WssX509V3Token10Element wssX509v3TokenElement = - wssPolicyFactory.createWssX509V3Token10Element(); - policyElement2.getPolicyOrAllOrExactlyOne().add( - wssX509v3TokenElement); - } else if(SecurityMechanism.WSS_NULL_USERNAME_TOKEN_URI. - equals(secMech)) { - UsernameTokenElement userNameTokenElement = - wssPolicyFactory.createUsernameTokenElement(); - userNameTokenElement.setIncludeToken( - INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); - policyElement1.getPolicyOrAllOrExactlyOne().add( - userNameTokenElement); - - PolicyElement policyElement2 = - wsPolicyFactory.createPolicyElement(); - userNameTokenElement.getAny().add(policyElement2); - - WssUsernameToken10Element wssUserTokenElement = - wssPolicyFactory.createWssUsernameToken10Element(); - policyElement2.getPolicyOrAllOrExactlyOne().add( - wssUserTokenElement); - } else if(SecurityMechanism.WSS_NULL_SAML2_HK_URI.equals(secMech)|| - SecurityMechanism.WSS_NULL_SAML2_SV_URI.equals(secMech)) { - SamlTokenElement samlTokenElement = - wssPolicyFactory.createSamlTokenElement(); - samlTokenElement.setIncludeToken( - INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); - policyElement1.getPolicyOrAllOrExactlyOne().add( - samlTokenElement); - - PolicyElement policyElement2 = - wsPolicyFactory.createPolicyElement(); - samlTokenElement.getAny().add(policyElement2); - - WssSamlV20Token11Element wssSaml20TokenElement = - wssPolicyFactory.createWssSamlV20Token11Element(); - policyElement2.getPolicyOrAllOrExactlyOne().add( - wssSaml20TokenElement); - - } else if(SecurityMechanism.WSS_NULL_SAML_HK_URI.equals(secMech)|| - SecurityMechanism.WSS_NULL_SAML_SV_URI.equals(secMech)) { - SamlTokenElement samlTokenElement = - wssPolicyFactory.createSamlTokenElement(); - samlTokenElement.setIncludeToken( - INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); - policyElement1.getPolicyOrAllOrExactlyOne().add( - samlTokenElement); - - PolicyElement policyElement2 = - wsPolicyFactory.createPolicyElement(); - samlTokenElement.getAny().add(policyElement2); - - WssSamlV11Token11Element wssSaml11TokenElement = - wssPolicyFactory.createWssSamlV11Token11Element(); - policyElement2.getPolicyOrAllOrExactlyOne().add( - wssSaml11TokenElement); - - } - - return ite; - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.createInitiateTokenElement: " - + " JAXB Exception "); - throw new WSSPolicyException (je.getMessage()); - } - - } - - private RecipientTokenElement createRecipientTokenElement() - throws WSSPolicyException { - - try { - RecipientTokenElement rte = - wssPolicyFactory.createRecipientTokenElement(); - PolicyElement policyElement1 = - wsPolicyFactory.createPolicyElement(); - rte.setPolicy(policyElement1); - X509TokenElement x509Token = - wssPolicyFactory.createX509TokenElement(); - x509Token.setIncludeToken(INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); - policyElement1.getPolicyOrAllOrExactlyOne().add(x509Token); - - PolicyElement policyElement2 = - wsPolicyFactory.createPolicyElement(); - x509Token.getAny().add(policyElement2); - - WssX509V3Token10Element wssX509v3TokenElement = - wssPolicyFactory.createWssX509V3Token10Element(); - policyElement2.getPolicyOrAllOrExactlyOne().add( - wssX509v3TokenElement); - return rte; - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.createRecipientTokenElement:" - + " JAXB Exception "); - throw new WSSPolicyException (je.getMessage()); - } - } - - private AlgorithmSuiteElement createAlgorithmSuiteElement( - ProviderConfig config) throws WSSPolicyException { - - try { - AlgorithmSuiteElement ase = - wssPolicyFactory.createAlgorithmSuiteElement(); - PolicyElement policyElement1 = - wsPolicyFactory.createPolicyElement(); - ase.setPolicy(policyElement1); - String encAlg = config.getEncryptionAlgorithm(); - int keyStrength = config.getEncryptionStrength(); - if("AES".equals(encAlg)) { - if(keyStrength == 128) { - Basic128Element basic128Element = - wssPolicyFactory.createBasic128Element(); - policyElement1.getPolicyOrAllOrExactlyOne().add( - basic128Element); - } else if (keyStrength == 192) { - Basic192Element basic192Element = - wssPolicyFactory.createBasic192Element(); - policyElement1.getPolicyOrAllOrExactlyOne().add( - basic192Element); - } else if (keyStrength == 256) { - Basic256Element basic256Element = - wssPolicyFactory.createBasic256Element(); - policyElement1.getPolicyOrAllOrExactlyOne().add( - basic256Element); - } else { - if(WSSUtils.debug.warningEnabled()) { - WSSUtils.debug.warning("WSSPolicyManager.create" + - "AlgorithmSuite: Invalid key strenghth for AES" + - keyStrength); - } - } - } else if ("DESede".equals(encAlg)) { - TripleDesElement tripleDesElement = - wssPolicyFactory.createTripleDesElement(); - policyElement1.getPolicyOrAllOrExactlyOne().add( - tripleDesElement); - } else { - return null; - } - return ase; - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.createAlgorithmSuite: " - + " JAXB Exception "); - throw new WSSPolicyException (je.getMessage()); - } - } - - private LayoutElement createLayoutElement() throws WSSPolicyException { - try { - LayoutElement le = - wssPolicyFactory.createLayoutElement(); - PolicyElement policyElement1 = - wsPolicyFactory.createPolicyElement(); - le.setPolicy(policyElement1); - policyElement1.getPolicyOrAllOrExactlyOne().add( - wssPolicyFactory.createLaxElement()); - return le; - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.createLayout: " - + " JAXB Exception "); - throw new WSSPolicyException (je.getMessage()); - } - - } - - - private ProtectionTokenElement createProtectionTokenElement( - String secMech) throws WSSPolicyException { - - try { - ProtectionTokenElement protectionElement = - wssPolicyFactory.createProtectionTokenElement(); - PolicyElement policyElement1 = - wsPolicyFactory.createPolicyElement(); - protectionElement.setPolicy(policyElement1); - - if(SecurityMechanism.WSS_NULL_KERBEROS_TOKEN_URI.equals(secMech)) { - KerberosTokenElement kerberosTokenElement = - wssPolicyFactory.createKerberosTokenElement(); - kerberosTokenElement.setIncludeToken( - INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); - policyElement1.getPolicyOrAllOrExactlyOne().add( - kerberosTokenElement); - - PolicyElement policyElement2 = - wsPolicyFactory.createPolicyElement(); - kerberosTokenElement.getAny().add(policyElement2); - - WssKerberosV5ApReqToken11Element wssKrbElement = - wssPolicyFactory.createWssKerberosV5ApReqToken11Element(); - policyElement2.getPolicyOrAllOrExactlyOne().add( - wssKrbElement); - } - - return protectionElement; - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.createProtectionToken: " - + " JAXB Exception "); - throw new WSSPolicyException (je.getMessage()); - } - } - - private IssuedTokenElement createIssuedTokenElement() - throws WSSPolicyException { - - try { - IssuedTokenElement issuedTokenElement = - wssPolicyFactory.createIssuedTokenElement(); - issuedTokenElement.setIncludeToken( - INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); - EndpointReferenceElement epr = - wsAddressingFactory.createEndpointReferenceElement(); - AttributedURIType uriType = - wsAddressingFactory.createAttributedURIType(); - uriType.setValue("SunSTS"); - epr.setAddress(uriType); - issuedTokenElement.setIssuer(epr); - RequestSecurityTokenTemplateType rstTemplate = - wssPolicyFactory.createRequestSecurityTokenTemplateType(); - issuedTokenElement.setRequestSecurityTokenTemplate(rstTemplate); - return issuedTokenElement; - } catch (JAXBException je) { - WSSUtils.debug.error("WSSPolicyManager.createIssuedTokenElement: " - + " JAXB Exception "); - throw new WSSPolicyException (je.getMessage()); - } - - } - - private ProviderConfig getSTSConfig() throws WSSPolicyException { - try { - STSRemoteConfig stsConfig = new STSRemoteConfig(); - ProviderConfig pc = ProviderConfig.getProvider( - stsConfig.getIssuer(), ProviderConfig.WSP, false); - pc.setKDCDomain(stsConfig.getKDCDomain()); - pc.setKDCServer(stsConfig.getKDCServer()); - pc.setKerberosServicePrincipal( - stsConfig.getKerberosServicePrincipal()); - pc.setKeyTabFile(stsConfig.getKeyTabFile()); - pc.setValidateKerberosSignature( - stsConfig.isValidateKerberosSignature()); - pc.setSecurityMechanisms(stsConfig.getSecurityMechanisms()); - pc.setUsers(stsConfig.getUsers()); - pc.setRequestEncryptEnabled(stsConfig.isRequestEncryptEnabled()); - pc.setRequestHeaderEncryptEnabled( - stsConfig.isRequestHeaderEncryptEnabled()); - pc.setRequestSignEnabled(stsConfig.isRequestSignEnabled()); - pc.setResponseEncryptEnabled(stsConfig.isResponseEncryptEnabled()); - pc.setResponseSignEnabled(stsConfig.isResponseSignEnabled()); - pc.setPreserveSecurityHeader(false); - pc.setPublicKeyAlias(stsConfig.getPublicKeyAlias()); - pc.setKeyAlias(stsConfig.getPrivateKeyAlias()); - pc.setEncryptionAlgorithm(stsConfig.getEncryptionAlgorithm()); - pc.setEncryptionStrength(stsConfig.getEncryptionStrength()); - pc.setSigningRefType(stsConfig.getSigningRefType()); - pc.setAuthenticationChain(stsConfig.getAuthenticationChain()); - pc.setDetectUserTokenReplay( - stsConfig.isUserTokenDetectReplayEnabled()); - pc.setMessageReplayDetection( - stsConfig.isMessageReplayDetectionEnabled()); - pc.setDNSClaim(stsConfig.getIssuer()); - pc.setSignedElements(stsConfig.getSignedElements()); - return pc; - } catch (Exception ex) { - WSSUtils.debug.error("WSSPolicyManager.getSTSConfig: " - + " Exception ", ex); - throw new WSSPolicyException(ex.getMessage()); - } - } -} +/** + * 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 + * https://opensso.dev.java.net/public/CDDLv1.0.html or + * opensso/legal/CDDLv1.0.txt + * 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: WSSPolicyManager.java,v 1.2 2009/12/19 00:09:41 asyhuang Exp $ + * + */ +package com.sun.identity.wss.policy; + +import jakarta.xml.bind.JAXBException; +import javax.xml.namespace.QName; +import java.util.List; +import java.util.Iterator; + +import com.sun.identity.wsfederation.jaxb.wspolicy.PolicyElement; +import com.sun.identity.wsfederation.jaxb.wspolicy.ExactlyOneElement; +import com.sun.identity.wsfederation.jaxb.wspolicy.AllElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.AsymmetricBindingElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.SymmetricBindingElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorTokenElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientTokenElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.X509TokenElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.UsernameTokenElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.SamlTokenElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V3Token10Element; +import com.sun.identity.wsfederation.jaxb.wsspolicy.WssUsernameToken10Element; +import com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV20Token11Element; +import com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV11Token11Element; +import com.sun.identity.wsfederation.jaxb.wsspolicy.AlgorithmSuiteElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Element; +import com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Element; +import com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Element; +import com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.LayoutElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.ProtectionTokenElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.KerberosTokenElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy. + WssKerberosV5ApReqToken11Element; +import com.sun.identity.wsfederation.jaxb.wsspolicy.SignedPartsElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptedPartsElement; +import com.sun.identity.wsfederation.jaxb.wsspolicy.HeaderType; +import com.sun.identity.wsfederation.jaxb.wsspolicy.IssuedTokenElement; +import com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceElement; +import com.sun.identity.wsfederation.jaxb.wsaddr.AttributedURIType; +import com.sun.identity.wsfederation.jaxb.wsspolicy. + RequestSecurityTokenTemplateType; +import com.sun.identity.wss.provider.ProviderConfig; +import com.sun.identity.wss.security.SecurityMechanism; +import com.sun.identity.wss.security.WSSConstants; +import com.sun.identity.wss.security.WSSUtils; +import com.sun.identity.wss.sts.config.STSRemoteConfig; + + +/** + * The WSSPolicyManager class manages the WS-Security policy + * configuration and is used to convert from ProviderConfig to + * WS-Security Policy and vice versa. + */ +public class WSSPolicyManager { + + private static final String INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT = + "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/" + + "IncludeToken/AlwaysToRecipient"; + private static com.sun.identity.wsfederation.jaxb.wspolicy.ObjectFactory + wsPolicyFactory = + new com.sun.identity.wsfederation.jaxb.wspolicy.ObjectFactory(); + + private static com.sun.identity.wsfederation.jaxb.wsspolicy.ObjectFactory + wssPolicyFactory = + new com.sun.identity.wsfederation.jaxb.wsspolicy.ObjectFactory(); + + private static com.sun.identity.wsfederation.jaxb.wsaddr.ObjectFactory + wsAddressingFactory = + new com.sun.identity.wsfederation.jaxb.wsaddr.ObjectFactory(); + + private static WSSPolicyManager wssPolicyManager = + new WSSPolicyManager(); + + private WSSPolicyManager() { + + } + + public static WSSPolicyManager getInstance() { + return wssPolicyManager; + } + + /** + * Returns the web service end point policy based on the provider + * configuration. + * @param providerConfig the provider configuration for a given provider + * configuration. + * @return the XML String representation of ws-security policy. + */ + public String getPolicy(ProviderConfig providerConfig) + throws WSSPolicyException { + + try { + PolicyElement policyElement = wsPolicyFactory.createPolicyElement(); + ExactlyOneElement exactlyOneElement = + wsPolicyFactory.createExactlyOneElement(); + //TODO - Need to add a config in the WSP config and then create the + // issued token policy. + boolean useIssuedTokenPolicy = false; + List securityMech = providerConfig.getSecurityMechanisms(); + if(securityMech == null || securityMech.isEmpty()) { + throw new WSSPolicyException( + "Security mechanism not configured"); + } + for (Iterator iter = securityMech.iterator(); iter.hasNext();) { + String secMech = (String)iter.next(); + AllElement allElement = wsPolicyFactory.createAllElement(); + if(SecurityMechanism.WSS_NULL_KERBEROS_TOKEN_URI.equals( + secMech)) { + SymmetricBindingElement sbe = + wssPolicyFactory.createSymmetricBindingElement(); + PolicyElement policyElement1 = + wsPolicyFactory.createPolicyElement(); + sbe.setPolicy(policyElement1); + ProtectionTokenElement pte = + createProtectionTokenElement(secMech); + policyElement1.getPolicyOrAllOrExactlyOne().add(pte); + if(providerConfig.isResponseSignEnabled()) { + RecipientTokenElement rte = createRecipientTokenElement(); + policyElement1.getPolicyOrAllOrExactlyOne().add(rte); + } + AlgorithmSuiteElement ase = + createAlgorithmSuiteElement(providerConfig); + if(ase != null) { + policyElement1.getPolicyOrAllOrExactlyOne().add(ase); + } + policyElement1.getPolicyOrAllOrExactlyOne().add( + createLayoutElement()); + policyElement1.getPolicyOrAllOrExactlyOne().add( + wssPolicyFactory.createIncludeTimestampElement()); + policyElement1.getPolicyOrAllOrExactlyOne().add( + wssPolicyFactory. + createOnlySignEntireHeadersAndBodyElement()); + allElement.getPolicyOrAllOrExactlyOne().add(sbe); + } else if (useIssuedTokenPolicy) { + AsymmetricBindingElement abe = + wssPolicyFactory.createAsymmetricBindingElement(); + PolicyElement policyElement1 = + wsPolicyFactory.createPolicyElement(); + abe.setPolicy(policyElement1); + + IssuedTokenElement ite = createIssuedTokenElement(); + policyElement1.getPolicyOrAllOrExactlyOne().add(ite); + + if(providerConfig.isResponseSignEnabled()) { + RecipientTokenElement rte = createRecipientTokenElement(); + policyElement1.getPolicyOrAllOrExactlyOne().add(rte); + } + AlgorithmSuiteElement ase = + createAlgorithmSuiteElement(providerConfig); + if(ase != null) { + policyElement1.getPolicyOrAllOrExactlyOne().add(ase); + } + policyElement1.getPolicyOrAllOrExactlyOne().add( + createLayoutElement()); + policyElement1.getPolicyOrAllOrExactlyOne().add( + wssPolicyFactory.createIncludeTimestampElement()); + policyElement1.getPolicyOrAllOrExactlyOne().add( + wssPolicyFactory. + createOnlySignEntireHeadersAndBodyElement()); + allElement.getPolicyOrAllOrExactlyOne().add(abe); + exactlyOneElement.getPolicyOrAllOrExactlyOne().add( + allElement); + break; + } else { + AsymmetricBindingElement abe = + wssPolicyFactory.createAsymmetricBindingElement(); + PolicyElement policyElement1 = + wsPolicyFactory.createPolicyElement(); + abe.setPolicy(policyElement1); + + InitiatorTokenElement ite = + createInitiatorTokenElement(secMech); + policyElement1.getPolicyOrAllOrExactlyOne().add(ite); + + + if(providerConfig.isResponseSignEnabled()) { + RecipientTokenElement rte = createRecipientTokenElement(); + policyElement1.getPolicyOrAllOrExactlyOne().add(rte); + } + AlgorithmSuiteElement ase = + createAlgorithmSuiteElement(providerConfig); + if(ase != null) { + policyElement1.getPolicyOrAllOrExactlyOne().add(ase); + } + policyElement1.getPolicyOrAllOrExactlyOne().add( + createLayoutElement()); + policyElement1.getPolicyOrAllOrExactlyOne().add( + wssPolicyFactory.createIncludeTimestampElement()); + policyElement1.getPolicyOrAllOrExactlyOne().add( + wssPolicyFactory. + createOnlySignEntireHeadersAndBodyElement()); + allElement.getPolicyOrAllOrExactlyOne().add(abe); + } + exactlyOneElement.getPolicyOrAllOrExactlyOne().add(allElement); + + } + policyElement.getPolicyOrAllOrExactlyOne().add(exactlyOneElement); + return WSSPolicyUtils.convertJAXBToString(policyElement); + + } catch (JAXBException je) { + WSSUtils.debug.error("WSSPolicyManager.getPolicy:" + + " JAXBException", je); + throw new WSSPolicyException(je.getMessage()); + } + + } + + /** + * Returns the input policy for the given web service provider + * configuration. + * @param providerConfig the provider configuration of a + * web service provider. + * + * @return the XML String representation for the web service provider + * input policy. + * @throws com.sun.identity.wss.policy.WSSPolicyException + */ + public String getInputPolicy(ProviderConfig providerConfig) + throws WSSPolicyException { + + try { + PolicyElement policyElement = wsPolicyFactory.createPolicyElement(); + ExactlyOneElement exactlyOneElement = + wsPolicyFactory.createExactlyOneElement(); + AllElement allElement = wsPolicyFactory.createAllElement(); + + policyElement.getPolicyOrAllOrExactlyOne().add(exactlyOneElement); + + if(providerConfig.isRequestSignEnabled()) { + SignedPartsElement signedParts = + wssPolicyFactory.createSignedPartsElement(); + signedParts.setBody(wssPolicyFactory.createEmptyType()); + allElement.getPolicyOrAllOrExactlyOne().add(signedParts); + } + + if(providerConfig.isRequestEncryptEnabled() || + providerConfig.isRequestHeaderEncryptEnabled()) { + EncryptedPartsElement encryptedParts = + wssPolicyFactory.createEncryptedPartsElement(); + if(providerConfig.isRequestEncryptEnabled()) { + encryptedParts.setBody(wssPolicyFactory.createEmptyType()); + } + if(providerConfig.isRequestHeaderEncryptEnabled()) { + HeaderType headerType = + wssPolicyFactory.createHeaderType(); + headerType.setName( + new QName(WSSConstants.WSSE_SECURITY_LNAME)); + headerType.setNamespace(WSSConstants.WSSE11_NS); + encryptedParts.getHeader().add(headerType); + } + allElement.getPolicyOrAllOrExactlyOne().add(encryptedParts); + } + exactlyOneElement.getPolicyOrAllOrExactlyOne().add(allElement); + return WSSPolicyUtils.convertJAXBToString(policyElement); + } catch (JAXBException je) { + WSSUtils.debug.error("WSSPolicyManager.getInputPolicy: " + + "JAXB Exception "); + throw new WSSPolicyException(je.getMessage()); + } + + } + + /** + * Returns the output policy for the given web service provider + * configuration. + * @param providerConfig the provider configuration of a web service + * provider. + * @return the XML String representation of ws-security policy for the + * web service provider. + * @throws com.sun.identity.wss.policy.WSSPolicyException + */ + public String getOutputPolicy(ProviderConfig providerConfig) + throws WSSPolicyException { + try { + PolicyElement policyElement = wsPolicyFactory.createPolicyElement(); + ExactlyOneElement exactlyOneElement = + wsPolicyFactory.createExactlyOneElement(); + AllElement allElement = wsPolicyFactory.createAllElement(); + + policyElement.getPolicyOrAllOrExactlyOne().add(exactlyOneElement); + + if(providerConfig.isResponseSignEnabled()) { + SignedPartsElement signedParts = + wssPolicyFactory.createSignedPartsElement(); + signedParts.setBody(wssPolicyFactory.createEmptyType()); + allElement.getPolicyOrAllOrExactlyOne().add(signedParts); + } + + if(providerConfig.isResponseEncryptEnabled()) { + EncryptedPartsElement encryptedParts = + wssPolicyFactory.createEncryptedPartsElement(); + encryptedParts.setBody(wssPolicyFactory.createEmptyType()); + allElement.getPolicyOrAllOrExactlyOne().add(encryptedParts); + } + exactlyOneElement.getPolicyOrAllOrExactlyOne().add(allElement); + return WSSPolicyUtils.convertJAXBToString(policyElement); + } catch (JAXBException je) { + WSSUtils.debug.error("WSSPolicyManager.geOutputPolicy: " + + "JAXB Exception "); + throw new WSSPolicyException(je.getMessage()); + } + } + + /** + * Returns the STS end point policy + * @return the XML String representation of ws-security policy for the + * STS service. + * @throws WSSPolicyException + */ + public String getSTSPolicy() + throws WSSPolicyException { + return getPolicy(getSTSConfig()); + + } + + /** + * Returns the input policy for the STS service + * @return the XML String representation of ws-security policy for the + * STS service. + * @throws com.sun.identity.wss.policy.WSSPolicyException + */ + public String getSTSInputPolicy() throws WSSPolicyException { + return getInputPolicy(getSTSConfig()); + + } + + /** + * Returns the output policy for the STS service + * @return the XML String representation of ws-security policy for the + * STS service. + * @throws com.sun.identity.wss.policy.WSSPolicyException + */ + + public String getSTSOutputPolicy() throws WSSPolicyException { + return getOutputPolicy(getSTSConfig()); + } + + private InitiatorTokenElement createInitiatorTokenElement( + String secMech) throws WSSPolicyException { + + InitiatorTokenElement ite = + wssPolicyFactory.createInitiatorTokenElement(); + PolicyElement policyElement1 = + wsPolicyFactory.createPolicyElement(); + ite.setPolicy(policyElement1); + if(SecurityMechanism.WSS_NULL_X509_TOKEN_URI.equals(secMech)) { + X509TokenElement x509Token = + wssPolicyFactory.createX509TokenElement(); + x509Token.setIncludeToken(INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); + policyElement1.getPolicyOrAllOrExactlyOne().add(x509Token); + + PolicyElement policyElement2 = + wsPolicyFactory.createPolicyElement(); + x509Token.getAny().add(policyElement2); + + WssX509V3Token10Element wssX509v3TokenElement = + wssPolicyFactory.createWssX509V3Token10Element(); + policyElement2.getPolicyOrAllOrExactlyOne().add( + wssX509v3TokenElement); + } else if(SecurityMechanism.WSS_NULL_USERNAME_TOKEN_URI. + equals(secMech)) { + UsernameTokenElement userNameTokenElement = + wssPolicyFactory.createUsernameTokenElement(); + userNameTokenElement.setIncludeToken( + INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); + policyElement1.getPolicyOrAllOrExactlyOne().add( + userNameTokenElement); + + PolicyElement policyElement2 = + wsPolicyFactory.createPolicyElement(); + userNameTokenElement.getAny().add(policyElement2); + + WssUsernameToken10Element wssUserTokenElement = + wssPolicyFactory.createWssUsernameToken10Element(); + policyElement2.getPolicyOrAllOrExactlyOne().add( + wssUserTokenElement); + } else if(SecurityMechanism.WSS_NULL_SAML2_HK_URI.equals(secMech)|| + SecurityMechanism.WSS_NULL_SAML2_SV_URI.equals(secMech)) { + SamlTokenElement samlTokenElement = + wssPolicyFactory.createSamlTokenElement(); + samlTokenElement.setIncludeToken( + INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); + policyElement1.getPolicyOrAllOrExactlyOne().add( + samlTokenElement); + + PolicyElement policyElement2 = + wsPolicyFactory.createPolicyElement(); + samlTokenElement.getAny().add(policyElement2); + + WssSamlV20Token11Element wssSaml20TokenElement = + wssPolicyFactory.createWssSamlV20Token11Element(); + policyElement2.getPolicyOrAllOrExactlyOne().add( + wssSaml20TokenElement); + + } else if(SecurityMechanism.WSS_NULL_SAML_HK_URI.equals(secMech)|| + SecurityMechanism.WSS_NULL_SAML_SV_URI.equals(secMech)) { + SamlTokenElement samlTokenElement = + wssPolicyFactory.createSamlTokenElement(); + samlTokenElement.setIncludeToken( + INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); + policyElement1.getPolicyOrAllOrExactlyOne().add( + samlTokenElement); + + PolicyElement policyElement2 = + wsPolicyFactory.createPolicyElement(); + samlTokenElement.getAny().add(policyElement2); + + WssSamlV11Token11Element wssSaml11TokenElement = + wssPolicyFactory.createWssSamlV11Token11Element(); + policyElement2.getPolicyOrAllOrExactlyOne().add( + wssSaml11TokenElement); + + } + + return ite; + + + } + + private RecipientTokenElement createRecipientTokenElement() + throws WSSPolicyException { + + RecipientTokenElement rte = + wssPolicyFactory.createRecipientTokenElement(); + PolicyElement policyElement1 = + wsPolicyFactory.createPolicyElement(); + rte.setPolicy(policyElement1); + X509TokenElement x509Token = + wssPolicyFactory.createX509TokenElement(); + x509Token.setIncludeToken(INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); + policyElement1.getPolicyOrAllOrExactlyOne().add(x509Token); + + PolicyElement policyElement2 = + wsPolicyFactory.createPolicyElement(); + x509Token.getAny().add(policyElement2); + + WssX509V3Token10Element wssX509v3TokenElement = + wssPolicyFactory.createWssX509V3Token10Element(); + policyElement2.getPolicyOrAllOrExactlyOne().add( + wssX509v3TokenElement); + return rte; + + } + + private AlgorithmSuiteElement createAlgorithmSuiteElement( + ProviderConfig config) throws WSSPolicyException { + + AlgorithmSuiteElement ase = + wssPolicyFactory.createAlgorithmSuiteElement(); + PolicyElement policyElement1 = + wsPolicyFactory.createPolicyElement(); + ase.setPolicy(policyElement1); + String encAlg = config.getEncryptionAlgorithm(); + int keyStrength = config.getEncryptionStrength(); + if("AES".equals(encAlg)) { + if(keyStrength == 128) { + Basic128Element basic128Element = + wssPolicyFactory.createBasic128Element(); + policyElement1.getPolicyOrAllOrExactlyOne().add( + basic128Element); + } else if (keyStrength == 192) { + Basic192Element basic192Element = + wssPolicyFactory.createBasic192Element(); + policyElement1.getPolicyOrAllOrExactlyOne().add( + basic192Element); + } else if (keyStrength == 256) { + Basic256Element basic256Element = + wssPolicyFactory.createBasic256Element(); + policyElement1.getPolicyOrAllOrExactlyOne().add( + basic256Element); + } else { + if(WSSUtils.debug.warningEnabled()) { + WSSUtils.debug.warning("WSSPolicyManager.create" + + "AlgorithmSuite: Invalid key strenghth for AES" + + keyStrength); + } + } + } else if ("DESede".equals(encAlg)) { + TripleDesElement tripleDesElement = + wssPolicyFactory.createTripleDesElement(); + policyElement1.getPolicyOrAllOrExactlyOne().add( + tripleDesElement); + } else { + return null; + } + return ase; + + } + + private LayoutElement createLayoutElement() throws WSSPolicyException { + LayoutElement le = + wssPolicyFactory.createLayoutElement(); + PolicyElement policyElement1 = + wsPolicyFactory.createPolicyElement(); + le.setPolicy(policyElement1); + policyElement1.getPolicyOrAllOrExactlyOne().add( + wssPolicyFactory.createLaxElement()); + return le; + + + } + + + private ProtectionTokenElement createProtectionTokenElement( + String secMech) throws WSSPolicyException { + + ProtectionTokenElement protectionElement = + wssPolicyFactory.createProtectionTokenElement(); + PolicyElement policyElement1 = + wsPolicyFactory.createPolicyElement(); + protectionElement.setPolicy(policyElement1); + + if(SecurityMechanism.WSS_NULL_KERBEROS_TOKEN_URI.equals(secMech)) { + KerberosTokenElement kerberosTokenElement = + wssPolicyFactory.createKerberosTokenElement(); + kerberosTokenElement.setIncludeToken( + INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); + policyElement1.getPolicyOrAllOrExactlyOne().add( + kerberosTokenElement); + + PolicyElement policyElement2 = + wsPolicyFactory.createPolicyElement(); + kerberosTokenElement.getAny().add(policyElement2); + + WssKerberosV5ApReqToken11Element wssKrbElement = + wssPolicyFactory.createWssKerberosV5ApReqToken11Element(); + policyElement2.getPolicyOrAllOrExactlyOne().add( + wssKrbElement); + } + + return protectionElement; + + } + + private IssuedTokenElement createIssuedTokenElement() + throws WSSPolicyException { + + IssuedTokenElement issuedTokenElement = + wssPolicyFactory.createIssuedTokenElement(); + issuedTokenElement.setIncludeToken( + INCLUDE_TOKEN_ALWAYS_TO_RECIPIENT); + EndpointReferenceElement epr = + wsAddressingFactory.createEndpointReferenceElement(); + AttributedURIType uriType = + wsAddressingFactory.createAttributedURIType(); + uriType.setValue("SunSTS"); + epr.setAddress(uriType); + issuedTokenElement.setIssuer(epr); + RequestSecurityTokenTemplateType rstTemplate = + wssPolicyFactory.createRequestSecurityTokenTemplateType(); + issuedTokenElement.setRequestSecurityTokenTemplate(rstTemplate); + return issuedTokenElement; + + + } + + private ProviderConfig getSTSConfig() throws WSSPolicyException { + try { + STSRemoteConfig stsConfig = new STSRemoteConfig(); + ProviderConfig pc = ProviderConfig.getProvider( + stsConfig.getIssuer(), ProviderConfig.WSP, false); + pc.setKDCDomain(stsConfig.getKDCDomain()); + pc.setKDCServer(stsConfig.getKDCServer()); + pc.setKerberosServicePrincipal( + stsConfig.getKerberosServicePrincipal()); + pc.setKeyTabFile(stsConfig.getKeyTabFile()); + pc.setValidateKerberosSignature( + stsConfig.isValidateKerberosSignature()); + pc.setSecurityMechanisms(stsConfig.getSecurityMechanisms()); + pc.setUsers(stsConfig.getUsers()); + pc.setRequestEncryptEnabled(stsConfig.isRequestEncryptEnabled()); + pc.setRequestHeaderEncryptEnabled( + stsConfig.isRequestHeaderEncryptEnabled()); + pc.setRequestSignEnabled(stsConfig.isRequestSignEnabled()); + pc.setResponseEncryptEnabled(stsConfig.isResponseEncryptEnabled()); + pc.setResponseSignEnabled(stsConfig.isResponseSignEnabled()); + pc.setPreserveSecurityHeader(false); + pc.setPublicKeyAlias(stsConfig.getPublicKeyAlias()); + pc.setKeyAlias(stsConfig.getPrivateKeyAlias()); + pc.setEncryptionAlgorithm(stsConfig.getEncryptionAlgorithm()); + pc.setEncryptionStrength(stsConfig.getEncryptionStrength()); + pc.setSigningRefType(stsConfig.getSigningRefType()); + pc.setAuthenticationChain(stsConfig.getAuthenticationChain()); + pc.setDetectUserTokenReplay( + stsConfig.isUserTokenDetectReplayEnabled()); + pc.setMessageReplayDetection( + stsConfig.isMessageReplayDetectionEnabled()); + pc.setDNSClaim(stsConfig.getIssuer()); + pc.setSignedElements(stsConfig.getSignedElements()); + return pc; + } catch (Exception ex) { + WSSUtils.debug.error("WSSPolicyManager.getSTSConfig: " + + " Exception ", ex); + throw new WSSPolicyException(ex.getMessage()); + } + } +} diff --git a/openam-federation/OpenFM/src/main/java/com/sun/identity/wss/policy/WSSPolicyUtils.java b/openam-federation/OpenFM/src/main/java/com/sun/identity/wss/policy/WSSPolicyUtils.java index 442d2985d5..e106c000e1 100644 --- a/openam-federation/OpenFM/src/main/java/com/sun/identity/wss/policy/WSSPolicyUtils.java +++ b/openam-federation/OpenFM/src/main/java/com/sun/identity/wss/policy/WSSPolicyUtils.java @@ -28,10 +28,10 @@ package com.sun.identity.wss.policy; import java.io.StringWriter; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; public class WSSPolicyUtils { diff --git a/openam-federation/openam-federation-library/pom.xml b/openam-federation/openam-federation-library/pom.xml index a65c42c15f..b196e2591a 100644 --- a/openam-federation/openam-federation-library/pom.xml +++ b/openam-federation/openam-federation-library/pom.xml @@ -225,6 +225,18 @@ org.apache.santuario xmlsec + + + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.2 + + + org.glassfish.jaxb + jaxb-runtime + 4.0.5 + diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/cot/CircleOfTrustManager.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/cot/CircleOfTrustManager.java index 57ae00797a..593f4fe49d 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/cot/CircleOfTrustManager.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/cot/CircleOfTrustManager.java @@ -28,7 +28,7 @@ */ package com.sun.identity.cot; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import com.sun.identity.federation.meta.IDFFCOTUtils; import com.sun.identity.federation.meta.IDFFMetaException; import com.sun.identity.federation.meta.IDFFMetaManager; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/key/KeyUtil.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/key/KeyUtil.java index c9ea678af5..9e22ead19c 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/key/KeyUtil.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/key/KeyUtil.java @@ -295,7 +295,7 @@ public static KeyDescriptorType getKeyDescriptor( KeyDescriptorType noUsageKD = null; while (iter.hasNext()) { kd = (KeyDescriptorType)iter.next(); - use = kd.getUse(); + use = kd.getUse() != null ? kd.getUse().value() : null; if ((use == null) || (use.trim().length() == 0)) { if (noUsageKD == null) { noUsageKD = kd; @@ -349,8 +349,9 @@ public static X509Certificate getCert(KeyDescriptorType kd) { return null; } X509DataElement data = (X509DataElement) ki.getContent().get(0); - byte[] bt = - ((com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataType.X509Certificate) + @SuppressWarnings("unchecked") + byte[] bt = + ((jakarta.xml.bind.JAXBElement) data.getX509IssuerSerialOrX509SKIOrX509SubjectName().get(0)). getValue(); CertificateFactory cf = null; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFCOTUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFCOTUtils.java index 5270fb2b5d..144a7f81ba 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFCOTUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFCOTUtils.java @@ -27,13 +27,15 @@ */ package com.sun.identity.federation.meta; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import com.sun.identity.cot.COTConstants; import com.sun.identity.federation.jaxb.entityconfig.AffiliationDescriptorConfigElement; import com.sun.identity.federation.jaxb.entityconfig.AttributeType; import com.sun.identity.federation.jaxb.entityconfig.BaseConfigType; import com.sun.identity.federation.jaxb.entityconfig.EntityConfigElement; +import com.sun.identity.federation.jaxb.entityconfig.IDPDescriptorConfigElement; import com.sun.identity.federation.jaxb.entityconfig.ObjectFactory; +import com.sun.identity.federation.jaxb.entityconfig.SPDescriptorConfigElement; import com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorElement; import com.sun.identity.shared.debug.Debug; import java.util.ArrayList; @@ -93,24 +95,23 @@ public void updateEntityConfig(String realm, String cotName,String entityID) atype.setName(COT_LIST); atype.getValue().add(cotName); // add to entityConfig - entityConfig = objFactory.createEntityConfigElement(); + entityConfig = new EntityConfigElement(); entityConfig.setEntityID(entityID); entityConfig.setHosted(false); // Decide which role EntityDescriptorElement includes // It could have one sp and one idp. if (IDFFMetaUtils.getSPDescriptor(entityDesc) != null) { - IDFFCOTUtils = objFactory.createSPDescriptorConfigElement(); + IDFFCOTUtils = new SPDescriptorConfigElement(); IDFFCOTUtils.getAttribute().add(atype); entityConfig.getSPDescriptorConfig().add(IDFFCOTUtils); } if (IDFFMetaUtils.getIDPDescriptor(entityDesc) != null) { - IDFFCOTUtils = objFactory.createIDPDescriptorConfigElement(); + IDFFCOTUtils = new IDPDescriptorConfigElement(); IDFFCOTUtils.getAttribute().add(atype); entityConfig.getIDPDescriptorConfig().add(IDFFCOTUtils); } if (entityDesc.getAffiliationDescriptor() != null) { - IDFFCOTUtils = - objFactory.createAffiliationDescriptorConfigElement(); + IDFFCOTUtils = new AffiliationDescriptorConfigElement(); IDFFCOTUtils.getAttribute().add(atype); entityConfig.setAffiliationDescriptorConfig(IDFFCOTUtils); } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaManager.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaManager.java index 431ae93ac7..1001a625aa 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaManager.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaManager.java @@ -58,7 +58,7 @@ import java.util.Set; import java.util.logging.Level; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; /** * The IDFFMetaManager provides methods to manage the Service and diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaSecurityUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaSecurityUtils.java index 73e880adca..42be00da2c 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaSecurityUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaSecurityUtils.java @@ -56,7 +56,7 @@ import java.util.HashSet; import java.util.Iterator; import java.util.Set; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; /** * The IDFFMetaSecurityUtils class provides metadata security @@ -246,7 +246,7 @@ private static void updateKeyDescriptor(ProviderDescriptorType desp, List keys = desp.getKeyDescriptor(); for (Iterator iter = keys.iterator(); iter.hasNext();) { KeyDescriptorElement key = (KeyDescriptorElement) iter.next(); - if (key.getUse().equalsIgnoreCase(newKey.getUse())) { + if (key.getUse() != null && key.getUse().equals(newKey.getUse())) { iter.remove(); } } @@ -262,7 +262,7 @@ private static void removeKeyDescriptor(ProviderDescriptorType desp, } for (Iterator iter = keys.iterator(); iter.hasNext();) { KeyDescriptorElement key = (KeyDescriptorElement) iter.next(); - if (key.getUse().equalsIgnoreCase(keyUse)) { + if (key.getUse() != null && key.getUse().value().equalsIgnoreCase(keyUse)) { iter.remove(); } } @@ -271,23 +271,19 @@ private static void removeKeyDescriptor(ProviderDescriptorType desp, private static void setExtendedAttributeValue( BaseConfigType config, String attrName, Set attrVal) throws IDFFMetaException { - try { - List attributes = config.getAttribute(); - for(Iterator iter = attributes.iterator(); iter.hasNext();) { - AttributeType avp = (AttributeType)iter.next(); - if (avp.getName().trim().equalsIgnoreCase(attrName)) { - iter.remove(); - } - } - if (attrVal != null) { - ObjectFactory factory = new ObjectFactory(); - AttributeType atype = factory.createAttributeType(); - atype.setName(attrName); - atype.getValue().addAll(attrVal); - config.getAttribute().add(atype); + List attributes = config.getAttribute(); + for(Iterator iter = attributes.iterator(); iter.hasNext();) { + AttributeType avp = (AttributeType)iter.next(); + if (avp.getName().trim().equalsIgnoreCase(attrName)) { + iter.remove(); } - } catch (JAXBException e) { - throw new IDFFMetaException(e); + } + if (attrVal != null) { + ObjectFactory factory = new ObjectFactory(); + AttributeType atype = factory.createAttributeType(); + atype.setName(attrName); + atype.getValue().addAll(attrVal); + config.getAttribute().add(atype); } } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaUtils.java index 820c1a255f..6aacf143ce 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/IDFFMetaUtils.java @@ -56,10 +56,10 @@ import java.util.Map; import java.util.Set; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import org.w3c.dom.Node; import org.xml.sax.InputSource; @@ -90,7 +90,7 @@ public class IDFFMetaUtils { private static final String PROP_JAXB_FORMATTED_OUTPUT = "jaxb.formatted.output"; private static final String PROP_NAMESPACE_PREFIX_MAPPER = - "com.sun.xml.bind.namespacePrefixMapper"; + "org.glassfish.jaxb.namespacePrefixMapper"; private static NamespacePrefixMapperImpl nsPrefixMapper = new NamespacePrefixMapperImpl(); diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/NamespacePrefixMapperImpl.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/NamespacePrefixMapperImpl.java index 426210a7fe..eb7fc1e578 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/NamespacePrefixMapperImpl.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/meta/NamespacePrefixMapperImpl.java @@ -29,7 +29,7 @@ package com.sun.identity.federation.meta; -import com.sun.xml.bind.marshaller.NamespacePrefixMapper; +import org.glassfish.jaxb.runtime.marshaller.NamespacePrefixMapper; public class NamespacePrefixMapperImpl extends NamespacePrefixMapper { diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/util/FSServiceUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/util/FSServiceUtils.java index 88438546fb..8bea7a5aa9 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/util/FSServiceUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/util/FSServiceUtils.java @@ -936,9 +936,9 @@ public static String getAssertionConsumerServiceURL( List urls = spDescriptor.getAssertionConsumerServiceURL(); if (urls != null && !urls.isEmpty()) { Iterator iter = urls.iterator(); - SPDescriptorType.AssertionConsumerServiceURLType curUrl = null; + SPDescriptorType.AssertionConsumerServiceURL curUrl = null; while (iter.hasNext()) { - curUrl = (SPDescriptorType.AssertionConsumerServiceURLType) + curUrl = (SPDescriptorType.AssertionConsumerServiceURL) iter.next(); String curId = curUrl.getId(); String curValue = curUrl.getValue(); diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/DiscoveryService.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/DiscoveryService.java index 925bce4764..b4574ab13e 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/DiscoveryService.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/DiscoveryService.java @@ -37,7 +37,7 @@ import java.util.Collection; import java.util.logging.Level; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.w3c.dom.*; import com.sun.identity.shared.xml.XMLUtils; @@ -313,21 +313,13 @@ private org.w3c.dom.Element lookup( private com.sun.identity.liberty.ws.disco.jaxb.ModifyResponseElement update( com.sun.identity.liberty.ws.disco.jaxb.ModifyType modify, com.sun.identity.liberty.ws.soapbinding.Message message) - throws JAXBException { DiscoUtils.debug.message("in update."); ModifyResponseElement resp = null; StatusType status = null; - try { - resp = - DiscoUtils.getDiscoFactory().createModifyResponseElement(); - status = DiscoUtils.getDiscoFactory().createStatusType(); - resp.setStatus(status); - } catch (JAXBException je) { - DiscoUtils.debug.error("DiscoService.update: couldn't form " - + "ModifyResponse."); - throw je; - } + resp = new com.sun.identity.liberty.ws.disco.jaxb.ModifyResponseElement(); + status = DiscoUtils.getDiscoFactory().createStatusType(); + resp.setStatus(status); String providerID = DiscoServiceManager.getDiscoProviderID(); String resourceID = null; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/common/DiscoSDKUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/common/DiscoSDKUtils.java index 8c107f312f..cb750de317 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/common/DiscoSDKUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/common/DiscoSDKUtils.java @@ -38,10 +38,10 @@ import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.namespace.QName; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import java.util.ResourceBundle; import com.sun.identity.shared.debug.Debug; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/common/DiscoServiceManager.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/common/DiscoServiceManager.java index 924bcf2a33..03a96d9e95 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/common/DiscoServiceManager.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/disco/common/DiscoServiceManager.java @@ -39,7 +39,7 @@ import java.util.StringTokenizer; import javax.xml.transform.stream.StreamSource; -import javax.xml.bind.*; +import jakarta.xml.bind.*; import com.sun.identity.common.SystemConfigurationUtil; import com.sun.identity.liberty.ws.disco.plugins.Default64ResourceIDMapper; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/PPRequestHandler.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/PPRequestHandler.java index e4ed2d0e4f..d44f5c8f40 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/PPRequestHandler.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/PPRequestHandler.java @@ -68,7 +68,7 @@ import java.util.Date; import java.util.logging.Level; import javax.xml.namespace.QName; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.w3c.dom.Document; //Interaction imports @@ -77,7 +77,8 @@ import com.sun.identity.liberty.ws.interaction.InteractionManager; import com.sun.identity.liberty.ws.interaction.InteractionUtils; import com.sun.identity.liberty.ws.interaction.jaxb.InquiryElement; -import com.sun.identity.liberty.ws.interaction.jaxb.InquiryType.Confirm; +import com.sun.identity.liberty.ws.interaction.jaxb.InquiryElementType; +import com.sun.identity.liberty.ws.interaction.jaxb.ConfirmElement; import com.sun.identity.liberty.ws.interaction.jaxb.TextElement; import com.sun.identity.liberty.ws.interaction.jaxb.InteractionResponseElement; @@ -131,7 +132,7 @@ public Object processDSTRequest( QueryElement query = (QueryElement)request; Document doc = IDPPUtils.getDocumentBuilder().newDocument(); IDPPUtils.getMarshaller().setProperty( - "com.sun.xml.bind.namespacePrefixMapper", + "org.glassfish.jaxb.namespacePrefixMapper", new NamespacePrefixMapperImpl()); IDPPUtils.getMarshaller().marshal(query, doc); return processQueryRequest(query, providerID, requestMsg, doc); @@ -139,7 +140,7 @@ public Object processDSTRequest( ModifyElement modify = (ModifyElement)request; Document doc = IDPPUtils.getDocumentBuilder().newDocument(); IDPPUtils.getMarshaller().setProperty( - "com.sun.xml.bind.namespacePrefixMapper", + "org.glassfish.jaxb.namespacePrefixMapper", new NamespacePrefixMapperImpl()); IDPPUtils.getMarshaller().marshal(modify, doc); return processModifyRequest(modify, providerID, requestMsg, doc); @@ -235,8 +236,8 @@ public Object processDSTRequest( int queryItemsSize = queryItems.size(); for(int i= 0; i < queryItemsSize; i++) { boolean isQueryItemValid = true; - QueryType.QueryItemType item = - (QueryType.QueryItemType)queryItems.get(i); + QueryType.QueryItem item = + (QueryType.QueryItem)queryItems.get(i); String select = item.getSelect(); String ref = item.getItemID(); if(ref == null || ref.length() == 0) { @@ -330,10 +331,10 @@ public Object processDSTRequest( } if(isQueryItemValid) { - Calendar changedSince = item.getChangedSince(); + javax.xml.datatype.XMLGregorianCalendar changedSince = item.getChangedSince(); Date date = null; if(changedSince != null) { - date = changedSince.getTime(); + date = changedSince.toGregorianCalendar().getTime(); } DSTQueryItem dstQueryItem = new DSTQueryItem(select, item.isIncludeCommonAttributes(), @@ -375,15 +376,8 @@ private List getData(Map queryResults) throws IDPPException { Set queryItems = queryResults.keySet(); Iterator iter = queryItems.iterator(); while(iter.hasNext()) { - QueryResponseType.DataType data = null; - try { - data = IDPPUtils.getIDPPFactory(). - createQueryResponseTypeDataType(); - } catch (JAXBException je) { - IDPPUtils.debug.error("PPRequestHandler:getData:jaxb fail", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } + QueryResponseType.Data data = null; + data = IDPPUtils.getIDPPFactory().createQueryResponseTypeData(); DSTQueryItem dstQueryItem = (DSTQueryItem)iter.next(); List values = (List)queryResults.get(dstQueryItem); if(values.isEmpty()) { @@ -414,8 +408,7 @@ private StatusType setStatusType(boolean success, throw new IDPPException( IDPPUtils.bundle.getString("nullInputParams")); } - try { - StatusType status = IDPPUtils.getIDPPFactory().createStatusType(); + StatusType status = IDPPUtils.getIDPPFactory().createStatusType(); if(success) { QName qName = new QName(IDPPConstants.XMLNS_IDPP, statusCode); status.setCode(qName); @@ -437,11 +430,6 @@ private StatusType setStatusType(boolean success, status.getStatus().add(secondStatus); } return status; - } catch (JAXBException je) { - IDPPUtils.debug.error("PPRequestHandler:setStatusType:" + - "jaxb failure:" , je); - throw new IDPPException(IDPPUtils.bundle.getString("jaxbFailure")); - } } /** @@ -513,8 +501,8 @@ public ModifyResponseElement processModifyRequest( List dstModifications = new ArrayList(); int size = modificationElements.size(); for (int i=0; i < size; i++) { - ModifyType.ModificationType modificationType = - (ModifyType.ModificationType)modificationElements.get(i); + ModifyType.Modification modificationType = + (ModifyType.Modification)modificationElements.get(i); String select = modificationType.getSelect(); String ref = modificationType.getId(); @@ -609,7 +597,7 @@ public ModifyResponseElement processModifyRequest( } boolean override = modificationType.isOverrideAllowed(); - ModifyType.ModificationType.NewDataType newData = + ModifyType.Modification.NewData newData = modificationType.getNewData(); DSTModification dstModification = new DSTModification(); dstModification.setSelect(select); @@ -675,18 +663,12 @@ public QueryResponseElement getQueryResponse(QueryElement query) throw new IDPPException( IDPPUtils.bundle.getString("nullInputParams")); } - try { - QueryResponseElement response = - IDPPUtils.getIDPPFactory().createQueryResponseElement(); - response.setStatus(setStatusType(true, DSTConstants.OK, null,null)); - response.setId(SAMLUtils.generateID()); - response.setItemIDRef(query.getItemID()); - return response; - } catch (JAXBException je) { - IDPPUtils.debug.error("PPRequestHandler:getQueryResponse:" + - "JAXB failure.", je); - throw new IDPPException(IDPPUtils.bundle.getString("jaxbFailure")); - } + QueryResponseElement response = + new QueryResponseElement(); + response.setStatus(setStatusType(true, DSTConstants.OK, null,null)); + response.setId(SAMLUtils.generateID()); + response.setItemIDRef(query.getItemID()); + return response; } @@ -704,18 +686,12 @@ public ModifyResponseElement getModifyResponse(ModifyElement modify) throw new IDPPException( IDPPUtils.bundle.getString("nullInputParams")); } - try { - ModifyResponseElement response = - IDPPUtils.getIDPPFactory().createModifyResponseElement(); - response.setStatus(setStatusType(true, DSTConstants.OK, null,null)); - response.setId(SAMLUtils.generateID()); - response.setItemIDRef(modify.getItemID()); - return response; - } catch (JAXBException je) { - IDPPUtils.debug.error("PPRequestHandler:getModifyResponse:" + - "JAXB failure.", je); - throw new IDPPException(IDPPUtils.bundle.getString("jaxbFailure")); - } + ModifyResponseElement response = + new com.sun.identity.liberty.ws.idpp.jaxb.ModifyResponseElement(); + response.setStatus(setStatusType(true, DSTConstants.OK, null,null)); + response.setId(SAMLUtils.generateID()); + response.setItemIDRef(modify.getItemID()); + return response; } @@ -762,7 +738,7 @@ private void initInteraction(boolean isQuery, Map interactResourceMap, try { //Create Interaction inquiry element InquiryElement inquiry = - JAXBObjectFactory.getObjectFactory().createInquiryElement(); + new InquiryElement(); inquiry.setTitle(IDPPUtils.bundle.getString( IDPPConstants.INTERACTION_TITLE)); @@ -811,7 +787,7 @@ private void initInteraction(boolean isQuery, Map interactResourceMap, * @return Confirm Interaction JAXB Confirm Element * @exception IDPPException */ - private Confirm getInteractConfirmElement( + private InquiryElementType getInteractConfirmElement( boolean isQuery, String resource, Message msg) throws IDPPException { @@ -828,8 +804,7 @@ private Confirm getInteractConfirmElement( } try { - Confirm confirmElement = - JAXBObjectFactory.getObjectFactory().createInquiryTypeConfirm(); + ConfirmElement confirmElement = new ConfirmElement(); PPInteractionHelper helper = new PPInteractionHelper(getLanguage(msg)); confirmElement.setName(resource); @@ -882,7 +857,7 @@ private List getInteractTextElements( while(iter.hasNext()) { String resourceKey = (String)iter.next(); TextElement textElement = - JAXBObjectFactory.getObjectFactory().createTextElement(); + new TextElement(); textElement.setName(resourceKey); textElement.setLabel((String)interactQueries.get(resourceKey)); textElement.setMinChars(helper.getTextMinChars(resourceKey)); diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/PersonalProfile.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/PersonalProfile.java index 8429f0116a..545b23d23a 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/PersonalProfile.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/PersonalProfile.java @@ -39,7 +39,7 @@ import java.util.StringTokenizer; import java.util.Iterator; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.w3c.dom.Node; import org.w3c.dom.Document; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/common/IDPPUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/common/IDPPUtils.java index dab1164e2a..a65291964c 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/common/IDPPUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/common/IDPPUtils.java @@ -57,11 +57,11 @@ import com.sun.identity.plugin.datastore.DataStoreProviderManager; import com.sun.identity.saml.common.SAMLUtils; import com.sun.identity.shared.xml.XMLUtils; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import javax.xml.parsers.DocumentBuilder; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; -import javax.xml.bind.JAXBContext; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; import javax.xml.parsers.ParserConfigurationException; /** @@ -187,7 +187,7 @@ public static QueryElement createQueryElement(List queryExpressions, String resourceID, boolean includeCommonAttr) throws JAXBException, IDPPException { - QueryElement query = idppFactory.createQueryElement(); + QueryElement query = new QueryElement(); if(queryExpressions == null || resourceID == null || queryExpressions.size() == 0) { debug.error("IDPPUtils:createQueryElement: Either query" + @@ -197,8 +197,8 @@ public static QueryElement createQueryElement(List queryExpressions, query.setResourceID(createResourceIDElement(resourceID)); query.setId(SAMLUtils.generateID()); for (int i =0; i < queryExpressions.size(); i++) { - QueryType.QueryItemType item = - idppFactory.createQueryTypeQueryItemType(); + QueryType.QueryItem item = + idppFactory.createQueryTypeQueryItem(); item.setId(SAMLUtils.generateID()); item.setIncludeCommonAttributes(includeCommonAttr); item.setItemID(SAMLUtils.generateID()); @@ -234,7 +234,7 @@ public static ResourceIDElement createResourceIDElement (String resourceID) throw new IDPPException("ResourceID is null"); } ResourceIDElement resourceIDElement = - idppFactory.createResourceIDElement(); + new ResourceIDElement(); resourceIDElement.setValue(resourceID); return resourceIDElement; } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPAddressCard.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPAddressCard.java index 22517105fc..4c09c114b3 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPAddressCard.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPAddressCard.java @@ -69,8 +69,7 @@ public IDPPAddressCard() { public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPAddressCard:getContainerObject:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); Set addressCards = (Set)userMap.get( getAttributeMapper().getDSAttribute( @@ -91,19 +90,12 @@ public Object getContainerObject(Map userMap) throws IDPPException { } return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPContainers:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** * Parses the entry and creates an address card element from the given map */ - private AddressCardElement parseEntry(String entry, Map userMap) - throws JAXBException { + private AddressCardElement parseEntry(String entry, Map userMap) { if(entry == null || entry.length() == 0) { return null; @@ -116,7 +108,7 @@ private AddressCardElement parseEntry(String entry, Map userMap) } AddressCardElement ace = - IDPPUtils.getIDPPFactory().createAddressCardElement(); + new AddressCardElement(); StringTokenizer st = new StringTokenizer(entry, IDPPConstants.ATTRIBUTE_SEPARATOR); @@ -182,7 +174,7 @@ private AddressCardElement parseEntry(String entry, Map userMap) return null; } - AddressType ae = IDPPUtils.getIDPPFactory().createAddressElement(); + AddressType ae = new AddressElement(); ae.setC(getDSTString(country)); ae.setSt(getDSTString(state)); ae.setL(getDSTString(city)); diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPBaseContainer.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPBaseContainer.java index 1152d54029..5cd5b65c7c 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPBaseContainer.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPBaseContainer.java @@ -32,7 +32,7 @@ import static org.forgerock.openam.utils.Time.*; import com.sun.identity.shared.datastruct.CollectionHelper; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import java.util.Set; import java.util.HashSet; import java.util.Map; @@ -142,9 +142,9 @@ protected Map getAttributeMap(String attr, Object obj, Map map) { value = uri.getValue(); } else if (obj instanceof DSTDate) { DSTDate date = (DSTDate)obj; - Calendar cal = date.getValue(); + javax.xml.datatype.XMLGregorianCalendar cal = date.getValue(); if(cal != null) { - value = DateFormat.getDateInstance().format(cal.getTime()); + value = DateFormat.getDateInstance().format(cal.toGregorianCalendar().getTime()); } } else if (obj instanceof DSTInteger) { @@ -153,7 +153,7 @@ protected Map getAttributeMap(String attr, Object obj, Map map) { } else if (obj instanceof DSTMonthDay) { DSTMonthDay dstMon = (DSTMonthDay)obj; - value = dstMon.getValue(); + value = dstMon.getValue() != null ? dstMon.getValue().toString() : null; } if(value != null) { @@ -202,14 +202,9 @@ protected DSTString getDSTString(String value) { IDPPUtils.debug.message("IDPPBaseContainer:getDSTString:null vals"); return null; } - try { - DSTString dstString = IDPPUtils.getIDPPFactory().createDSTString(); - dstString.setValue(value); - return dstString; - } catch (JAXBException je) { - IDPPUtils.debug.error("IDPPBaseContainer:getDSTString:jaxbFail",je); - return null; - } + DSTString dstString = IDPPUtils.getIDPPFactory().createDSTString(); + dstString.setValue(value); + return dstString; } /** @@ -228,7 +223,10 @@ protected DSTDate getDSTDate(String value) { DateFormat.getDateInstance(DateFormat.MEDIUM).parse(value); Calendar cal = getCalendarInstance(); cal.setTime(date); - dstDate.setValue(cal); + if (cal instanceof java.util.GregorianCalendar) { + dstDate.setValue(javax.xml.datatype.DatatypeFactory.newInstance() + .newXMLGregorianCalendar((java.util.GregorianCalendar) cal)); + } return dstDate; } catch(Exception e) { IDPPUtils.debug.error("IDPPBaseContainer:getDSTDate: Exception", e); @@ -249,7 +247,8 @@ protected DSTMonthDay getDSTMonthDay(String value) { try { DSTMonthDay dstMonthDay = IDPPUtils.getIDPPFactory().createDSTMonthDay(); - dstMonthDay.setValue(value); + dstMonthDay.setValue( + javax.xml.datatype.DatatypeFactory.newInstance().newXMLGregorianCalendar(value)); return dstMonthDay; } catch(Exception e) { IDPPUtils.debug.error("IDPPBaseContainer:getDSTMonthDay: " + @@ -269,14 +268,9 @@ protected DSTURI getDSTURI(String value) { IDPPUtils.debug.message("IDPPBaseContainer:getDSTURI:null vals"); return null; } - try { - DSTURI dstURI = IDPPUtils.getIDPPFactory().createDSTURI(); - dstURI.setValue(value); - return dstURI; - } catch(JAXBException je) { - IDPPUtils.debug.error("IDPPBaseContainer:getDSTURI: Exception", je); - return null; - } + DSTURI dstURI = IDPPUtils.getIDPPFactory().createDSTURI(); + dstURI.setValue(value); + return dstURI; } /** @@ -294,9 +288,6 @@ protected DSTInteger getDSTInteger(String value) { IDPPUtils.getIDPPFactory().createDSTInteger(); dstInteger.setValue(new BigInteger(value)); return dstInteger; - } catch(JAXBException je) { - IDPPUtils.debug.error("IDPPBaseContainer:getDSTInteger:Error", je); - return null; } catch(NumberFormatException nfe) { IDPPUtils.debug.error("IDPPBaseContainer:getDSTInteger: " + "Invalid number", nfe); @@ -315,7 +306,6 @@ protected AnalyzedNameType getAnalyzedName(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPContainers:getAnalyzedName:Init"); AnalyzedNameType analyzedName = null; - try { analyzedName = IDPPUtils.getIDPPFactory().createAnalyzedNameType(); String value = CollectionHelper.getMapAttr( @@ -353,12 +343,6 @@ userMap, getAttributeMapper().getDSAttribute( analyzedName.setMN(getDSTString(value)); } return analyzedName; - } catch (JAXBException je) { - IDPPUtils.debug.error("IDPPContainers:getAnalyzedName: " + - "JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** @@ -379,15 +363,14 @@ public Document toXMLDocument(Map userMap) try { IDPPUtils.getMarshaller().marshal(getContainerObject(userMap),doc); return doc; - } catch (JAXBException je) { - IDPPUtils.debug.error("IDPPBaseContainer:toXMLDocument:"+ - "JAXB exception while marshalling container .", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); } catch(IDPPException ie) { IDPPUtils.debug.error("IDPPBaseContainer:toXMLDocument:" + "Error retrieving common name.", ie); throw new IDPPException(ie); + } catch(JAXBException je) { + IDPPUtils.debug.error("IDPPBaseContainer:toXMLDocument:" + + "JAXB marshalling error.", je); + throw new IDPPException(je); } } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPCommonName.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPCommonName.java index d48fdffb7f..50a149661b 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPCommonName.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPCommonName.java @@ -67,9 +67,9 @@ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPContainers:getContainerObject:Init"); try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); CommonNameElement ce = - IDPPUtils.getIDPPFactory().createCommonNameElement(); + new CommonNameElement(); String cn = CollectionHelper.getMapAttr( userMap, getAttributeMapper().getDSAttribute( @@ -95,11 +95,6 @@ userMap, getAttributeMapper().getDSAttribute( ppType.setCommonName(ce); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPContainers:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); } catch (IDPPException ie) { IDPPUtils.debug.error("IDPPContainers:getContainerObject:" + "Error while creating common name.", ie); diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPDemographics.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPDemographics.java index 66b776fd64..afc67f0001 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPDemographics.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPDemographics.java @@ -67,10 +67,9 @@ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPDemographics:getContainerObject:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); DemographicsElement de = - IDPPUtils.getIDPPFactory().createDemographicsElement(); + new DemographicsElement(); String displayLang = CollectionHelper.getMapAttr(userMap, getAttributeMapper().getDSAttribute( @@ -112,12 +111,6 @@ public Object getContainerObject(Map userMap) throws IDPPException { ppType.setDemographics(de); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPDemographics:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEmergencyContact.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEmergencyContact.java index 8b0ef8ebdf..9861b48903 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEmergencyContact.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEmergencyContact.java @@ -63,22 +63,15 @@ public IDPPEmergencyContact() { */ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPEmergencyContact:getContainerObject:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); EmergencyContactElement ec = - IDPPUtils.getIDPPFactory().createEmergencyContactElement(); + new EmergencyContactElement(); String emergencyContact = CollectionHelper.getMapAttr(userMap, getAttributeMapper().getDSAttribute( IDPPConstants.EMERGENCY_CONTACT_ELEMENT).toLowerCase()); ec.setValue(emergencyContact); ppType.setEmergencyContact(ec); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPEmergencyContact:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEmploymentIdentity.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEmploymentIdentity.java index f9cb926c79..1ec5c4ba45 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEmploymentIdentity.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEmploymentIdentity.java @@ -63,10 +63,9 @@ public IDPPEmploymentIdentity() { */ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPEmploymentIdentity:getContainerObj:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); EmploymentIdentityElement ei = - IDPPUtils.getIDPPFactory().createEmploymentIdentityElement(); + new EmploymentIdentityElement(); String jobTitle = CollectionHelper.getMapAttr( userMap, getAttributeMapper().getDSAttribute( IDPPConstants.JOB_TITLE_ELEMENT).toLowerCase()); @@ -93,12 +92,6 @@ userMap, getAttributeMapper().getDSAttribute( } ppType.setEmploymentIdentity(ei); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPContainers:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEncryptKey.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEncryptKey.java index d53d7208c2..4cf7210cc2 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEncryptKey.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPEncryptKey.java @@ -63,10 +63,9 @@ public IDPPEncryptKey() { */ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPEncryptKey:getContainerObject:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); EncryptKeyElement encryptKey = - IDPPUtils.getIDPPFactory().createEncryptKeyElement(); + new EncryptKeyElement(); byte[][] certBytes = (byte[][]) userMap.get( getAttributeMapper().getDSAttribute( IDPPConstants.ENCRYPT_KEY_ELEMENT).toLowerCase()); @@ -76,12 +75,12 @@ public Object getContainerObject(Map userMap) throws IDPPException { new com.sun.identity.liberty.ws.common.jaxb.xmlsig. ObjectFactory(); - com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataType - x509DataType = of.createX509DataElement(); + com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataElement + x509DataType = new com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataElement(); - com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataType. - X509Certificate cert = of.createX509DataTypeX509Certificate( - certBytes[0]); + jakarta.xml.bind.JAXBElement cert = new jakarta.xml.bind.JAXBElement<>( + new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"), + byte[].class, certBytes[0]); x509DataType. getX509IssuerSerialOrX509SKIOrX509SubjectName().add(cert); @@ -90,12 +89,6 @@ public Object getContainerObject(Map userMap) throws IDPPException { ppType.setEncryptKey(encryptKey); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPEncryptKey:getEncryptKey: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** @@ -172,13 +165,11 @@ public Map getDataMapForSelect(String select, List data) } Object certObj = certs.get(0); - if(certObj instanceof - com.sun.identity.liberty.ws.common.jaxb.xmlsig. - X509DataType.X509Certificate) { - com.sun.identity.liberty.ws.common.jaxb.xmlsig. - X509DataType.X509Certificate cert = - (com.sun.identity.liberty.ws.common.jaxb.xmlsig. - X509DataType.X509Certificate)certObj; + if(certObj instanceof jakarta.xml.bind.JAXBElement && + "X509Certificate".equals(((jakarta.xml.bind.JAXBElement)certObj).getName().getLocalPart())) { + @SuppressWarnings("unchecked") + jakarta.xml.bind.JAXBElement cert = + (jakarta.xml.bind.JAXBElement)certObj; certBytes = cert.getValue(); } else { IDPPUtils.debug.error("IDPPEncryptKey.getDataMapForSelect:" + diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPExtensionContainer.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPExtensionContainer.java index 9767a3f74f..333ddb8eb0 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPExtensionContainer.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPExtensionContainer.java @@ -68,10 +68,9 @@ public IDPPExtensionContainer() { */ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPContainers:getContainerObject:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); ExtensionElement ee = - IDPPUtils.getIDPPFactory().createExtensionElement(); + new ExtensionElement(); IDPPExtension extension = getExtensionContainerClass(); if(extension != null) { @@ -98,12 +97,6 @@ public Object getContainerObject(Map userMap) throws IDPPException { ppType.setExtension(ee); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPExtensionContainer:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** @@ -236,18 +229,12 @@ public Map getDataMapForSelect(String select, List data) private PPISExtensionElement getISExtension( String attrName, String attrValue) throws IDPPException { IDPPUtils.debug.message("IDPPExtensionContainer.getISExtension:Init"); - try { com.sun.identity.liberty.ws.idpp.plugin.jaxb.ObjectFactory fac = new com.sun.identity.liberty.ws.idpp.plugin.jaxb.ObjectFactory(); PPISExtensionElement ext = fac.createPPISExtensionElement(); ext.setName(attrName); ext.setValue(attrValue); return ext; - } catch (JAXBException je) { - IDPPUtils.debug.error("IDPPExtensionContainer.getISExtension:" + - "Fails in creating PP Extension element.", je); - throw new IDPPException(IDPPUtils.bundle.getString("jaxbFailure")); - } } /** diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPFacade.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPFacade.java index 3e2c2c3d16..06cbf68f5b 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPFacade.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPFacade.java @@ -66,10 +66,9 @@ public IDPPFacade() { public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPFacade:getContainerObject:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); FacadeElement fe = - IDPPUtils.getIDPPFactory().createFacadeElement(); + new FacadeElement(); String mugShot = CollectionHelper.getMapAttr( userMap, getAttributeMapper().getDSAttribute( @@ -109,12 +108,6 @@ userMap, getAttributeMapper().getDSAttribute( ppType.setFacade(fe); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPFacade:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPInformalName.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPInformalName.java index cd7dcbf069..032a6e538d 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPInformalName.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPInformalName.java @@ -61,10 +61,9 @@ public IDPPInformalName() { */ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPInformalName:getInformalName:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); InformalNameElement in = - IDPPUtils.getIDPPFactory().createInformalNameElement(); + new InformalNameElement(); String informalName = CollectionHelper.getMapAttr( userMap, getAttributeMapper().getDSAttribute( @@ -73,12 +72,6 @@ userMap, getAttributeMapper().getDSAttribute( ppType.setInformalName(in); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPInformalName:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPLegalIdentity.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPLegalIdentity.java index 77e30ef545..52ee8d5c25 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPLegalIdentity.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPLegalIdentity.java @@ -66,9 +66,9 @@ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPLegalIdentity:getContainerObject:Init"); try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); LegalIdentityElement lIdentity = - IDPPUtils.getIDPPFactory().createLegalIdentityElement(); + new LegalIdentityElement(); String value = CollectionHelper.getMapAttr(userMap, getAttributeMapper().getDSAttribute( IDPPConstants.LEGAL_NAME_ELEMENT).toLowerCase()); @@ -118,11 +118,6 @@ userMap, getAttributeMapper().getDSAttribute( } ppType.setLegalIdentity(lIdentity); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPContainers:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); } catch (IDPPException ie) { IDPPUtils.debug.error("IDPPContainers:getContainerObject:" + "Error while creating legal identity.", ie); @@ -139,7 +134,6 @@ userMap, getAttributeMapper().getDSAttribute( private AltIDType getAltID(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPLegalIdentity:getAltID:Init"); AltIDType altID = null; - try { altID = IDPPUtils.getIDPPFactory().createAltIDType(); String altIDType = CollectionHelper.getMapAttr( userMap, getAttributeMapper().getDSAttribute( @@ -164,11 +158,6 @@ userMap, getAttributeMapper().getDSAttribute( } return null; - } catch (JAXBException je) { - IDPPUtils.debug.error("IDPPContainers:getAltID: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** @@ -180,7 +169,6 @@ userMap, getAttributeMapper().getDSAttribute( private VATType getVAT(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPLegalIdentity:getVATType:Init"); VATType vType = null; - try { vType = IDPPUtils.getIDPPFactory().createVATType(); String value = CollectionHelper.getMapAttr( userMap, getAttributeMapper().getDSAttribute( @@ -201,11 +189,6 @@ userMap, getAttributeMapper().getDSAttribute( return null; } return vType; - } catch (JAXBException je) { - IDPPUtils.debug.error("IDPPContainers:getVAT: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPMsgContact.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPMsgContact.java index a5d7e42c0a..8282742488 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPMsgContact.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPMsgContact.java @@ -64,8 +64,7 @@ public IDPPMsgContact() { */ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPMsgContact:getContainerObject:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); Set msgContacts = (Set)userMap.get( getAttributeMapper().getDSAttribute( IDPPConstants.MSG_CONTACT_ELEMENT).toLowerCase()); @@ -84,13 +83,6 @@ public Object getContainerObject(Map userMap) throws IDPPException { } } return ppType; - - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPMsgContact:getContainerObject: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** @@ -100,8 +92,7 @@ public Object getContainerObject(Map userMap) throws IDPPException { * @return MsgContactElement. * @exception JAXBException. */ - private MsgContactElement parseEntry(String entry, Map userMap) - throws JAXBException { + private MsgContactElement parseEntry(String entry, Map userMap) { if(entry == null || entry.length() == 0) { return null; @@ -116,7 +107,7 @@ private MsgContactElement parseEntry(String entry, Map userMap) } MsgContactElement mse = - IDPPUtils.getIDPPFactory().createMsgContactElement(); + new MsgContactElement(); StringTokenizer st = new StringTokenizer(entry, IDPPConstants.ATTRIBUTE_SEPARATOR); @@ -157,7 +148,9 @@ private MsgContactElement parseEntry(String entry, Map userMap) } else if(attribute.equals("MsgMethod")) { mse.getMsgMethod().add(getDSTURI(value)); } else if(attribute.equals("MsgTechnology")) { - mse.getMsgTechnology().add(getDSTURI(value)); + MsgTechnologyElement mte = new MsgTechnologyElement(); + mte.setValue(value); + mse.getMsgTechnology().add(mte); } else if(attribute.equals("MsgAccount")) { mse.setMsgAccount(getDSTString(value)); } else if(attribute.equals("MsgSubAccount")) { diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPSignKey.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPSignKey.java index 2edc24483f..316b00a3f0 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPSignKey.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/idpp/container/IDPPSignKey.java @@ -63,10 +63,9 @@ public IDPPSignKey() { */ public Object getContainerObject(Map userMap) throws IDPPException { IDPPUtils.debug.message("IDPPSignKey:getContainerObject:Init"); - try { - PPType ppType = IDPPUtils.getIDPPFactory().createPPElement(); + PPType ppType = new PPElement(); SignKeyElement signKey = - IDPPUtils.getIDPPFactory().createSignKeyElement(); + new SignKeyElement(); byte[][] certBytes = (byte[][]) userMap.get( getAttributeMapper().getDSAttribute( IDPPConstants.SIGN_KEY_ELEMENT).toLowerCase()); @@ -78,12 +77,12 @@ public Object getContainerObject(Map userMap) throws IDPPException { com.sun.identity.liberty.ws.common.jaxb.xmlsig.ObjectFactory of = new com.sun.identity.liberty.ws.common.jaxb.xmlsig.ObjectFactory(); - com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataType - x509DataType = of.createX509DataElement(); + com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataElement + x509DataType = new com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataElement(); - com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataType. - X509Certificate cert = of.createX509DataTypeX509Certificate( - certBytes[0]); + jakarta.xml.bind.JAXBElement cert = new jakarta.xml.bind.JAXBElement<>( + new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"), + byte[].class, certBytes[0]); x509DataType. getX509IssuerSerialOrX509SKIOrX509SubjectName().add(cert); @@ -92,12 +91,6 @@ public Object getContainerObject(Map userMap) throws IDPPException { ppType.setSignKey(signKey); return ppType; - } catch (JAXBException je) { - IDPPUtils.debug.error( - "IDPPContainers:getInformalName: JAXB failure", je); - throw new IDPPException( - IDPPUtils.bundle.getString("jaxbFailure")); - } } /** @@ -175,13 +168,11 @@ public Map getDataMapForSelect(String select, List data) } Object certObj = certs.get(0); - if(certObj instanceof - com.sun.identity.liberty.ws.common.jaxb.xmlsig. - X509DataType.X509Certificate) { - com.sun.identity.liberty.ws.common.jaxb.xmlsig. - X509DataType.X509Certificate cert = - (com.sun.identity.liberty.ws.common.jaxb.xmlsig. - X509DataType.X509Certificate)certObj; + if(certObj instanceof jakarta.xml.bind.JAXBElement && + "X509Certificate".equals(((jakarta.xml.bind.JAXBElement)certObj).getName().getLocalPart())) { + @SuppressWarnings("unchecked") + jakarta.xml.bind.JAXBElement cert = + (jakarta.xml.bind.JAXBElement)certObj; certBytes = cert.getValue(); } else { IDPPUtils.debug.error("IDPPSignKey.getDataMapForSelect:" + diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/InteractionManager.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/InteractionManager.java index a12fbaec09..a68db8e538 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/InteractionManager.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/InteractionManager.java @@ -72,7 +72,7 @@ import java.util.Map; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import javax.xml.namespace.QName; import org.w3c.dom.Element; @@ -1039,10 +1039,7 @@ String getLanguage(String messageID) { private UserInteractionElement createUserInteractionElement( List acceptLanguages) { - UserInteractionElement ue = null; - try { - ue =objectFactory.createUserInteractionElement(); - + UserInteractionElement ue = new UserInteractionElement(); ue.setInteract(interactionConfig .getWSCSpecifiedInteractionChoice()); ue.setRedirect(interactionConfig.wscSupportsRedirect()); @@ -1050,10 +1047,6 @@ private UserInteractionElement createUserInteractionElement( java.math.BigInteger.valueOf(interactionConfig .getWSCSpecifiedMaxInteractionTime())); ue.getLanguage().addAll(acceptLanguages); - } catch (JAXBException je) { - debug.error("InteractionManager.createUserInteractionElement():" - + " can not create UserInteractionElement", je); - } return ue; } @@ -1081,14 +1074,7 @@ static UserInteractionElement getUserInteractionElement( } private SOAPFaultException newRedirectFault(String messageID) { - RedirectRequestElement re = null; - try{ - re = objectFactory.createRedirectRequestElement(); - - } catch (JAXBException je) { - debug.error("InteractionManager.newRedirectFault():" - + " can not create RedirectRequestElement", je); - } + RedirectRequestElement re = new RedirectRequestElement(); CorrelationHeader ch = new CorrelationHeader(); String responseID = ch.getMessageID(); @@ -1140,14 +1126,7 @@ private SOAPFaultException newRedirectFault(String messageID) { } private SOAPFaultException newRedirectFaultError(QName errorCode) { - StatusElement se = null; - try{ - se = objectFactory.createStatusElement(); - - } catch (JAXBException je) { - debug.error("InteractionManager.newRedirectFaultError():" - + " can not create StatusElement", je); - } + StatusElement se = new StatusElement(); se.setCode(errorCode); List details = new ArrayList(); diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/WSPRedirectHandlerServlet.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/WSPRedirectHandlerServlet.java index b393254249..a9ebda8bc1 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/WSPRedirectHandlerServlet.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/WSPRedirectHandlerServlet.java @@ -62,9 +62,9 @@ import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.ServletConfig; import jakarta.servlet.ServletException; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.Transformer; @@ -514,8 +514,7 @@ private void sendInteractionResponsePage(String messageID, //read and save query parameters; InteractionResponseElement interactionResponseElement - = JAXBObjectFactory.getObjectFactory() - .createInteractionResponseElement(); + = new InteractionResponseElement(); List list = interactionResponseElement.getParameter(); Enumeration parameterNames = httpRequest.getParameterNames(); while ( parameterNames.hasMoreElements()) { @@ -538,8 +537,7 @@ private void sendInteractionResponsePage(String messageID, int index = parameterName.indexOf(PARAMETER_PREFIX); if (index != -1) { ParameterType parameterType - = JAXBObjectFactory.getObjectFactory() - .createParameterType(); + = new ParameterType(); parameterName = parameterName.substring(index + PARAMETER_PREFIX.length()); parameterType.setName(parameterName); @@ -582,13 +580,6 @@ private void sendInteractionResponsePage(String messageID, LogUtil.access(Level.INFO,LogUtil.IS_REDIRECTED_USER_AGENT_BACK, objs); } - } catch (JAXBException je) { - debug.error( - "WSPRedirectHandlerServlet.sendInteractionResponsePage():" - + "catching JAXBException =", je); - showErrorPage(httpRequest, httpResponse, - "Error createing JAXBObject:" - + je.getMessage()); } catch (Exception e) { debug.error( "WSPRedirectHandlerServlet.sendInteractionResponsePage():" diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/security/sedQAPsVu b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/security/sedQAPsVu new file mode 100644 index 0000000000..e69de29bb2 diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/Message.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/Message.java index 1586b85eff..09c97f0d00 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/Message.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/Message.java @@ -47,10 +47,10 @@ import java.util.List; import jakarta.xml.soap.SOAPMessage; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import com.sun.identity.liberty.ws.common.wsse.BinarySecurityToken; import com.sun.identity.liberty.ws.common.wsse.WSSEConstants; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/NamespacePrefixMapperImpl.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/NamespacePrefixMapperImpl.java index 6e8f1288df..ad109a5d0f 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/NamespacePrefixMapperImpl.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/NamespacePrefixMapperImpl.java @@ -29,7 +29,7 @@ package com.sun.identity.liberty.ws.soapbinding; -import com.sun.xml.bind.marshaller.NamespacePrefixMapper; +import org.glassfish.jaxb.runtime.marshaller.NamespacePrefixMapper; /** * This class is the implementation of the NamespacePrefixMapper. diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/SOAPFault.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/SOAPFault.java index 0d1790b2f8..38de131f80 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/SOAPFault.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/SOAPFault.java @@ -36,7 +36,7 @@ import java.util.Iterator; import java.util.List; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import javax.xml.namespace.QName; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/SOAPFaultDetail.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/SOAPFaultDetail.java index 657404639e..dc981b1a8c 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/SOAPFaultDetail.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/SOAPFaultDetail.java @@ -48,10 +48,10 @@ import org.w3c.dom.NodeList; import jakarta.xml.soap.SOAPMessage; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import javax.xml.namespace.QName; import javax.xml.transform.stream.StreamSource; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/Utils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/Utils.java index 813f54ebc9..68feec1f64 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/Utils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/Utils.java @@ -47,14 +47,14 @@ import java.util.Set; import java.util.StringTokenizer; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.NotIdentifiableEvent; -import javax.xml.bind.PropertyException; -import javax.xml.bind.ValidationEvent; -import javax.xml.bind.helpers.DefaultValidationEventHandler; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.NotIdentifiableEvent; +import jakarta.xml.bind.PropertyException; +import jakarta.xml.bind.ValidationEvent; +import jakarta.xml.bind.helpers.DefaultValidationEventHandler; import javax.xml.namespace.QName; import jakarta.xml.soap.MessageFactory; import jakarta.xml.soap.SOAPMessage; @@ -326,7 +326,7 @@ public static Element convertJAXBToElement(Object jaxbObj) throws JAXBException { Marshaller m = jc.createMarshaller(); try { - m.setProperty("com.sun.xml.bind.namespacePrefixMapper", + m.setProperty("org.glassfish.jaxb.namespacePrefixMapper", new NamespacePrefixMapperImpl()); } catch(PropertyException ex) { debug.error("Utils.convertJAXBToElement", ex); @@ -353,7 +353,7 @@ public static Element convertJAXBToElement(Object jaxbObj, boolean checkIdref) throws JAXBException { Marshaller m = jc.createMarshaller(); try { - m.setProperty("com.sun.xml.bind.namespacePrefixMapper", + m.setProperty("org.glassfish.jaxb.namespacePrefixMapper", new NamespacePrefixMapperImpl()); } catch(PropertyException ex) { diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/configuration/impl/FedletConfigurationImpl.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/configuration/impl/FedletConfigurationImpl.java index a7ecccf45e..5f31158025 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/configuration/impl/FedletConfigurationImpl.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/configuration/impl/FedletConfigurationImpl.java @@ -54,7 +54,7 @@ import java.util.HashMap; import java.util.Map; import java.util.Set; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; @@ -117,6 +117,23 @@ public void init(String componentName, Object session) } } + /** Sets the fedlet home directory path, allowing the service provider to inject the correct path. */ + public static void setFedletHomeDir(String path) { + fedletHomeDir = path; + } + + /** Returns the entity map, allowing the service provider to inspect and repair it when needed. */ + @SuppressWarnings("rawtypes") + public static Map getEntityMap() { + return entityMap; + } + + /** Sets the entity map, allowing the service provider to inject repaired metadata when needed. */ + @SuppressWarnings("rawtypes") + public static void setEntityMap(Map map) { + entityMap = map; + } + /** * Returns Configurations. * @param realm the name of organization at which the configuration resides. @@ -163,7 +180,7 @@ public Map getConfiguration(String realm, String configName) * COT is stored in a file named .cot * */ - private void initializeMetadataAndCOT() { + public void initializeMetadataAndCOT() { try { // read all SAML2 metadata/COT files from fedlet home directory File homeDir = new File(fedletHomeDir); diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/key/KeyUtil.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/key/KeyUtil.java index 56c0a7d16d..fc4d7d6a3c 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/key/KeyUtil.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/key/KeyUtil.java @@ -320,10 +320,12 @@ public static EncInfo getEncInfo( Iterator cIter = cList.iterator(); while (cIter.hasNext()) { Object cObject = cIter.next(); - if (cObject instanceof EncryptionMethodType.KeySize) { - keySize = - ((EncryptionMethodType.KeySize)(cList.get(0))). - getValue().intValue(); + if (cObject instanceof jakarta.xml.bind.JAXBElement && + "KeySize".equals(((jakarta.xml.bind.JAXBElement)cObject).getName().getLocalPart())) { + @SuppressWarnings("unchecked") + jakarta.xml.bind.JAXBElement keySizeElem = + (jakarta.xml.bind.JAXBElement) cList.get(0); + keySize = keySizeElem.getValue().intValue(); break; } } @@ -359,7 +361,7 @@ public static List getKeyDescriptors(RoleDescriptorType roleD List keyDescriptorsWithoutUsage = new ArrayList<>(keyDescriptors.size()); for (KeyDescriptorType keyDescriptor : keyDescriptors) { - String use = keyDescriptor.getUse(); + String use = keyDescriptor.getUse() != null ? keyDescriptor.getUse().value() : null; if (StringUtils.isBlank(use)) { keyDescriptorsWithoutUsage.add(keyDescriptor); } else if (use.trim().toLowerCase().equals(usage)) { @@ -422,19 +424,23 @@ public static java.security.cert.X509Certificate getCert( } //iterate and search the X509Certificate node it = data.getX509IssuerSerialOrX509SKIOrX509SubjectName().iterator(); - com.sun.identity.saml2.jaxb.xmlsig.X509DataType.X509Certificate cert = null; - while ((cert == null) && it.hasNext()) { + byte[] certBytes = null; + while ((certBytes == null) && it.hasNext()) { Object content = it.next(); - if (content instanceof - com.sun.identity.saml2.jaxb.xmlsig.X509DataType.X509Certificate) { - cert = (com.sun.identity.saml2.jaxb.xmlsig.X509DataType.X509Certificate) content; + if (content instanceof jakarta.xml.bind.JAXBElement) { + @SuppressWarnings("unchecked") + jakarta.xml.bind.JAXBElement certElem = + (jakarta.xml.bind.JAXBElement) content; + if ("X509Certificate".equals(certElem.getName().getLocalPart())) { + certBytes = certElem.getValue(); + } } } - if (cert == null) { + if (certBytes == null) { SAML2SDKUtils.debug.error(classMethod + "No X509Certificate."); return null; } - byte[] bt = cert.getValue(); + byte[] bt = certBytes; CertificateFactory cf = null; try { cf = CertificateFactory.getInstance("X.509"); @@ -555,9 +561,13 @@ private static EncInfo getEncryptionInfo(KeyDescriptorType kd, algorithm = em.getAlgorithm(); List cList = em.getContent(); if (cList != null) { - keySize = - ((EncryptionMethodType.KeySize)(cList.get(0))). - getValue().intValue(); + if (!cList.isEmpty() && cList.get(0) instanceof jakarta.xml.bind.JAXBElement && + "KeySize".equals(((jakarta.xml.bind.JAXBElement)cList.get(0)).getName().getLocalPart())) { + @SuppressWarnings("unchecked") + jakarta.xml.bind.JAXBElement keySizeElem = + (jakarta.xml.bind.JAXBElement) cList.get(0); + keySize = keySizeElem.getValue().intValue(); + } } } } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/NamespacePrefixMapperImpl.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/NamespacePrefixMapperImpl.java index e8d2e9f521..87fd3d13d0 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/NamespacePrefixMapperImpl.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/NamespacePrefixMapperImpl.java @@ -29,7 +29,7 @@ package com.sun.identity.saml2.meta; -import com.sun.xml.bind.marshaller.NamespacePrefixMapper; +import org.glassfish.jaxb.runtime.marshaller.NamespacePrefixMapper; public class NamespacePrefixMapperImpl extends NamespacePrefixMapper { diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2COTUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2COTUtils.java index e692d6ffab..1c1bdbfa04 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2COTUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2COTUtils.java @@ -29,7 +29,7 @@ package com.sun.identity.saml2.meta; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import java.util.Iterator; import java.util.List; import java.util.Map; @@ -40,10 +40,18 @@ import com.sun.identity.saml2.logging.LogUtil; import com.sun.identity.saml2.common.SAML2Constants; import com.sun.identity.saml2.jaxb.entityconfig.AffiliationConfigElement; + +import com.sun.identity.saml2.jaxb.entityconfig.AttributeAuthorityConfigElement; +import com.sun.identity.saml2.jaxb.entityconfig.AttributeQueryConfigElement; import com.sun.identity.saml2.jaxb.entityconfig.AttributeType; +import com.sun.identity.saml2.jaxb.entityconfig.AuthnAuthorityConfigElement; import com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType; +import com.sun.identity.saml2.jaxb.entityconfig.IDPSSOConfigElement; import com.sun.identity.saml2.jaxb.entityconfig.ObjectFactory; import com.sun.identity.saml2.jaxb.entityconfig.EntityConfigElement; +import com.sun.identity.saml2.jaxb.entityconfig.SPSSOConfigElement; +import com.sun.identity.saml2.jaxb.entityconfig.XACMLAuthzDecisionQueryConfigElement; +import com.sun.identity.saml2.jaxb.entityconfig.XACMLPDPConfigElement; import com.sun.identity.saml2.jaxb.metadata.AttributeAuthorityDescriptorElement; import com.sun.identity.saml2.jaxb.metadata.AuthnAuthorityDescriptorElement; import com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement; @@ -125,12 +133,12 @@ public void updateEntityConfig(String realm, String name, String entityId) atype.setName(SAML2Constants.COT_LIST); atype.getValue().add(name); // add to eConfig - EntityConfigElement ele =objFactory.createEntityConfigElement(); + EntityConfigElement ele = new EntityConfigElement(); ele.setEntityID(entityId); ele.setHosted(false); if (isAffiliation) { // handle affiliation case - bctype = objFactory.createAffiliationConfigElement(); + bctype = new AffiliationConfigElement(); bctype.getAttribute().add(atype); ele.setAffiliationConfig(bctype); } else { @@ -143,35 +151,33 @@ public void updateEntityConfig(String realm, String name, String entityId) for(Iterator iter = list.iterator(); iter.hasNext();) { Object obj = iter.next(); if (obj instanceof SPSSODescriptorElement) { - bctype = objFactory.createSPSSOConfigElement(); + bctype = new SPSSOConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } else if (obj instanceof IDPSSODescriptorElement) { - bctype = objFactory.createIDPSSOConfigElement(); + bctype = new IDPSSOConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } else if (obj instanceof XACMLPDPDescriptorElement) { - bctype = objFactory.createXACMLPDPConfigElement(); + bctype = new XACMLPDPConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } else if (obj instanceof XACMLAuthzDecisionQueryDescriptorElement) { - bctype = - objFactory.createXACMLAuthzDecisionQueryConfigElement(); + bctype = new XACMLAuthzDecisionQueryConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } else if (obj instanceof AttributeAuthorityDescriptorElement) { - bctype = - objFactory.createAttributeAuthorityConfigElement(); + bctype = new AttributeAuthorityConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } else if (obj instanceof AttributeQueryDescriptorElement){ - bctype = objFactory.createAttributeQueryConfigElement(); + bctype = new AttributeQueryConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } else if (obj instanceof AuthnAuthorityDescriptorElement) { - bctype = objFactory.createAuthnAuthorityConfigElement(); + bctype = new AuthnAuthorityConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaManager.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaManager.java index 10933eb89a..cf7fab448c 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaManager.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaManager.java @@ -37,7 +37,7 @@ import java.util.Map; import java.util.Set; import java.util.logging.Level; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import org.forgerock.openam.utils.CollectionUtils; import org.forgerock.openam.utils.StringUtils; @@ -120,6 +120,11 @@ public class SAML2MetaManager { } } + /** Returns the shared ConfigurationInstance, allowing the service provider to access it directly. */ + public static ConfigurationInstance getConfigInstance() { + return configInstStatic; + } + /** * Constructor for SAML2MetaManager. * @throws SAML2MetaException if unable to construct @@ -1531,8 +1536,7 @@ public List getAllHostedMetaAliasesByRealm(String realm) throws SAML2Met if (config == null || !config.isHosted()) { continue; } - List configList = config.getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig(); - for (BaseConfigType bConfigType : configList) { + for (BaseConfigType bConfigType : config.getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig()) { String curMetaAlias = bConfigType.getMetaAlias(); if (curMetaAlias != null && !curMetaAlias.isEmpty()) { metaAliases.add(curMetaAlias); diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaSecurityUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaSecurityUtils.java index 877be42ea8..073a92f9cf 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaSecurityUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaSecurityUtils.java @@ -38,7 +38,7 @@ import java.util.Iterator; import java.util.Set; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import com.sun.identity.saml.xmlsig.AMSignatureProvider; import com.sun.identity.saml2.jaxb.metadata.KeyDescriptorType; @@ -520,13 +520,14 @@ public static void updateProviderKeyInfo(String realm, } private static void updateKeyDescriptor(RoleDescriptorType desp, Set keyDescriptors) { - String use = keyDescriptors.iterator().next().getUse(); + KeyDescriptorType firstKD = keyDescriptors.iterator().next(); + String use = firstKD.getUse() != null ? firstKD.getUse().value() : null; List keys = desp.getKeyDescriptor(); Iterator iterator = keys.iterator(); while (iterator.hasNext()) { final KeyDescriptorType keyDescriptor = iterator.next(); - if (keyDescriptor.getUse().equalsIgnoreCase(use)) { + if (keyDescriptor.getUse() != null && keyDescriptor.getUse().value().equalsIgnoreCase(use)) { iterator.remove(); } } @@ -544,7 +545,7 @@ private static void removeKeyDescriptor(RoleDescriptorType desp, keyUse = "signing"; } if ((key.getUse() != null) && - key.getUse().equalsIgnoreCase(keyUse)) { + key.getUse().value().equalsIgnoreCase(keyUse)) { iter.remove(); } } @@ -553,7 +554,6 @@ private static void removeKeyDescriptor(RoleDescriptorType desp, private static void setExtendedAttributeValue( BaseConfigType config, String attrName, Set attrVal) throws SAML2MetaException { - try { List attributes = config.getAttribute(); for(Iterator iter = attributes.iterator(); iter.hasNext();) { AttributeType avp = (AttributeType)iter.next(); @@ -568,9 +568,6 @@ private static void setExtendedAttributeValue( atype.getValue().addAll(attrVal); config.getAttribute().add(atype); } - } catch (JAXBException e) { - throw new SAML2MetaException(e); - } } private static KeyDescriptorElement getKeyDescriptor( diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaUtils.java index be2a0cfc33..7edbab028a 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/meta/SAML2MetaUtils.java @@ -40,10 +40,10 @@ import java.util.ResourceBundle; import java.util.Set; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import org.w3c.dom.Document; import org.w3c.dom.Node; @@ -82,15 +82,14 @@ public final class SAML2MetaUtils { "com.sun.identity.saml2.jaxb.assertion:" + "com.sun.identity.saml2.jaxb.metadata:" + "com.sun.identity.saml2.jaxb.metadataattr:" + - "com.sun.identity.saml2.jaxb.entityconfig:" + - "com.sun.identity.saml2.jaxb.schema"; + "com.sun.identity.saml2.jaxb.entityconfig"; private static final String JAXB_PACKAGE_LIST_PROP = "com.sun.identity.liberty.ws.jaxb.packageList"; private static JAXBContext jaxbContext = null; private static final String PROP_JAXB_FORMATTED_OUTPUT = "jaxb.formatted.output"; private static final String PROP_NAMESPACE_PREFIX_MAPPER = - "com.sun.xml.bind.namespacePrefixMapper"; + "org.glassfish.jaxb.namespacePrefixMapper"; private static NamespacePrefixMapperImpl nsPrefixMapper = new NamespacePrefixMapperImpl(); @@ -109,7 +108,8 @@ public final class SAML2MetaUtils { debug.message("SAML2MetaUtils.static: " + "jaxbPackages = " + jaxbPackages); } - jaxbContext = JAXBContext.newInstance(jaxbPackages); + jaxbContext = JAXBContext.newInstance(jaxbPackages, + Thread.currentThread().getContextClassLoader()); } catch (JAXBException jaxbe) { debug.error("SAML2MetaUtils.static:", jaxbe); } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/AttributeQueryUtil.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/AttributeQueryUtil.java index 8c46b56db7..622400986f 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/AttributeQueryUtil.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/AttributeQueryUtil.java @@ -68,6 +68,8 @@ import com.sun.identity.saml2.common.SAML2Exception; import com.sun.identity.saml2.common.SAML2Utils; import com.sun.identity.saml2.jaxb.assertion.AttributeElement; +import com.sun.identity.saml2.jaxb.assertion.AttributeType; +import com.sun.identity.saml2.jaxb.assertion.AttributeType; import com.sun.identity.saml2.jaxb.assertion.AttributeValueElement; import com.sun.identity.saml2.jaxb.entityconfig.AttributeAuthorityConfigElement; import com.sun.identity.saml2.jaxb.entityconfig.AttributeQueryConfigElement; @@ -832,7 +834,7 @@ private static EncryptedAssertion encryptAssertion(Assertion assertion, Encrypte return AssertionFactory.getInstance().createEncryptedAssertion(el); } - private static List verifyDesiredAttributes(List supportedAttrs, + private static List verifyDesiredAttributes(List supportedAttrs, List desiredAttrs) throws SAML2Exception { if (supportedAttrs == null || supportedAttrs.isEmpty()) { return desiredAttrs; @@ -844,9 +846,9 @@ private static List verifyDesiredAttributes(List su for (Attribute desiredAttr : desiredAttrs) { boolean isAttrValid = false; - Iterator supportedAttrIterator = supportedAttrs.iterator(); + Iterator supportedAttrIterator = supportedAttrs.iterator(); while (supportedAttrIterator.hasNext()) { - AttributeElement supportedAttr = supportedAttrIterator.next(); + AttributeType supportedAttr = supportedAttrIterator.next(); if (isSameAttribute(desiredAttr, supportedAttr)) { if (isValueValid(desiredAttr, supportedAttr)) { isAttrValid = true; @@ -988,7 +990,7 @@ private static Attribute filterAttributeValues(Attribute attr, } } - private static boolean isSameAttribute(Attribute desired, AttributeElement supported) { + private static boolean isSameAttribute(Attribute desired, AttributeType supported) { return desired.getName().equals(supported.getName()) && isNameFormatMatching(desired.getNameFormat(), supported.getNameFormat()); } @@ -1015,7 +1017,7 @@ private static boolean isNameFormatMatching(String desiredNameFormat, String ava } private static boolean isValueValid(Attribute desiredAttr, - AttributeElement supportedAttr) { + AttributeType supportedAttr) { List valuesD = desiredAttr.getAttributeValueString(); if ((valuesD == null) || (valuesD.isEmpty())) { diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/IDPProxyUtil.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/IDPProxyUtil.java index 63d4954b3d..2ccf7327a3 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/IDPProxyUtil.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/IDPProxyUtil.java @@ -88,7 +88,7 @@ import com.sun.identity.plugin.session.SessionManager; import com.sun.identity.plugin.session.SessionProvider; import com.sun.identity.plugin.session.SessionException; -import com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement; +import com.sun.identity.saml2.jaxb.metadata.EndpointType; import com.sun.identity.saml2.plugins.SAML2ServiceProviderAdapter; import com.sun.identity.saml2.protocol.IDPList; import org.forgerock.openam.federation.saml2.SAML2TokenRepositoryException; @@ -184,8 +184,8 @@ public static void sendProxyAuthnRequest( String binding; try { idpDescriptor = IDPSSOUtil.metaManager.getIDPSSODescriptor(realm, preferredIDP); - List ssoServiceList = idpDescriptor.getSingleSignOnService(); - SingleSignOnServiceElement endpoint = getMatchingSSOEndpoint(ssoServiceList, originalBinding); + List ssoServiceList = idpDescriptor.getSingleSignOnService(); + EndpointType endpoint = getMatchingSSOEndpoint(ssoServiceList, originalBinding); if (endpoint == null) { SAML2Utils.debug.error(classMethod + "Single Sign-on service is not found for the proxying IDP."); throw new SAML2Exception(SAML2Utils.bundle.getString("ssoServiceNotFoundIDPProxy")); @@ -304,11 +304,11 @@ public static void sendProxyAuthnRequest( } } - private static SingleSignOnServiceElement getMatchingSSOEndpoint(List endpoints, + private static EndpointType getMatchingSSOEndpoint(List endpoints, String preferredBinding) { - SingleSignOnServiceElement preferredEndpoint = null; + EndpointType preferredEndpoint = null; boolean isFirst = true; - for (SingleSignOnServiceElement endpoint : endpoints) { + for (EndpointType endpoint : endpoints) { if (isFirst) { //If there is no match, we should use the first endpoint in the list preferredEndpoint = endpoint; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/IDPSingleLogout.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/IDPSingleLogout.java index d982167391..d9c7214359 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/IDPSingleLogout.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/IDPSingleLogout.java @@ -59,7 +59,7 @@ import com.sun.identity.saml2.jaxb.entityconfig.SPSSOConfigElement; import com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement; import com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement; -import com.sun.identity.saml2.jaxb.metadata.SingleLogoutServiceElement; +import com.sun.identity.saml2.jaxb.metadata.EndpointType; import com.sun.identity.saml2.logging.LogUtil; import com.sun.identity.saml2.meta.SAML2MetaException; import com.sun.identity.saml2.meta.SAML2MetaManager; @@ -288,7 +288,7 @@ public static void initiateLogoutRequest(HttpServletRequest request, HttpServlet } List extensionsList = LogoutUtil.getExtensionsList(paramsMap); - List slosList = getSPSLOServiceEndpoints(realm, spEntityID); + List slosList = getSPSLOServiceEndpoints(realm, spEntityID); // get IDP entity config in case of SOAP, for basic auth info SPSSOConfigElement spConfig = sm.getSPSSOConfig(realm, spEntityID); @@ -297,7 +297,7 @@ public static void initiateLogoutRequest(HttpServletRequest request, HttpServlet idpSessionIndex = null; } - SingleLogoutServiceElement logoutEndpoint = LogoutUtil.getMostAppropriateSLOServiceLocation(slosList, + EndpointType logoutEndpoint = LogoutUtil.getMostAppropriateSLOServiceLocation(slosList, idpSession.getOriginatingLogoutRequestBinding()); if (logoutEndpoint == null) { continue; @@ -559,7 +559,7 @@ && isMisroutedRequest(request, response, out, session)) { // this is the case where there is no more SP session // participant - SingleLogoutServiceElement endpoint = getLogoutResponseEndpoint(realm, spEntityID, binding); + EndpointType endpoint = getLogoutResponseEndpoint(realm, spEntityID, binding); binding = endpoint.getBinding(); String location = getResponseLocation(endpoint); logoutRes.setDestination(XMLUtils.escapeSpecialCharacters(location)); @@ -608,9 +608,9 @@ && isMisroutedRequest(request, response, out, session)) { } } - private static SingleLogoutServiceElement getLogoutResponseEndpoint(String realm, String spEntityID, + private static EndpointType getLogoutResponseEndpoint(String realm, String spEntityID, String binding) throws SAML2Exception { - SingleLogoutServiceElement endpoint = + EndpointType endpoint = LogoutUtil.getMostAppropriateSLOServiceLocation(getSPSLOServiceEndpoints(realm, spEntityID), binding); if (endpoint == null) { debug.error("Unable to find the SP's single logout response service with " + binding + " binding"); @@ -623,7 +623,7 @@ private static SingleLogoutServiceElement getLogoutResponseEndpoint(String realm return endpoint; } - private static String getResponseLocation(SingleLogoutServiceElement endpoint) { + private static String getResponseLocation(EndpointType endpoint) { String location = endpoint.getResponseLocation(); if (StringUtils.isBlank(location)) { location = endpoint.getLocation(); @@ -636,7 +636,7 @@ private static String getResponseLocation(SingleLogoutServiceElement endpoint) { */ public static String getSingleLogoutLocation(String spEntityID, String realm, String binding) throws SAML2Exception { - List slosList = getSPSLOServiceEndpoints(realm, spEntityID); + List slosList = getSPSLOServiceEndpoints(realm, spEntityID); String location = LogoutUtil.getSLOResponseServiceLocation(slosList, binding); @@ -892,12 +892,12 @@ static boolean processLogoutResponse(HttpServletRequest request, HttpServletResp Map paramsMap = new HashMap(request.getParameterMap()); paramsMap.put(SAML2Constants.ROLE, SAML2Constants.IDP_ROLE); - List slosList = getSPSLOServiceEndpoints(realm, spEntityID); + List slosList = getSPSLOServiceEndpoints(realm, spEntityID); List extensionsList = LogoutUtil.getExtensionsList(request.getParameterMap()); SPSSOConfigElement spConfig = sm.getSPSSOConfig(realm, spEntityID); //When processing a logout response we must ensure that we try to use the original logout request //binding to make sure asynchronous bindings have precedence over synchronous bindings. - SingleLogoutServiceElement logoutEndpoint = LogoutUtil.getMostAppropriateSLOServiceLocation(slosList, + EndpointType logoutEndpoint = LogoutUtil.getMostAppropriateSLOServiceLocation(slosList, idpSession.getOriginatingLogoutRequestBinding()); if (logoutEndpoint == null) { continue; @@ -1179,7 +1179,7 @@ public static LogoutResponse processLogoutRequest(LogoutRequest logoutReq, HttpS debug.message("IDPSingleLogout.processLogoutRequest: SP for " + sessionIndex + " is " + spEntityID); } - List slosList = getSPSLOServiceEndpoints(realm, spEntityID); + List slosList = getSPSLOServiceEndpoints(realm, spEntityID); // get IDP entity config in case of SOAP,for basic auth info SPSSOConfigElement spConfig = null; @@ -1189,7 +1189,7 @@ public static LogoutResponse processLogoutRequest(LogoutRequest logoutReq, HttpS HashMap paramsMap = new HashMap(); paramsMap.put(SAML2Constants.ROLE, SAML2Constants.IDP_ROLE); StringBuffer requestID = null; - SingleLogoutServiceElement logoutEndpoint = + EndpointType logoutEndpoint = LogoutUtil.getMostAppropriateSLOServiceLocation(slosList, idpSession.getOriginatingLogoutRequestBinding()); if (logoutEndpoint == null) { @@ -1291,7 +1291,7 @@ public static LogoutResponse processLogoutRequest(LogoutRequest logoutReq, HttpS String sessUser = SessionManager.getProvider().getPrincipalName(session); boolean isSOAPInitiated = binding.equals(SAML2Constants.SOAP); - SingleLogoutServiceElement endpoint = getLogoutResponseEndpoint(realm, spEntity, binding); + EndpointType endpoint = getLogoutResponseEndpoint(realm, spEntity, binding); String location = getResponseLocation(endpoint); logRes.setDestination(XMLUtils.escapeSpecialCharacters(location)); debug.message("IDPSingleLogout.processLogReq : call MP"); @@ -1589,7 +1589,7 @@ private static void sendAlreadyLogedOutResp(HttpServletResponse response, HttpSe logoutReq.getID(), SAML2Utils.createIssuer(idpEntityID), realm, SAML2Constants.IDP_ROLE, logoutReq.getIssuer().getSPProvidedID()); - SingleLogoutServiceElement endpoint = getLogoutResponseEndpoint(realm, spEntityID, binding); + EndpointType endpoint = getLogoutResponseEndpoint(realm, spEntityID, binding); binding = endpoint.getBinding(); String location = getResponseLocation(endpoint); debug.message(classMethod + "Location found: " + location + " for binding " + binding); @@ -1662,7 +1662,7 @@ private static boolean sendLastResponse(IDPSession idpSession, LogoutResponse lo debug.message("IDP initiated SLO Success"); return false; } - List slosList = getSPSLOServiceEndpoints(realm, originatingLogoutSPEntityID); + List slosList = getSPSLOServiceEndpoints(realm, originatingLogoutSPEntityID); String location = LogoutUtil.getSLOResponseServiceLocation(slosList, binding); if (location == null || location.isEmpty()) { location = LogoutUtil.getSLOServiceLocation(slosList, binding); @@ -1761,7 +1761,7 @@ private static boolean sendLastResponse(IDPSession idpSession, LogoutResponse lo * @return a list of Single Logout Service elements * @throws SAML2Exception if there was a problem retrieving the SP SSO Descriptor Element */ - public static List getSPSLOServiceEndpoints( + public static List getSPSLOServiceEndpoints( final String realm, final String spEntityID) throws SAML2Exception { // get SPSSODescriptor diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/LogoutUtil.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/LogoutUtil.java index 424a36f9be..6e991f1558 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/LogoutUtil.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/LogoutUtil.java @@ -72,7 +72,7 @@ import com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement; import com.sun.identity.saml2.jaxb.metadata.KeyDescriptorType; import com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement; -import com.sun.identity.saml2.jaxb.metadata.SingleLogoutServiceElement; +import com.sun.identity.saml2.jaxb.metadata.EndpointType; import com.sun.identity.saml2.key.EncInfo; import com.sun.identity.saml2.key.KeyUtil; import com.sun.identity.saml2.logging.LogUtil; @@ -580,7 +580,7 @@ static void setSessionIndex(Status status, List sessionIndex) { /** * Based on the preferred SAML binding this method tries to choose the most appropriate - * {@link SingleLogoutServiceElement} that can be used to send the logout request to. The algorithm itself is + * {@link EndpointType} that can be used to send the logout request to. The algorithm itself is * simple: *
    *
  • When asynchronous binding was used with the initial logout request, it is preferred to use asynchronous @@ -594,20 +594,20 @@ static void setSessionIndex(Status status, List sessionIndex) { * @return The most appropriate SLO service location that can be used for sending the logout request. If there is * no appropriate logout endpoint, null is returned. */ - public static SingleLogoutServiceElement getMostAppropriateSLOServiceLocation( - List sloList, String preferredBinding) { + public static EndpointType getMostAppropriateSLOServiceLocation( + List sloList, String preferredBinding) { //shortcut for the case when SLO isn't supported at all if (sloList.isEmpty()) { return null; } - Map sloBindings = - new HashMap(sloList.size()); - for (SingleLogoutServiceElement sloEndpoint : sloList) { + Map sloBindings = + new HashMap(sloList.size()); + for (EndpointType sloEndpoint : sloList) { sloBindings.put(sloEndpoint.getBinding(), sloEndpoint); } - SingleLogoutServiceElement endpoint = sloBindings.get(preferredBinding); + EndpointType endpoint = sloBindings.get(preferredBinding); if (endpoint == null) { //if the requested binding isn't supported let's try to find the most appropriate SLO endpoint if (preferredBinding.equals(SAML2Constants.HTTP_POST)) { @@ -645,11 +645,11 @@ public static String getSLOServiceLocation( "Number of single logout services = " + n); } - SingleLogoutServiceElement slos = null; + EndpointType slos = null; String location = null; String binding = null; for (int i=0; iSingleLogoutServiceElement for the entity or null + * @return EndpointType for the entity or null * @throws SAML2MetaException if unable to retrieve the first identity * provider's SSO configuration. * @throws SessionException invalid or expired single-sign-on session */ - static public SingleLogoutServiceElement getIDPSLOConfig( + static public EndpointType getIDPSLOConfig( String realm, String entityId, String binding) throws SAML2MetaException, SessionException { - SingleLogoutServiceElement slo = null; + EndpointType slo = null; IDPSSODescriptorElement idpSSODesc = metaManager.getIDPSSODescriptor(realm, entityId); @@ -1324,11 +1324,11 @@ static public SingleLogoutServiceElement getIDPSLOConfig( if ((list != null) && !list.isEmpty()) { if (binding == null) { - return (SingleLogoutServiceElement)list.get(0); + return (EndpointType)list.get(0); } Iterator it = list.iterator(); while (it.hasNext()) { - slo = (SingleLogoutServiceElement)it.next(); + slo = (EndpointType)it.next(); if (binding.equalsIgnoreCase(slo.getBinding())) { break; } @@ -1344,16 +1344,16 @@ static public SingleLogoutServiceElement getIDPSLOConfig( * @param realm The realm under which the entity resides. * @param entityId ID of the entity to be retrieved. * @param binding bind type need to has to be matched. - * @return SingleLogoutServiceElement for the entity or null + * @return EndpointType for the entity or null * @throws SAML2MetaException if unable to retrieve the first identity * provider's SSO configuration. * @throws SessionException invalid or expired single-sign-on session */ - static public SingleLogoutServiceElement getSPSLOConfig( + static public EndpointType getSPSLOConfig( String realm, String entityId, String binding) throws SAML2MetaException, SessionException { - SingleLogoutServiceElement slo = null; + EndpointType slo = null; SPSSODescriptorElement spSSODesc = metaManager.getSPSSODescriptor(realm, entityId); @@ -1365,11 +1365,11 @@ static public SingleLogoutServiceElement getSPSLOConfig( if ((list != null) && !list.isEmpty()) { if (binding == null) { - return (SingleLogoutServiceElement)list.get(0); + return (EndpointType)list.get(0); } Iterator it = list.iterator(); while (it.hasNext()) { - slo = (SingleLogoutServiceElement)it.next(); + slo = (EndpointType)it.next(); if (binding.equalsIgnoreCase(slo.getBinding())) { break; } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/SPSSOFederate.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/SPSSOFederate.java index bc275565a3..c369b79611 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/SPSSOFederate.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/SPSSOFederate.java @@ -55,7 +55,7 @@ import com.sun.identity.saml2.jaxb.metadata.EntityDescriptorElement; import com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement; import com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement; -import com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement; +import com.sun.identity.saml2.jaxb.metadata.EndpointType; import com.sun.identity.saml2.key.KeyUtil; import com.sun.identity.saml2.logging.LogUtil; import com.sun.identity.saml2.meta.SAML2MetaException; @@ -250,8 +250,8 @@ private static void initiateAuthnRequest( } String binding = getParameter(paramsMap, SAML2Constants.REQ_BINDING); - List ssoServiceList = idpsso.getSingleSignOnService(); - final SingleSignOnServiceElement endPoint = getSingleSignOnServiceEndpoint(ssoServiceList, binding); + List ssoServiceList = idpsso.getSingleSignOnService(); + final EndpointType endPoint = getSingleSignOnServiceEndpoint(ssoServiceList, binding); if (endPoint == null || StringUtils.isEmpty(endPoint.getLocation())) { String[] data = { idpEntityID }; @@ -586,8 +586,8 @@ public static void initiateECPRequest(HttpServletRequest request, realm, idpEntityID, SAML2Constants.IDP_ROLE, SAML2Constants.ENTITY_DESCRIPTION); idpEntry.setName(description); - List ssoServiceList = idpDesc.getSingleSignOnService(); - SingleSignOnServiceElement endPoint = getSingleSignOnServiceEndpoint(ssoServiceList, SAML2Constants.SOAP); + List ssoServiceList = idpDesc.getSingleSignOnService(); + EndpointType endPoint = getSingleSignOnServiceEndpoint(ssoServiceList, SAML2Constants.SOAP); if (endPoint == null || StringUtils.isEmpty(endPoint.getLocation())) { throw new SAML2Exception(SAML2Utils.bundle.getString("ssoServiceNotfound")); } @@ -958,13 +958,13 @@ public static Boolean getAttrValueFromMap(final Map attrMap, final String attrNa * * @param ssoServiceList list of sso services * @param binding binding of the sso service to get the url for - * @return a SingleSignOnServiceElement or null if no match found. + * @return a EndpointType or null if no match found. */ - public static SingleSignOnServiceElement getSingleSignOnServiceEndpoint( - List ssoServiceList, String binding) { - SingleSignOnServiceElement preferredEndpoint = null; + public static EndpointType getSingleSignOnServiceEndpoint( + List ssoServiceList, String binding) { + EndpointType preferredEndpoint = null; boolean noPreferredBinding = StringUtils.isEmpty(binding); - for (SingleSignOnServiceElement endpoint : ssoServiceList) { + for (EndpointType endpoint : ssoServiceList) { if (noPreferredBinding && (SAML2Constants.HTTP_REDIRECT.equals(endpoint.getBinding()) || SAML2Constants.HTTP_POST.equals(endpoint.getBinding()))) { preferredEndpoint = endpoint; diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/NamespacePrefixMapperImpl.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/NamespacePrefixMapperImpl.java index 26384ba2a5..7de7d8eaff 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/NamespacePrefixMapperImpl.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/NamespacePrefixMapperImpl.java @@ -29,7 +29,7 @@ package com.sun.identity.wsfederation.meta; -import com.sun.xml.bind.marshaller.NamespacePrefixMapper; +import org.glassfish.jaxb.runtime.marshaller.NamespacePrefixMapper; /** * Stub implementation - need this for JAXB marshalling diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationCOTUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationCOTUtils.java index c6c07c46ef..c177fc0e83 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationCOTUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationCOTUtils.java @@ -29,7 +29,7 @@ package com.sun.identity.wsfederation.meta; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import java.util.Iterator; import java.util.List; import com.sun.identity.shared.debug.Debug; @@ -37,7 +37,9 @@ import com.sun.identity.wsfederation.jaxb.entityconfig.AttributeType; import com.sun.identity.wsfederation.jaxb.entityconfig.BaseConfigType; import com.sun.identity.wsfederation.jaxb.entityconfig.FederationConfigElement; +import com.sun.identity.wsfederation.jaxb.entityconfig.IDPSSOConfigElement; import com.sun.identity.wsfederation.jaxb.entityconfig.ObjectFactory; +import com.sun.identity.wsfederation.jaxb.entityconfig.SPSSOConfigElement; import com.sun.identity.wsfederation.jaxb.wsfederation.FederationElement; /** @@ -99,7 +101,7 @@ public void updateEntityConfig(String realm, String name, atype.getValue().add(name); // add to eConfig FederationConfigElement ele = - objFactory.createFederationConfigElement(); + new FederationConfigElement(); ele.setFederationID(entityId); ele.setHosted(false); List ll = @@ -109,11 +111,11 @@ public void updateEntityConfig(String realm, String name, // IdP will have UriNamedClaimTypesOffered if (metaManager.getUriNamedClaimTypesOffered(edes) != null) { - bctype = objFactory.createIDPSSOConfigElement(); + bctype = new IDPSSOConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } else { - bctype = objFactory.createSPSSOConfigElement(); + bctype = new SPSSOConfigElement(); bctype.getAttribute().add(atype); ll.add(bctype); } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaManager.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaManager.java index df2ef57138..ed2d828e9e 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaManager.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaManager.java @@ -45,7 +45,7 @@ import java.util.Map; import java.util.Set; import java.util.logging.Level; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import com.sun.identity.cot.CircleOfTrustManager; import com.sun.identity.cot.COTException; @@ -61,7 +61,6 @@ import com.sun.identity.wsfederation.logging.LogUtil; import com.sun.identity.wsfederation.jaxb.wsse.SecurityTokenReferenceType; import com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType; -import com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509Certificate; /** * The WSFederationMetaManager provides methods to manage both the @@ -539,7 +538,7 @@ public BaseConfigType getBaseConfig(String realm, return null; } - return (BaseConfigType)eConfig.getIDPSSOConfigOrSPSSOConfig().get(0); + return eConfig.getIDPSSOConfigOrSPSSOConfig().get(0).getValue(); } /** @@ -833,8 +832,8 @@ public List getAllHostedMetaAliasesByRealm(String realm) throws WSFedera if (config == null || !config.isHosted()) { continue; } - List configList = config.getIDPSSOConfigOrSPSSOConfig(); - for (BaseConfigType bConfigType : configList) { + for (jakarta.xml.bind.JAXBElement elem : config.getIDPSSOConfigOrSPSSOConfig()) { + BaseConfigType bConfigType = elem.getValue(); String curMetaAlias = bConfigType.getMetaAlias(); if (curMetaAlias != null && !curMetaAlias.isEmpty()) { metaAliases.add(curMetaAlias); @@ -1370,9 +1369,12 @@ public byte[] getTokenSigningCertificate(FederationElement fed) ((X509DataType)o1). getX509IssuerSerialOrX509SKIOrX509SubjectName()) { - if ( o2 instanceof X509Certificate ) + if ( o2 instanceof jakarta.xml.bind.JAXBElement && + "X509Certificate".equals(((jakarta.xml.bind.JAXBElement)o2).getName().getLocalPart()) ) { - return ((X509Certificate)o2).getValue(); + @SuppressWarnings("unchecked") + jakarta.xml.bind.JAXBElement certElem = (jakarta.xml.bind.JAXBElement) o2; + return certElem.getValue(); } } } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaSecurityUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaSecurityUtils.java index d59cf6fcc9..c241cb8818 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaSecurityUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaSecurityUtils.java @@ -37,7 +37,7 @@ import java.util.List; import java.util.Set; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import com.sun.identity.saml.xmlsig.AMSignatureProvider; import org.w3c.dom.Document; @@ -551,7 +551,6 @@ private static void removeKeyDescriptor(FederationElement desp) { private static void setExtendedAttributeValue(BaseConfigType config, String attrName, Set attrVal) throws WSFederationMetaException { - try { List attributes = config.getAttribute(); for(Iterator iter = attributes.iterator(); iter.hasNext();) { AttributeType avp = (AttributeType)iter.next(); @@ -566,9 +565,6 @@ private static void setExtendedAttributeValue(BaseConfigType config, atype.getValue().addAll(attrVal); config.getAttribute().add(atype); } - } catch (JAXBException e) { - throw new WSFederationMetaException(e); - } } private static TokenSigningKeyInfoElement getKeyDescriptor(String certAlias) diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaUtils.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaUtils.java index 75ca934f21..fe76b25da3 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaUtils.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/WSFederationMetaUtils.java @@ -44,10 +44,10 @@ import java.util.Set; import jakarta.servlet.http.HttpServletRequest; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import org.forgerock.openam.utils.CollectionUtils; import org.forgerock.openam.utils.StringUtils; @@ -93,7 +93,7 @@ public final class WSFederationMetaUtils { private static final String PROP_JAXB_FORMATTED_OUTPUT = "jaxb.formatted.output"; private static final String PROP_NAMESPACE_PREFIX_MAPPER = - "com.sun.xml.bind.namespacePrefixMapper"; + "org.glassfish.jaxb.namespacePrefixMapper"; private static NamespacePrefixMapperImpl nsPrefixMapper = new NamespacePrefixMapperImpl(); @@ -276,7 +276,7 @@ public static void setAttributes(BaseConfigType config, for (String key : map.keySet()) { AttributeElement - avp = objFactory.createAttributeElement(); + avp = new AttributeElement(); avp.setName(key); avp.getValue().addAll(map.get(key)); @@ -292,9 +292,9 @@ public static void setAttributes(BaseConfigType config, */ public static String getAttribute(BaseConfigType config, String key) { - List list = config.getAttribute(); + List list = config.getAttribute(); - for (AttributeElement avp : list) { + for (AttributeType avp : list) { if (avp.getName().equals(key)) { return CollectionUtils.getFirstItem(avp.getValue()); } diff --git a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/servlet/MetadataRequest.java b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/servlet/MetadataRequest.java index b8575dc688..daa1e3ba4f 100644 --- a/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/servlet/MetadataRequest.java +++ b/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/servlet/MetadataRequest.java @@ -41,7 +41,7 @@ import java.util.List; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; /** diff --git a/openam-federation/openam-federation-library/src/main/java/org/forgerock/openam/saml2/UtilProxySAMLAuthenticator.java b/openam-federation/openam-federation-library/src/main/java/org/forgerock/openam/saml2/UtilProxySAMLAuthenticator.java index e8f472e2b4..ea323a3ddc 100644 --- a/openam-federation/openam-federation-library/src/main/java/org/forgerock/openam/saml2/UtilProxySAMLAuthenticator.java +++ b/openam-federation/openam-federation-library/src/main/java/org/forgerock/openam/saml2/UtilProxySAMLAuthenticator.java @@ -28,7 +28,7 @@ import com.sun.identity.saml2.common.SOAPCommunicator; import com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement; import com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement; -import com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement; +import com.sun.identity.saml2.jaxb.metadata.EndpointType; import com.sun.identity.saml2.key.KeyUtil; import com.sun.identity.saml2.logging.LogUtil; import com.sun.identity.saml2.meta.SAML2MetaException; @@ -192,8 +192,8 @@ public void authenticate() throws FederatedSSOException, IOException { // In ECP profile, sp doesn't know idp. if (!isFromECP) { // verify Destination - List ssoServiceList = idpSSODescriptor.getSingleSignOnService(); - SingleSignOnServiceElement endPoint = SPSSOFederate.getSingleSignOnServiceEndpoint(ssoServiceList, binding); + List ssoServiceList = idpSSODescriptor.getSingleSignOnService(); + EndpointType endPoint = SPSSOFederate.getSingleSignOnServiceEndpoint(ssoServiceList, binding); if (endPoint == null || StringUtils.isEmpty(endPoint.getLocation())) { SAML2Utils.debug .error("{} authn request unable to get endpoint location for IdpEntity: {} MetaAlias: {} ", diff --git a/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/key/KeyUtilTest.java b/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/key/KeyUtilTest.java index 913739420c..112cdab3a0 100644 --- a/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/key/KeyUtilTest.java +++ b/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/key/KeyUtilTest.java @@ -25,7 +25,7 @@ import org.testng.Assert; import org.testng.annotations.Test; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; public class KeyUtilTest { diff --git a/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/profile/SLOLocationTest.java b/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/profile/SLOLocationTest.java index 872080cea3..71c769a5a8 100644 --- a/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/profile/SLOLocationTest.java +++ b/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/profile/SLOLocationTest.java @@ -16,8 +16,8 @@ package com.sun.identity.saml2.profile; import static com.sun.identity.saml2.common.SAML2Constants.*; +import com.sun.identity.saml2.jaxb.metadata.EndpointType; import com.sun.identity.saml2.jaxb.metadata.SingleLogoutServiceElement; -import com.sun.identity.saml2.jaxb.metadata.impl.SingleLogoutServiceElementImpl; import java.util.ArrayList; import java.util.List; import static org.assertj.core.api.Assertions.*; @@ -27,11 +27,11 @@ public class SLOLocationTest { public void sameBindingReturnedWhenAvailable() { - List endpoints = new ArrayList(); + List endpoints = new ArrayList(); endpoints.add(endpointFor(HTTP_REDIRECT, "redirect")); endpoints.add(endpointFor(HTTP_POST, "post")); endpoints.add(endpointFor(SOAP, "soap")); - SingleLogoutServiceElement result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_REDIRECT); + EndpointType result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_REDIRECT); assertThat(result.getBinding()).isEqualTo(HTTP_REDIRECT); result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_POST); assertThat(result.getBinding()).isEqualTo(HTTP_POST); @@ -40,10 +40,10 @@ public void sameBindingReturnedWhenAvailable() { } public void asynchronousBindingIsPreferredOverSynchronous() { - List endpoints = new ArrayList(); + List endpoints = new ArrayList(); endpoints.add(endpointFor(HTTP_POST, "post")); endpoints.add(endpointFor(SOAP, "soap")); - SingleLogoutServiceElement result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_REDIRECT); + EndpointType result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_REDIRECT); assertThat(result.getBinding()).isEqualTo(HTTP_POST); endpoints.set(0, endpointFor(HTTP_REDIRECT, "redirect")); result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_POST); @@ -51,16 +51,16 @@ public void asynchronousBindingIsPreferredOverSynchronous() { } public void asynchronousBindingsAreNotReturnedWhenRequestingSynchronous() { - List endpoints = new ArrayList(); + List endpoints = new ArrayList(); endpoints.add(endpointFor(HTTP_REDIRECT, "redirect")); endpoints.add(endpointFor(HTTP_POST, "post")); - SingleLogoutServiceElement result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, SOAP); + EndpointType result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, SOAP); assertThat(result).isNull(); } public void nullReturnedIfNoBindingAvailable() { - List endpoints = new ArrayList(); - SingleLogoutServiceElement result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_REDIRECT); + List endpoints = new ArrayList(); + EndpointType result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_REDIRECT); assertThat(result).isNull(); result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_POST); assertThat(result).isNull(); @@ -69,16 +69,16 @@ public void nullReturnedIfNoBindingAvailable() { } public void synchronousBindingReturnedIfNoAsynchronousAvailable() { - List endpoints = new ArrayList(); + List endpoints = new ArrayList(); endpoints.add(endpointFor(SOAP, "soap")); - SingleLogoutServiceElement result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_REDIRECT); + EndpointType result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_REDIRECT); assertThat(result.getBinding()).isEqualTo(SOAP); result = LogoutUtil.getMostAppropriateSLOServiceLocation(endpoints, HTTP_POST); assertThat(result.getBinding()).isEqualTo(SOAP); } private SingleLogoutServiceElement endpointFor(String binding, String location) { - SingleLogoutServiceElement ret = new SingleLogoutServiceElementImpl(); + SingleLogoutServiceElement ret = new SingleLogoutServiceElement(); ret.setBinding(binding); ret.setLocation(location); return ret; diff --git a/openam-schema/openam-liberty-schema/pom.xml b/openam-schema/openam-liberty-schema/pom.xml index 119c843ceb..12a277b460 100644 --- a/openam-schema/openam-liberty-schema/pom.xml +++ b/openam-schema/openam-liberty-schema/pom.xml @@ -33,7 +33,6 @@ - + true + true + + + + lib-arch-iff-utility\.xsd + lib-arch-iwsf-utility\.xsd + lib-arch-utility\.xsd + xml\.xsd + xml-schema\.xsd + lib-svc-dst\.xsd + lib-svc-dst-dt\.xsd + lib-svc-id-pp\.xsd + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + remove-xjc-sources-shadowed-by-hand-written + process-sources + run + + + + + + + + + + + + + + + @@ -76,38 +96,16 @@ org.openidentityplatform.openam openam-shared - - org.glassfish.metro - wsit-impl - - - - - - - - - - - - - - - - - - - - - - com.sun.msv.datatype.xsd - xsdlib + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.2 - com.sun.xml.bind - jaxb1-impl - + org.glassfish.jaxb + jaxb-runtime + 4.0.5 + diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/AffiliationDescriptorConfigElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/AffiliationDescriptorConfigElement.java index 7438551b39..5bef095e17 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/AffiliationDescriptorConfigElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/AffiliationDescriptorConfigElement.java @@ -1,26 +1,7 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.federation.jaxb.entityconfig; - /** - * Java content class for AffiliationDescriptorConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/idff-entity-config-schema.xsd line 60) - *

    - *

    - * <element name="AffiliationDescriptorConfig" type="{urn:sun:fm:ID-FF:entityconfig}BaseConfigType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x AffiliationDescriptorConfigElement. */ -public interface AffiliationDescriptorConfigElement - extends javax.xml.bind.Element, com.sun.identity.federation.jaxb.entityconfig.BaseConfigType -{ - - +public class AffiliationDescriptorConfigElement extends BaseConfigType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/AttributeElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/AttributeElement.java index aefd23de98..292298dd39 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/AttributeElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/AttributeElement.java @@ -1,26 +1,12 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.federation.jaxb.entityconfig; +import jakarta.xml.bind.annotation.XmlRootElement; /** - * Java content class for Attribute element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/idff-entity-config-schema.xsd line 67) - *

    - *

    - * <element name="Attribute" type="{urn:sun:fm:ID-FF:entityconfig}AttributeType"/>
    - * 
    - * + * Root-element binding for the entityconfig Attribute element. + * In JAXB 1.x XJC this was a generated Element class; JAXB 4.x XJC + * no longer generates such classes. */ -public interface AttributeElement - extends javax.xml.bind.Element, com.sun.identity.federation.jaxb.entityconfig.AttributeType -{ - - +@XmlRootElement(name = "Attribute", namespace = "urn:sun:fm:ID-FF:entityconfig") +public class AttributeElement extends AttributeType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/EntityConfigElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/EntityConfigElement.java index 5daee50d4f..33b1212f4d 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/EntityConfigElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/EntityConfigElement.java @@ -1,26 +1,9 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.federation.jaxb.entityconfig; - /** - * Java content class for EntityConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/idff-entity-config-schema.xsd line 41) - *

    - *

    - * <element name="EntityConfig" type="{urn:sun:fm:ID-FF:entityconfig}EntityConfigType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x EntityConfigElement. + * In JAXB 1.x, EntityConfigElement was an interface extending EntityConfigType. + * In JAXB 2.x/3.x, EntityConfigType is a concrete class; this shim extends it. */ -public interface EntityConfigElement - extends javax.xml.bind.Element, com.sun.identity.federation.jaxb.entityconfig.EntityConfigType -{ - - +public class EntityConfigElement extends EntityConfigType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/IDPDescriptorConfigElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/IDPDescriptorConfigElement.java index f987a9219b..120b1aeb34 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/IDPDescriptorConfigElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/IDPDescriptorConfigElement.java @@ -1,26 +1,9 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.federation.jaxb.entityconfig; - /** - * Java content class for IDPDescriptorConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/idff-entity-config-schema.xsd line 58) - *

    - *

    - * <element name="IDPDescriptorConfig" type="{urn:sun:fm:ID-FF:entityconfig}BaseConfigType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x IDPDescriptorConfigElement. + * In JAXB 2.x/3.x, element declarations with abstract types are represented + * differently. This class provides backward compatibility. */ -public interface IDPDescriptorConfigElement - extends javax.xml.bind.Element, com.sun.identity.federation.jaxb.entityconfig.BaseConfigType -{ - - +public class IDPDescriptorConfigElement extends BaseConfigType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/ObjectFactory.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/ObjectFactory.java index c82490acc4..518adcb0bf 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/ObjectFactory.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/ObjectFactory.java @@ -1,235 +1,79 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.federation.jaxb.entityconfig; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.sun.identity.federation.jaxb.entityconfig package. - *

    An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * + * Hand-maintained replacement for the XJC-generated ObjectFactory for the + * {@code com.sun.identity.federation.jaxb.entityconfig} package. + * + *

    Adds legacy no-arg {@code create*Element()} factory methods that JAXB 1.x + * XJC generated but JAXB 4.x XJC no longer generates. Callers such as + * {@code IDFFModelImpl} use these methods to create config objects. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public class ObjectFactory - extends com.sun.identity.federation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(16, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.federation.jaxb.entityconfig.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.federation.jaxb.entityconfig.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.SPDescriptorConfigElement.class), "com.sun.identity.federation.jaxb.entityconfig.impl.SPDescriptorConfigElementImpl"); - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.IDPDescriptorConfigElement.class), "com.sun.identity.federation.jaxb.entityconfig.impl.IDPDescriptorConfigElementImpl"); - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.ValueElement.class), "com.sun.identity.federation.jaxb.entityconfig.impl.ValueElementImpl"); - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.EntityConfigType.class), "com.sun.identity.federation.jaxb.entityconfig.impl.EntityConfigTypeImpl"); - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.AttributeType.class), "com.sun.identity.federation.jaxb.entityconfig.impl.AttributeTypeImpl"); - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.AffiliationDescriptorConfigElement.class), "com.sun.identity.federation.jaxb.entityconfig.impl.AffiliationDescriptorConfigElementImpl"); - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.BaseConfigType.class), "com.sun.identity.federation.jaxb.entityconfig.impl.BaseConfigTypeImpl"); - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.EntityConfigElement.class), "com.sun.identity.federation.jaxb.entityconfig.impl.EntityConfigElementImpl"); - defaultImplementations.put((com.sun.identity.federation.jaxb.entityconfig.AttributeElement.class), "com.sun.identity.federation.jaxb.entityconfig.impl.AttributeElementImpl"); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:ID-FF:entityconfig", "Value"), (com.sun.identity.federation.jaxb.entityconfig.ValueElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:ID-FF:entityconfig", "AffiliationDescriptorConfig"), (com.sun.identity.federation.jaxb.entityconfig.AffiliationDescriptorConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:ID-FF:entityconfig", "Attribute"), (com.sun.identity.federation.jaxb.entityconfig.AttributeElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:ID-FF:entityconfig", "IDPDescriptorConfig"), (com.sun.identity.federation.jaxb.entityconfig.IDPDescriptorConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:ID-FF:entityconfig", "EntityConfig"), (com.sun.identity.federation.jaxb.entityconfig.EntityConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:ID-FF:entityconfig", "SPDescriptorConfig"), (com.sun.identity.federation.jaxb.entityconfig.SPDescriptorConfigElement.class)); - } - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.federation.jaxb.entityconfig - * - */ - public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); +@XmlRegistry +public class ObjectFactory { + + private static final QName _EntityConfig_QNAME = + new QName("urn:sun:fm:ID-FF:entityconfig", "EntityConfig"); + private static final QName _IDPDescriptorConfig_QNAME = + new QName("urn:sun:fm:ID-FF:entityconfig", "IDPDescriptorConfig"); + private static final QName _SPDescriptorConfig_QNAME = + new QName("urn:sun:fm:ID-FF:entityconfig", "SPDescriptorConfig"); + private static final QName _AffiliationDescriptorConfig_QNAME = + new QName("urn:sun:fm:ID-FF:entityconfig", "AffiliationDescriptorConfig"); + private static final QName _Attribute_QNAME = + new QName("urn:sun:fm:ID-FF:entityconfig", "Attribute"); + private static final QName _Value_QNAME = + new QName("urn:sun:fm:ID-FF:entityconfig", "Value"); + + public ObjectFactory() {} + + public EntityConfigType createEntityConfigType() { return new EntityConfigType(); } + public AttributeType createAttributeType() { return new AttributeType(); } + + // No-arg convenience factory methods for legacy callers (JAXB 1.x API compatibility) + public EntityConfigElement createEntityConfigElement() { return new EntityConfigElement(); } + public IDPDescriptorConfigElement createIDPDescriptorConfigElement() { return new IDPDescriptorConfigElement(); } + public SPDescriptorConfigElement createSPDescriptorConfigElement() { return new SPDescriptorConfigElement(); } + public AffiliationDescriptorConfigElement createAffiliationDescriptorConfigElement() { return new AffiliationDescriptorConfigElement(); } + + /** Returns an {@link AttributeElement} typed as {@link AttributeType} for legacy compatibility. */ + public AttributeType createAttributeElement() { return new AttributeElement(); } + + @XmlElementDecl(namespace = "urn:sun:fm:ID-FF:entityconfig", name = "EntityConfig") + public JAXBElement createEntityConfig(EntityConfigType value) { + return new JAXBElement<>(_EntityConfig_QNAME, EntityConfigType.class, null, value); } - /** - * Create an instance of SPDescriptorConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.SPDescriptorConfigElement createSPDescriptorConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.SPDescriptorConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:ID-FF:entityconfig", name = "IDPDescriptorConfig") + public JAXBElement createIDPDescriptorConfig(BaseConfigType value) { + return new JAXBElement<>(_IDPDescriptorConfig_QNAME, BaseConfigType.class, null, value); } - /** - * Create an instance of IDPDescriptorConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.IDPDescriptorConfigElement createIDPDescriptorConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.IDPDescriptorConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:ID-FF:entityconfig", name = "SPDescriptorConfig") + public JAXBElement createSPDescriptorConfig(BaseConfigType value) { + return new JAXBElement<>(_SPDescriptorConfig_QNAME, BaseConfigType.class, null, value); } - /** - * Create an instance of ValueElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.ValueElement createValueElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.ValueElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:ID-FF:entityconfig", name = "AffiliationDescriptorConfig") + public JAXBElement createAffiliationDescriptorConfig(BaseConfigType value) { + return new JAXBElement<>(_AffiliationDescriptorConfig_QNAME, BaseConfigType.class, null, value); } - /** - * Create an instance of ValueElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.ValueElement createValueElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.ValueElementImpl(value); + @XmlElementDecl(namespace = "urn:sun:fm:ID-FF:entityconfig", name = "Attribute") + public JAXBElement createAttribute(AttributeType value) { + return new JAXBElement<>(_Attribute_QNAME, AttributeType.class, null, value); } - /** - * Create an instance of EntityConfigType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.EntityConfigType createEntityConfigType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.EntityConfigTypeImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:ID-FF:entityconfig", name = "Value") + public JAXBElement createValue(String value) { + return new JAXBElement<>(_Value_QNAME, String.class, null, value); } - - /** - * Create an instance of AttributeType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.AttributeType createAttributeType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.AttributeTypeImpl(); - } - - /** - * Create an instance of AffiliationDescriptorConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.AffiliationDescriptorConfigElement createAffiliationDescriptorConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.AffiliationDescriptorConfigElementImpl(); - } - - /** - * Create an instance of BaseConfigType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.BaseConfigType createBaseConfigType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.BaseConfigTypeImpl(); - } - - /** - * Create an instance of EntityConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.EntityConfigElement createEntityConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.EntityConfigElementImpl(); - } - - /** - * Create an instance of AttributeElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.federation.jaxb.entityconfig.AttributeElement createAttributeElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.federation.jaxb.entityconfig.impl.AttributeElementImpl(); - } - } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/SPDescriptorConfigElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/SPDescriptorConfigElement.java index 079394fac9..4a887f5bdf 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/SPDescriptorConfigElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/SPDescriptorConfigElement.java @@ -1,26 +1,7 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.federation.jaxb.entityconfig; - /** - * Java content class for SPDescriptorConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/idff-entity-config-schema.xsd line 59) - *

    - *

    - * <element name="SPDescriptorConfig" type="{urn:sun:fm:ID-FF:entityconfig}BaseConfigType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x SPDescriptorConfigElement. */ -public interface SPDescriptorConfigElement - extends javax.xml.bind.Element, com.sun.identity.federation.jaxb.entityconfig.BaseConfigType -{ - - +public class SPDescriptorConfigElement extends BaseConfigType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/common/jaxb/xmlsig/X509DataElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/common/jaxb/xmlsig/X509DataElement.java index a06c92a684..05b19a3d8b 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/common/jaxb/xmlsig/X509DataElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/common/jaxb/xmlsig/X509DataElement.java @@ -1,26 +1,7 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.common.jaxb.xmlsig; - /** - * Java content class for X509Data element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/xmldsig-core-schema.xsd line 185) - *

    - *

    - * <element name="X509Data" type="{http://www.w3.org/2000/09/xmldsig#}X509DataType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x X509DataElement. */ -public interface X509DataElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.common.jaxb.xmlsig.X509DataType -{ - - +public class X509DataElement extends X509DataType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthenticateRequesterElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthenticateRequesterElement.java index 77fe9c9e20..f9fc512755 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthenticateRequesterElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthenticateRequesterElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for AuthenticateRequester element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 178) - *

    - *

    - * <element name="AuthenticateRequester" type="{urn:liberty:disco:2003-08}DirectiveType"/>
    - * 
    - * - */ -public interface AuthenticateRequesterElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.DirectiveType -{ - - -} +/** Compatibility shim for JAXB 1.x AuthenticateRequesterElement. */ +public class AuthenticateRequesterElement extends DirectiveType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthenticateSessionContextElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthenticateSessionContextElement.java index c2c2797686..a7e8660dcb 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthenticateSessionContextElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthenticateSessionContextElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for AuthenticateSessionContext element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 180) - *

    - *

    - * <element name="AuthenticateSessionContext" type="{urn:liberty:disco:2003-08}DirectiveType"/>
    - * 
    - * - */ -public interface AuthenticateSessionContextElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.DirectiveType -{ - - -} +/** Compatibility shim for JAXB 1.x AuthenticateSessionContextElement. */ +public class AuthenticateSessionContextElement extends DirectiveType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthorizeRequesterElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthorizeRequesterElement.java index 3adf44fd6b..2c2d0115e6 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthorizeRequesterElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/AuthorizeRequesterElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for AuthorizeRequester element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 179) - *

    - *

    - * <element name="AuthorizeRequester" type="{urn:liberty:disco:2003-08}DirectiveType"/>
    - * 
    - * - */ -public interface AuthorizeRequesterElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.DirectiveType -{ - - -} +/** Compatibility shim for JAXB 1.x AuthorizeRequesterElement. */ +public class AuthorizeRequesterElement extends DirectiveType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/EncryptResourceIDElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/EncryptResourceIDElement.java index 617be2a89d..611e084487 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/EncryptResourceIDElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/EncryptResourceIDElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for EncryptResourceID element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 181) - *

    - *

    - * <element name="EncryptResourceID" type="{urn:liberty:disco:2003-08}DirectiveType"/>
    - * 
    - * - */ -public interface EncryptResourceIDElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.DirectiveType -{ - - -} +/** Compatibility shim for JAXB 1.x EncryptResourceIDElement. */ +public class EncryptResourceIDElement extends DirectiveType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ModifyElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ModifyElement.java index b6d269831d..e87b76500e 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ModifyElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ModifyElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for Modify element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 166) - *

    - *

    - * <element name="Modify" type="{urn:liberty:disco:2003-08}ModifyType"/>
    - * 
    - * - */ -public interface ModifyElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.ModifyType -{ - - +/** Compatibility shim for JAXB 1.x ModifyElement. */ +public class ModifyElement extends ModifyType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ModifyResponseElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ModifyResponseElement.java index 3d052e54f0..6ea72d8090 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ModifyResponseElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ModifyResponseElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for ModifyResponse element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 182) - *

    - *

    - * <element name="ModifyResponse" type="{urn:liberty:disco:2003-08}ModifyResponseType"/>
    - * 
    - * - */ -public interface ModifyResponseElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.ModifyResponseType -{ - - +/** Compatibility shim for JAXB 1.x ModifyResponseElement. */ +public class ModifyResponseElement extends ModifyResponseType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ObjectFactory.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ObjectFactory.java index cd46e29ad0..94c4d09a0f 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ObjectFactory.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ObjectFactory.java @@ -1,556 +1,210 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - package com.sun.identity.liberty.ws.disco.jaxb; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlIDREF; +import jakarta.xml.bind.annotation.XmlRegistry; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.sun.identity.liberty.ws.disco.jaxb package. - *

    An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * + * ObjectFactory for com.sun.identity.liberty.ws.disco.jaxb. + * This is a hand-maintained shim that adds the no-arg create*Element() + * convenience methods that JAXB 1.x generated but JAXB 4.x does not. */ -public class ObjectFactory - extends com.sun.identity.federation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(45, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.liberty.ws.disco.jaxb.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.liberty.ws.disco.jaxb.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ResourceOfferingElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ResourceOfferingElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.QueryElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.QueryElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.EmptyType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.EmptyTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.StatusType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.StatusTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.QueryType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.QueryTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ModifyResponseElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ModifyResponseElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ExtensionElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ExtensionElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.OptionsType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.OptionsTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.AuthenticateSessionContextElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.AuthenticateSessionContextElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ModifyResponseType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ModifyResponseTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ExtensionType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ExtensionTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ResourceIDTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.AuthenticateRequesterElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.AuthenticateRequesterElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.EncryptedResourceIDTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.RemoveEntryType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.RemoveEntryTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ServiceTypeElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ServiceTypeElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ResourceOfferingType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ResourceOfferingTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.DescriptionType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.DescriptionTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.EncryptedResourceIDElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.StatusElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.StatusElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.EncryptResourceIDElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.EncryptResourceIDElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.QueryType.RequestedServiceTypeType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.QueryTypeImpl$RequestedServiceTypeTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.QueryResponseElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.QueryResponseElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.QueryResponseType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.QueryResponseTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.OptionsElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.OptionsElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ServiceInstanceType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ServiceInstanceTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.QueryResponseType.CredentialsType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.QueryResponseTypeImpl$CredentialsTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.DirectiveType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.DirectiveTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ModifyType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ModifyTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ModifyElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ModifyElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.InsertEntryType.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.InsertEntryTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.AuthorizeRequesterElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.AuthorizeRequesterElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb.ResourceIDElement.class), "com.sun.identity.liberty.ws.disco.jaxb.impl.ResourceIDElementImpl"); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "ServiceType"), (com.sun.identity.liberty.ws.disco.jaxb.ServiceTypeElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "Options"), (com.sun.identity.liberty.ws.disco.jaxb.OptionsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "QueryResponse"), (com.sun.identity.liberty.ws.disco.jaxb.QueryResponseElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "ModifyResponse"), (com.sun.identity.liberty.ws.disco.jaxb.ModifyResponseElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "ResourceID"), (com.sun.identity.liberty.ws.disco.jaxb.ResourceIDElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "Query"), (com.sun.identity.liberty.ws.disco.jaxb.QueryElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "ResourceOffering"), (com.sun.identity.liberty.ws.disco.jaxb.ResourceOfferingElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "AuthenticateRequester"), (com.sun.identity.liberty.ws.disco.jaxb.AuthenticateRequesterElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "AuthorizeRequester"), (com.sun.identity.liberty.ws.disco.jaxb.AuthorizeRequesterElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "Modify"), (com.sun.identity.liberty.ws.disco.jaxb.ModifyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "EncryptedResourceID"), (com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "AuthenticateSessionContext"), (com.sun.identity.liberty.ws.disco.jaxb.AuthenticateSessionContextElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "Status"), (com.sun.identity.liberty.ws.disco.jaxb.StatusElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "Extension"), (com.sun.identity.liberty.ws.disco.jaxb.ExtensionElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2003-08", "EncryptResourceID"), (com.sun.identity.liberty.ws.disco.jaxb.EncryptResourceIDElement.class)); - } - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.liberty.ws.disco.jaxb - * - */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Status_QNAME = new QName("urn:liberty:disco:2003-08", "Status"); + private final static QName _Extension_QNAME = new QName("urn:liberty:disco:2003-08", "Extension"); + private final static QName _ServiceType_QNAME = new QName("urn:liberty:disco:2003-08", "ServiceType"); + private final static QName _ResourceID_QNAME = new QName("urn:liberty:disco:2003-08", "ResourceID"); + private final static QName _EncryptedResourceID_QNAME = new QName("urn:liberty:disco:2003-08", "EncryptedResourceID"); + private final static QName _ResourceOffering_QNAME = new QName("urn:liberty:disco:2003-08", "ResourceOffering"); + private final static QName _Options_QNAME = new QName("urn:liberty:disco:2003-08", "Options"); + private final static QName _Query_QNAME = new QName("urn:liberty:disco:2003-08", "Query"); + private final static QName _QueryResponse_QNAME = new QName("urn:liberty:disco:2003-08", "QueryResponse"); + private final static QName _Modify_QNAME = new QName("urn:liberty:disco:2003-08", "Modify"); + private final static QName _AuthenticateRequester_QNAME = new QName("urn:liberty:disco:2003-08", "AuthenticateRequester"); + private final static QName _AuthorizeRequester_QNAME = new QName("urn:liberty:disco:2003-08", "AuthorizeRequester"); + private final static QName _AuthenticateSessionContext_QNAME = new QName("urn:liberty:disco:2003-08", "AuthenticateSessionContext"); + private final static QName _EncryptResourceID_QNAME = new QName("urn:liberty:disco:2003-08", "EncryptResourceID"); + private final static QName _ModifyResponse_QNAME = new QName("urn:liberty:disco:2003-08", "ModifyResponse"); + private final static QName _DescriptionTypeCredentialRef_QNAME = new QName("urn:liberty:disco:2003-08", "CredentialRef"); + public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); - } - - /** - * Create an instance of ResourceOfferingElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ResourceOfferingElement createResourceOfferingElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ResourceOfferingElementImpl(); - } - - /** - * Create an instance of QueryElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.QueryElement createQueryElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.QueryElementImpl(); - } - - /** - * Create an instance of EmptyType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.EmptyType createEmptyType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.EmptyTypeImpl(); - } - - /** - * Create an instance of StatusType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.StatusType createStatusType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.StatusTypeImpl(); - } - - /** - * Create an instance of QueryType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.QueryType createQueryType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.QueryTypeImpl(); - } - - /** - * Create an instance of ModifyResponseElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ModifyResponseElement createModifyResponseElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ModifyResponseElementImpl(); - } - - /** - * Create an instance of ExtensionElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ExtensionElement createExtensionElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ExtensionElementImpl(); - } - - /** - * Create an instance of OptionsType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.OptionsType createOptionsType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.OptionsTypeImpl(); - } - - /** - * Create an instance of AuthenticateSessionContextElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.AuthenticateSessionContextElement createAuthenticateSessionContextElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.AuthenticateSessionContextElementImpl(); - } - - /** - * Create an instance of ModifyResponseType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ModifyResponseType createModifyResponseType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ModifyResponseTypeImpl(); - } - - /** - * Create an instance of ExtensionType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ExtensionType createExtensionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ExtensionTypeImpl(); - } - - /** - * Create an instance of ResourceIDType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType createResourceIDType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ResourceIDTypeImpl(); - } - - /** - * Create an instance of AuthenticateRequesterElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.AuthenticateRequesterElement createAuthenticateRequesterElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.AuthenticateRequesterElementImpl(); - } - - /** - * Create an instance of EncryptedResourceIDType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDType createEncryptedResourceIDType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.EncryptedResourceIDTypeImpl(); - } - - /** - * Create an instance of RemoveEntryType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.RemoveEntryType createRemoveEntryType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.RemoveEntryTypeImpl(); - } - - /** - * Create an instance of ServiceTypeElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ServiceTypeElement createServiceTypeElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ServiceTypeElementImpl(); - } - - /** - * Create an instance of ServiceTypeElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ServiceTypeElement createServiceTypeElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ServiceTypeElementImpl(value); - } - - /** - * Create an instance of ResourceOfferingType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ResourceOfferingType createResourceOfferingType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ResourceOfferingTypeImpl(); - } - - /** - * Create an instance of DescriptionType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.DescriptionType createDescriptionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.DescriptionTypeImpl(); - } - - /** - * Create an instance of EncryptedResourceIDElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDElement createEncryptedResourceIDElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.EncryptedResourceIDElementImpl(); - } - - /** - * Create an instance of StatusElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.StatusElement createStatusElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.StatusElementImpl(); - } - - /** - * Create an instance of EncryptResourceIDElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.EncryptResourceIDElement createEncryptResourceIDElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.EncryptResourceIDElementImpl(); - } - - /** - * Create an instance of QueryTypeRequestedServiceTypeType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.QueryType.RequestedServiceTypeType createQueryTypeRequestedServiceTypeType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.QueryTypeImpl.RequestedServiceTypeTypeImpl(); - } - - /** - * Create an instance of QueryResponseElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.QueryResponseElement createQueryResponseElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.QueryResponseElementImpl(); - } - - /** - * Create an instance of QueryResponseType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.QueryResponseType createQueryResponseType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.QueryResponseTypeImpl(); - } - - /** - * Create an instance of OptionsElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.OptionsElement createOptionsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.OptionsElementImpl(); - } - - /** - * Create an instance of ServiceInstanceType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ServiceInstanceType createServiceInstanceType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ServiceInstanceTypeImpl(); - } - - /** - * Create an instance of QueryResponseTypeCredentialsType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.QueryResponseType.CredentialsType createQueryResponseTypeCredentialsType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.QueryResponseTypeImpl.CredentialsTypeImpl(); - } - - /** - * Create an instance of DirectiveType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.DirectiveType createDirectiveType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.DirectiveTypeImpl(); - } - - /** - * Create an instance of ModifyType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ModifyType createModifyType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ModifyTypeImpl(); - } - - /** - * Create an instance of ModifyElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ModifyElement createModifyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ModifyElementImpl(); - } - - /** - * Create an instance of InsertEntryType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.InsertEntryType createInsertEntryType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.InsertEntryTypeImpl(); - } - - /** - * Create an instance of AuthorizeRequesterElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.AuthorizeRequesterElement createAuthorizeRequesterElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.AuthorizeRequesterElementImpl(); - } - - /** - * Create an instance of ResourceIDElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb.ResourceIDElement createResourceIDElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb.impl.ResourceIDElementImpl(); } + public QueryResponseType createQueryResponseType() { + return new QueryResponseType(); + } + + public QueryType createQueryType() { + return new QueryType(); + } + + public InsertEntryType createInsertEntryType() { + return new InsertEntryType(); + } + + public StatusType createStatusType() { + return new StatusType(); + } + + public ExtensionType createExtensionType() { + return new ExtensionType(); + } + + public ResourceIDType createResourceIDType() { + return new ResourceIDType(); + } + + public EncryptedResourceIDType createEncryptedResourceIDType() { + return new EncryptedResourceIDType(); + } + + public ResourceOfferingType createResourceOfferingType() { + return new ResourceOfferingType(); + } + + public OptionsType createOptionsType() { + return new OptionsType(); + } + + public ModifyType createModifyType() { + return new ModifyType(); + } + + public DirectiveType createDirectiveType() { + return new DirectiveType(); + } + + public ModifyResponseType createModifyResponseType() { + return new ModifyResponseType(); + } + + public EmptyType createEmptyType() { + return new EmptyType(); + } + + public DescriptionType createDescriptionType() { + return new DescriptionType(); + } + + public ServiceInstanceType createServiceInstanceType() { + return new ServiceInstanceType(); + } + + public RemoveEntryType createRemoveEntryType() { + return new RemoveEntryType(); + } + + public QueryResponseType.Credentials createQueryResponseTypeCredentials() { + return new QueryResponseType.Credentials(); + } + + public QueryType.RequestedServiceType createQueryTypeRequestedServiceType() { + return new QueryType.RequestedServiceType(); + } + + // ---- no-arg Element factory methods (JAXB 1.x compat) ---- + + public AuthenticateRequesterElement createAuthenticateRequesterElement() { + return new AuthenticateRequesterElement(); + } + + public AuthorizeRequesterElement createAuthorizeRequesterElement() { + return new AuthorizeRequesterElement(); + } + + public AuthenticateSessionContextElement createAuthenticateSessionContextElement() { + return new AuthenticateSessionContextElement(); + } + + public EncryptResourceIDElement createEncryptResourceIDElement() { + return new EncryptResourceIDElement(); + } + + // ---- JAXBElement wrapping methods ---- + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "Status") + public JAXBElement createStatus(StatusType value) { + return new JAXBElement(_Status_QNAME, StatusType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "Extension") + public JAXBElement createExtension(ExtensionType value) { + return new JAXBElement(_Extension_QNAME, ExtensionType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "ServiceType") + public JAXBElement createServiceType(String value) { + return new JAXBElement(_ServiceType_QNAME, String.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "ResourceID") + public JAXBElement createResourceID(ResourceIDType value) { + return new JAXBElement(_ResourceID_QNAME, ResourceIDType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "EncryptedResourceID") + public JAXBElement createEncryptedResourceID(EncryptedResourceIDType value) { + return new JAXBElement(_EncryptedResourceID_QNAME, EncryptedResourceIDType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "ResourceOffering") + public JAXBElement createResourceOffering(ResourceOfferingType value) { + return new JAXBElement(_ResourceOffering_QNAME, ResourceOfferingType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "Options") + public JAXBElement createOptions(OptionsType value) { + return new JAXBElement(_Options_QNAME, OptionsType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "Query") + public JAXBElement createQuery(QueryType value) { + return new JAXBElement(_Query_QNAME, QueryType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "QueryResponse") + public JAXBElement createQueryResponse(QueryResponseType value) { + return new JAXBElement(_QueryResponse_QNAME, QueryResponseType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "Modify") + public JAXBElement createModify(ModifyType value) { + return new JAXBElement(_Modify_QNAME, ModifyType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "AuthenticateRequester") + public JAXBElement createAuthenticateRequester(DirectiveType value) { + return new JAXBElement(_AuthenticateRequester_QNAME, DirectiveType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "AuthorizeRequester") + public JAXBElement createAuthorizeRequester(DirectiveType value) { + return new JAXBElement(_AuthorizeRequester_QNAME, DirectiveType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "AuthenticateSessionContext") + public JAXBElement createAuthenticateSessionContext(DirectiveType value) { + return new JAXBElement(_AuthenticateSessionContext_QNAME, DirectiveType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "EncryptResourceID") + public JAXBElement createEncryptResourceID(DirectiveType value) { + return new JAXBElement(_EncryptResourceID_QNAME, DirectiveType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "ModifyResponse") + public JAXBElement createModifyResponse(ModifyResponseType value) { + return new JAXBElement(_ModifyResponse_QNAME, ModifyResponseType.class, null, value); + } + + @XmlElementDecl(namespace = "urn:liberty:disco:2003-08", name = "CredentialRef", scope = DescriptionType.class) + @XmlIDREF + public JAXBElement createDescriptionTypeCredentialRef(Object value) { + return new JAXBElement(_DescriptionTypeCredentialRef_QNAME, Object.class, DescriptionType.class, value); + } } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryElement.java index 83df96373c..6923e30088 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for Query element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 125) - *

    - *

    - * <element name="Query" type="{urn:liberty:disco:2003-08}QueryType"/>
    - * 
    - * - */ -public interface QueryElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.QueryType -{ - - +/** Compatibility shim for JAXB 1.x QueryElement. */ +public class QueryElement extends QueryType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryResponseElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryResponseElement.java index f72ab16ffe..1806afa862 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryResponseElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryResponseElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for QueryResponse element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 140) - *

    - *

    - * <element name="QueryResponse" type="{urn:liberty:disco:2003-08}QueryResponseType"/>
    - * 
    - * - */ -public interface QueryResponseElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.QueryResponseType -{ - - +/** Compatibility shim for JAXB 1.x QueryResponseElement. */ +public class QueryResponseElement extends QueryResponseType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryType.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryType.java index a14b3c11d8..a5c397a71d 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryType.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/QueryType.java @@ -1,188 +1,260 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - package com.sun.identity.liberty.ws.disco.jaxb; +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlID; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; +import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + /** - * Java content class for QueryType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 126) - *

    + *

    Java class for QueryType complex type. + * + *

    The following schema fragment specifies the expected content contained within this class. + * *

    - * <complexType name="QueryType">
    - *   <complexContent>
    - *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    - *       <sequence>
    - *         <group ref="{urn:liberty:disco:2003-08}ResourceIDGroup"/>
    - *         <element name="RequestedServiceType" maxOccurs="unbounded" minOccurs="0">
    - *           <complexType>
    - *             <complexContent>
    - *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    - *                 <sequence>
    - *                   <element ref="{urn:liberty:disco:2003-08}ServiceType"/>
    - *                   <element ref="{urn:liberty:disco:2003-08}Options" minOccurs="0"/>
    - *                 </sequence>
    - *               </restriction>
    - *             </complexContent>
    - *           </complexType>
    - *         </element>
    - *       </sequence>
    - *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
    - *     </restriction>
    - *   </complexContent>
    - * </complexType>
    + * <complexType name="QueryType">
    + *   <complexContent>
    + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *       <sequence>
    + *         <group ref="{urn:liberty:disco:2003-08}ResourceIDGroup"/>
    + *         <element name="RequestedServiceType" maxOccurs="unbounded" minOccurs="0">
    + *           <complexType>
    + *             <complexContent>
    + *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *                 <sequence>
    + *                   <element ref="{urn:liberty:disco:2003-08}ServiceType"/>
    + *                   <element ref="{urn:liberty:disco:2003-08}Options" minOccurs="0"/>
    + *                 </sequence>
    + *               </restriction>
    + *             </complexContent>
    + *           </complexType>
    + *         </element>
    + *       </sequence>
    + *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
    + *     </restriction>
    + *   </complexContent>
    + * </complexType>
      * 
    * + * */ -public interface QueryType { - +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QueryType", propOrder = { + "resourceID", + "encryptedResourceID", + "requestedServiceType" +}) +public class QueryType { - /** - * Gets the value of the RequestedServiceType property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the RequestedServiceType property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getRequestedServiceType().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.liberty.ws.disco.jaxb.QueryType.RequestedServiceTypeType} - * - */ - java.util.List getRequestedServiceType(); + @XmlElement(name = "ResourceID") + protected ResourceIDType resourceID; + @XmlElement(name = "EncryptedResourceID") + protected EncryptedResourceIDType encryptedResourceID; + @XmlElement(name = "RequestedServiceType") + protected List requestedServiceType; + @XmlAttribute(name = "id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; /** * Gets the value of the resourceID property. * * @return * possible object is - * {@link com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType} - * {@link com.sun.identity.liberty.ws.disco.jaxb.ResourceIDElement} + * {@link ResourceIDType } + * */ - com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType getResourceID(); + public ResourceIDType getResourceID() { + return resourceID; + } /** * Sets the value of the resourceID property. * * @param value * allowed object is - * {@link com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType} - * {@link com.sun.identity.liberty.ws.disco.jaxb.ResourceIDElement} + * {@link ResourceIDType } + * */ - void setResourceID(com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType value); + public void setResourceID(ResourceIDType value) { + this.resourceID = value; + } /** - * Gets the value of the id property. + * Gets the value of the encryptedResourceID property. * * @return * possible object is - * {@link java.lang.String} + * {@link EncryptedResourceIDType } + * */ - java.lang.String getId(); + public EncryptedResourceIDType getEncryptedResourceID() { + return encryptedResourceID; + } /** - * Sets the value of the id property. + * Sets the value of the encryptedResourceID property. * * @param value * allowed object is - * {@link java.lang.String} + * {@link EncryptedResourceIDType } + * */ - void setId(java.lang.String value); + public void setEncryptedResourceID(EncryptedResourceIDType value) { + this.encryptedResourceID = value; + } /** - * Gets the value of the encryptedResourceID property. + * Gets the value of the requestedServiceType property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the requestedServiceType property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getRequestedServiceType().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link QueryType.RequestedServiceType } + * + * + */ + public List getRequestedServiceType() { + if (requestedServiceType == null) { + requestedServiceType = new ArrayList(); + } + return this.requestedServiceType; + } + + /** + * Gets the value of the id property. * * @return * possible object is - * {@link com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDType} - * {@link com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDElement} + * {@link String } + * */ - com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDType getEncryptedResourceID(); + public String getId() { + return id; + } /** - * Sets the value of the encryptedResourceID property. + * Sets the value of the id property. * * @param value * allowed object is - * {@link com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDType} - * {@link com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDElement} + * {@link String } + * */ - void setEncryptedResourceID(com.sun.identity.liberty.ws.disco.jaxb.EncryptedResourceIDType value); + public void setId(String value) { + this.id = value; + } /** - * Java content class for anonymous complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 130) - *

    + *

    Java class for anonymous complex type. + * + *

    The following schema fragment specifies the expected content contained within this class. + * *

    -     * <complexType>
    -     *   <complexContent>
    -     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    -     *       <sequence>
    -     *         <element ref="{urn:liberty:disco:2003-08}ServiceType"/>
    -     *         <element ref="{urn:liberty:disco:2003-08}Options" minOccurs="0"/>
    -     *       </sequence>
    -     *     </restriction>
    -     *   </complexContent>
    -     * </complexType>
    +     * <complexType>
    +     *   <complexContent>
    +     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    +     *       <sequence>
    +     *         <element ref="{urn:liberty:disco:2003-08}ServiceType"/>
    +     *         <element ref="{urn:liberty:disco:2003-08}Options" minOccurs="0"/>
    +     *       </sequence>
    +     *     </restriction>
    +     *   </complexContent>
    +     * </complexType>
          * 
    * + * */ - public interface RequestedServiceTypeType { + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "serviceType", + "options" + }) + public static class RequestedServiceType { + @XmlElement(name = "ServiceType", required = true) + @XmlSchemaType(name = "anyURI") + protected String serviceType; + @XmlElement(name = "Options") + protected OptionsType options; /** * Gets the value of the serviceType property. * * @return * possible object is - * {@link java.lang.String} + * {@link String } + * */ - java.lang.String getServiceType(); + public String getServiceType() { + return serviceType; + } /** * Sets the value of the serviceType property. * * @param value * allowed object is - * {@link java.lang.String} + * {@link String } + * */ - void setServiceType(java.lang.String value); + public void setServiceType(String value) { + this.serviceType = value; + } /** * Gets the value of the options property. * * @return * possible object is - * {@link com.sun.identity.liberty.ws.disco.jaxb.OptionsElement} - * {@link com.sun.identity.liberty.ws.disco.jaxb.OptionsType} + * {@link OptionsType } + * */ - com.sun.identity.liberty.ws.disco.jaxb.OptionsType getOptions(); + public OptionsType getOptions() { + return options; + } /** * Sets the value of the options property. * * @param value * allowed object is - * {@link com.sun.identity.liberty.ws.disco.jaxb.OptionsElement} - * {@link com.sun.identity.liberty.ws.disco.jaxb.OptionsType} + * {@link OptionsType } + * */ - void setOptions(com.sun.identity.liberty.ws.disco.jaxb.OptionsType value); + public void setOptions(OptionsType value) { + this.options = value; + } } + /** + * Compatibility shim: JAXB 1.x XJC generated this inner class as + * {@code RequestedServiceTypeType}. JAXB 4.x names it {@code RequestedServiceType}. + */ + public static class RequestedServiceTypeType extends RequestedServiceType {} + } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ResourceIDElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ResourceIDElement.java index e2ffbbb0a0..bab447c7e0 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ResourceIDElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/ResourceIDElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * Java content class for ResourceID element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-disco-svc.xsd line 60) - *

    - *

    - * <element name="ResourceID" type="{urn:liberty:disco:2003-08}ResourceIDType"/>
    - * 
    - * - */ -public interface ResourceIDElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType -{ - - +/** Compatibility shim for JAXB 1.x ResourceIDElement. */ +public class ResourceIDElement extends ResourceIDType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/StatusElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/StatusElement.java index 91dcebfc41..95d3f96c88 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/StatusElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb/StatusElement.java @@ -1,27 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb; - -/** - * A standard Status type - * Java content class for Status element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-iwsf-utility.xsd line 52) - *

    - *

    - * <element name="Status" type="{urn:liberty:disco:2003-08}StatusType"/>
    - * 
    - * - */ -public interface StatusElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.StatusType -{ - - +/** Compatibility shim for JAXB 1.x StatusElement. */ +public class StatusElement extends StatusType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/GenerateBearerTokenElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/GenerateBearerTokenElement.java index 11683ec328..b03c66dfaf 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/GenerateBearerTokenElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/GenerateBearerTokenElement.java @@ -1,26 +1,6 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb11; +import com.sun.identity.liberty.ws.disco.jaxb.DirectiveType; -/** - * Java content class for GenerateBearerToken element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/liberty-idwsf-disco-svc-v1.1.xsd line 51) - *

    - *

    - * <element name="GenerateBearerToken" type="{urn:liberty:disco:2003-08}DirectiveType"/>
    - * 
    - * - */ -public interface GenerateBearerTokenElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.DirectiveType -{ - - -} +/** Compatibility shim for JAXB 1.x GenerateBearerTokenElement. */ +public class GenerateBearerTokenElement extends DirectiveType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/ObjectFactory.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/ObjectFactory.java index 1b47aa3d9e..f896059bb5 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/ObjectFactory.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/ObjectFactory.java @@ -1,222 +1,71 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb11; +import javax.xml.namespace.QName; +import com.sun.identity.liberty.ws.disco.jaxb.DirectiveType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.sun.identity.liberty.ws.disco.jaxb11 package. - *

    An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * + * Hand-maintained replacement for the XJC-generated ObjectFactory for the + * {@code com.sun.identity.liberty.ws.disco.jaxb11} package. + * + *

    Adds the legacy no-arg {@code createSendSingleLogOutElement()} and + * {@code createGenerateBearerTokenElement()} factory methods that JAXB 1.x XJC + * generated but JAXB 4.x XJC no longer generates. Callers in + * {@code SMDiscoEntryData} use these methods. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public class ObjectFactory - extends com.sun.identity.federation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(16, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.liberty.ws.disco.jaxb11.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.liberty.ws.disco.jaxb11.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.KeysType.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.KeysTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.ExtensionElement.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.ExtensionElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.GenerateBearerTokenElement.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.GenerateBearerTokenElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.ExtensionType.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.ExtensionTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.EmptyType.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.EmptyTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.StatusElement.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.StatusElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.KeysElement.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.KeysElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.StatusType.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.StatusTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.disco.jaxb11.SendSingleLogOutElement.class), "com.sun.identity.liberty.ws.disco.jaxb11.impl.SendSingleLogOutElementImpl"); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2004-04", "Status"), (com.sun.identity.liberty.ws.disco.jaxb11.StatusElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2004-04", "Extension"), (com.sun.identity.liberty.ws.disco.jaxb11.ExtensionElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2004-04", "SendSingleLogOut"), (com.sun.identity.liberty.ws.disco.jaxb11.SendSingleLogOutElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2004-04", "Keys"), (com.sun.identity.liberty.ws.disco.jaxb11.KeysElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:disco:2004-04", "GenerateBearerToken"), (com.sun.identity.liberty.ws.disco.jaxb11.GenerateBearerTokenElement.class)); - } - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.liberty.ws.disco.jaxb11 - * - */ - public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); +@XmlRegistry +public class ObjectFactory { + + private static final QName _Status_QNAME = + new QName("urn:liberty:disco:2004-04", "Status"); + private static final QName _Extension_QNAME = + new QName("urn:liberty:disco:2004-04", "Extension"); + private static final QName _Keys_QNAME = + new QName("urn:liberty:disco:2004-04", "Keys"); + private static final QName _SendSingleLogOut_QNAME = + new QName("urn:liberty:disco:2004-04", "SendSingleLogOut"); + private static final QName _GenerateBearerToken_QNAME = + new QName("urn:liberty:disco:2004-04", "GenerateBearerToken"); + + public ObjectFactory() {} + + public StatusType createStatusType() { return new StatusType(); } + public ExtensionType createExtensionType() { return new ExtensionType(); } + public KeysType createKeysType() { return new KeysType(); } + public EmptyType createEmptyType() { return new EmptyType(); } + + // No-arg convenience factory methods for legacy callers (JAXB 1.x API compatibility) + public SendSingleLogOutElement createSendSingleLogOutElement() { return new SendSingleLogOutElement(); } + public GenerateBearerTokenElement createGenerateBearerTokenElement() { return new GenerateBearerTokenElement(); } + + @XmlElementDecl(namespace = "urn:liberty:disco:2004-04", name = "Status") + public JAXBElement createStatus(StatusType value) { + return new JAXBElement<>(_Status_QNAME, StatusType.class, null, value); } - /** - * Create an instance of KeysType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.KeysType createKeysType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.KeysTypeImpl(); + @XmlElementDecl(namespace = "urn:liberty:disco:2004-04", name = "Extension") + public JAXBElement createExtension(ExtensionType value) { + return new JAXBElement<>(_Extension_QNAME, ExtensionType.class, null, value); } - /** - * Create an instance of ExtensionElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.ExtensionElement createExtensionElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.ExtensionElementImpl(); + @XmlElementDecl(namespace = "urn:liberty:disco:2004-04", name = "Keys") + public JAXBElement createKeys(KeysType value) { + return new JAXBElement<>(_Keys_QNAME, KeysType.class, null, value); } - /** - * Create an instance of GenerateBearerTokenElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.GenerateBearerTokenElement createGenerateBearerTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.GenerateBearerTokenElementImpl(); + @XmlElementDecl(namespace = "urn:liberty:disco:2004-04", name = "SendSingleLogOut") + public JAXBElement createSendSingleLogOut(DirectiveType value) { + return new JAXBElement<>(_SendSingleLogOut_QNAME, DirectiveType.class, null, value); } - /** - * Create an instance of ExtensionType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.ExtensionType createExtensionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.ExtensionTypeImpl(); + @XmlElementDecl(namespace = "urn:liberty:disco:2004-04", name = "GenerateBearerToken") + public JAXBElement createGenerateBearerToken(DirectiveType value) { + return new JAXBElement<>(_GenerateBearerToken_QNAME, DirectiveType.class, null, value); } - - /** - * Create an instance of EmptyType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.EmptyType createEmptyType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.EmptyTypeImpl(); - } - - /** - * Create an instance of StatusElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.StatusElement createStatusElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.StatusElementImpl(); - } - - /** - * Create an instance of KeysElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.KeysElement createKeysElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.KeysElementImpl(); - } - - /** - * Create an instance of StatusType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.StatusType createStatusType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.StatusTypeImpl(); - } - - /** - * Create an instance of SendSingleLogOutElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.jaxb11.SendSingleLogOutElement createSendSingleLogOutElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.jaxb11.impl.SendSingleLogOutElementImpl(); - } - } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/SendSingleLogOutElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/SendSingleLogOutElement.java index 325f5d853e..f678694980 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/SendSingleLogOutElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/jaxb11/SendSingleLogOutElement.java @@ -1,26 +1,6 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.jaxb11; +import com.sun.identity.liberty.ws.disco.jaxb.DirectiveType; -/** - * Java content class for SendSingleLogOut element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/liberty-idwsf-disco-svc-v1.1.xsd line 50) - *

    - *

    - * <element name="SendSingleLogOut" type="{urn:liberty:disco:2003-08}DirectiveType"/>
    - * 
    - * - */ -public interface SendSingleLogOutElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.DirectiveType -{ - - -} +/** Compatibility shim for JAXB 1.x SendSingleLogOutElement. */ +public class SendSingleLogOutElement extends DirectiveType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/plugins/jaxb/DiscoEntryElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/plugins/jaxb/DiscoEntryElement.java index fc8b6ebbfc..079358c2cc 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/plugins/jaxb/DiscoEntryElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/plugins/jaxb/DiscoEntryElement.java @@ -1,26 +1,11 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.disco.plugins.jaxb; +import com.sun.identity.liberty.ws.disco.jaxb.InsertEntryType; +import jakarta.xml.bind.annotation.XmlRootElement; /** - * Java content class for DiscoEntry element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/discoentry.xsd line 39) - *

    - *

    - * <element name="DiscoEntry" type="{urn:liberty:disco:2003-08}InsertEntryType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x DiscoEntryElement. + * In JAXB 4.x XJC this element is handled via JAXBElement factory methods. */ -public interface DiscoEntryElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.InsertEntryType -{ - - -} +@XmlRootElement(name = "DiscoEntry", namespace = "urn:com:sun:identityserver:liberty:ws:disco:discoentry") +public class DiscoEntryElement extends InsertEntryType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/plugins/jaxb/ObjectFactory.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/plugins/jaxb/ObjectFactory.java index 2c2c4ebfea..8958aa904e 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/plugins/jaxb/ObjectFactory.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/disco/plugins/jaxb/ObjectFactory.java @@ -1,13 +1,12 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - package com.sun.identity.liberty.ws.disco.plugins.jaxb; +import javax.xml.namespace.QName; +import com.sun.identity.liberty.ws.disco.jaxb.InsertEntryType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; + /** * This object contains factory methods for each @@ -23,92 +22,32 @@ * provided in this class. * */ -public class ObjectFactory - extends com.sun.identity.federation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(16, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.liberty.ws.disco.plugins.jaxb.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.liberty.ws.disco.plugins.jaxb.impl.JAXBVersion.class); +@XmlRegistry +public class ObjectFactory { - static { - defaultImplementations.put((com.sun.identity.liberty.ws.disco.plugins.jaxb.DiscoEntryElement.class), "com.sun.identity.liberty.ws.disco.plugins.jaxb.impl.DiscoEntryElementImpl"); - rootTagMap.put(new javax.xml.namespace.QName("urn:com:sun:identityserver:liberty:ws:disco:discoentry", "DiscoEntry"), (com.sun.identity.liberty.ws.disco.plugins.jaxb.DiscoEntryElement.class)); - } + private final static QName _DiscoEntry_QNAME = new QName("urn:com:sun:identityserver:liberty:ws:disco:discoentry", "DiscoEntry"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.liberty.ws.disco.plugins.jaxb * */ public ObjectFactory() { - super(grammarInfo); } /** - * Create an instance of the specified Java content interface. + * Create an instance of {@link JAXBElement }{@code <}{@link InsertEntryType }{@code >} * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link InsertEntryType }{@code >} */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); + @XmlElementDecl(namespace = "urn:com:sun:identityserver:liberty:ws:disco:discoentry", name = "DiscoEntry") + public JAXBElement createDiscoEntry(InsertEntryType value) { + return new JAXBElement(_DiscoEntry_QNAME, InsertEntryType.class, null, value); } - /** - * Create an instance of DiscoEntryElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.disco.plugins.jaxb.DiscoEntryElement createDiscoEntryElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.disco.plugins.jaxb.impl.DiscoEntryElementImpl(); - } + // ---- No-arg element factory methods for JAXB 1.x compatibility ---- + public DiscoEntryElement createDiscoEntryElement() { return new DiscoEntryElement(); } } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AddressCardElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AddressCardElement.java index 002aca1a5d..97ced30bf7 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AddressCardElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AddressCardElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for AddressCard element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 152) - *

    - *

    - * <element name="AddressCard" type="{urn:liberty:id-sis-pp:2003-08}AddressCardType"/>
    - * 
    - * - */ -public interface AddressCardElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.AddressCardType -{ - - +/** Compatibility shim for JAXB 1.x AddressCardElement. */ +public class AddressCardElement extends AddressCardType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AddressElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AddressElement.java index 37d059e97e..772a253bf5 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AddressElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AddressElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Address element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 165) - *

    - *

    - * <element name="Address" type="{urn:liberty:id-sis-pp:2003-08}AddressType"/>
    - * 
    - * - */ -public interface AddressElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.AddressType -{ - - +/** Compatibility shim for JAXB 1.x AddressElement. */ +public class AddressElement extends AddressType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AgeElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AgeElement.java index 6103eb1dda..d1e0a42d79 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AgeElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AgeElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Age element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 253) - *

    - *

    - * <element name="Age" type="{urn:liberty:id-sis-pp:2003-08}DSTInteger"/>
    - * 
    - * - */ -public interface AgeElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTInteger -{ - - -} +public class AgeElement extends DSTInteger {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AltIDElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AltIDElement.java index 9ba6d5a041..44eef14256 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AltIDElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/AltIDElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for AltID element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 121) - *

    - *

    - * <element name="AltID" type="{urn:liberty:id-sis-pp:2003-08}AltIDType"/>
    - * 
    - * - */ -public interface AltIDElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.AltIDType -{ - - -} +public class AltIDElement extends AltIDType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/BirthdayElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/BirthdayElement.java index 1e28c2ae31..14a4c14d6c 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/BirthdayElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/BirthdayElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Birthday element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 252) - *

    - *

    - * <element name="Birthday" type="{urn:liberty:id-sis-pp:2003-08}DSTMonthDay"/>
    - * 
    - * - */ -public interface BirthdayElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTMonthDay -{ - - -} +public class BirthdayElement extends DSTMonthDay {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/CNElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/CNElement.java index 619aca0169..e75a8c5f4f 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/CNElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/CNElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for CN element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 65) - *

    - *

    - * <element name="CN" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface CNElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class CNElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/CommonNameElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/CommonNameElement.java index d4924aeaf6..9398404e44 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/CommonNameElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/CommonNameElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for CommonName element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 53) - *

    - *

    - * <element name="CommonName" type="{urn:liberty:id-sis-pp:2003-08}CommonNameType"/>
    - * 
    - * - */ -public interface CommonNameElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.CommonNameType -{ - - -} +public class CommonNameElement extends CommonNameType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DOBElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DOBElement.java index b9886df5ee..becee02f9b 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DOBElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DOBElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for DOB element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 130) - *

    - *

    - * <element name="DOB" type="{urn:liberty:id-sis-pp:2003-08}DSTDate"/>
    - * 
    - * - */ -public interface DOBElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTDate -{ - - -} +public class DOBElement extends DSTDate {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DemographicsElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DemographicsElement.java index 4ad43c2f5d..a06fc84ae7 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DemographicsElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DemographicsElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Demographics element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 238) - *

    - *

    - * <element name="Demographics" type="{urn:liberty:id-sis-pp:2003-08}DemographicsType"/>
    - * 
    - * - */ -public interface DemographicsElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DemographicsType -{ - - -} +public class DemographicsElement extends DemographicsType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DisplayLanguageElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DisplayLanguageElement.java index 51e019ac1d..d5bcd44f22 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DisplayLanguageElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/DisplayLanguageElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for DisplayLanguage element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 250) - *

    - *

    - * <element name="DisplayLanguage" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface DisplayLanguageElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class DisplayLanguageElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EmergencyContactElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EmergencyContactElement.java index 082b2cd7f0..4b556a9a00 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EmergencyContactElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EmergencyContactElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for EmergencyContact element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 256) - *

    - *

    - * <element name="EmergencyContact" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface EmergencyContactElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class EmergencyContactElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EmploymentIdentityElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EmploymentIdentityElement.java index 0ae0dc177f..6e28bbd1dd 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EmploymentIdentityElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EmploymentIdentityElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for EmploymentIdentity element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 133) - *

    - *

    - * <element name="EmploymentIdentity" type="{urn:liberty:id-sis-pp:2003-08}EmploymentIdentityType"/>
    - * 
    - * - */ -public interface EmploymentIdentityElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.EmploymentIdentityType -{ - - -} +public class EmploymentIdentityElement extends EmploymentIdentityType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EncryptKeyElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EncryptKeyElement.java index 6471b2f9e6..622333bac1 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EncryptKeyElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/EncryptKeyElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for EncryptKey element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 255) - *

    - *

    - * <element name="EncryptKey" type="{urn:liberty:id-sis-pp:2003-08}KeyInfoType"/>
    - * 
    - * - */ -public interface EncryptKeyElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.KeyInfoType -{ - - -} +public class EncryptKeyElement extends KeyInfoType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ExtensionElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ExtensionElement.java index dbeb246224..4fd4e12f62 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ExtensionElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ExtensionElement.java @@ -1,27 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * An element that contains arbitrary content extensions from other namespaces - * Java content class for Extension element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-iwsf-utility.xsd line 76) - *

    - *

    - * <element name="Extension" type="{urn:liberty:id-sis-pp:2003-08}extensionType"/>
    - * 
    - * - */ -public interface ExtensionElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.ExtensionType -{ - - -} +public class ExtensionElement extends ExtensionType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/FNElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/FNElement.java index 4256241826..033685d938 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/FNElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/FNElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for FN element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 87) - *

    - *

    - * <element name="FN" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface FNElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class FNElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/FacadeElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/FacadeElement.java index 98bf217771..f9511f2bc6 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/FacadeElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/FacadeElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Facade element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 221) - *

    - *

    - * <element name="Facade" type="{urn:liberty:id-sis-pp:2003-08}FacadeType"/>
    - * 
    - * - */ -public interface FacadeElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.FacadeType -{ - - -} +public class FacadeElement extends FacadeType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GenderElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GenderElement.java index a512fbb04a..10477e9467 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GenderElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GenderElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Gender element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 131) - *

    - *

    - * <element name="Gender" type="{urn:liberty:id-sis-pp:2003-08}DSTURI"/>
    - * 
    - * - */ -public interface GenderElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTURI -{ - - -} +public class GenderElement extends DSTURI {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GreetMeSoundElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GreetMeSoundElement.java index c0381bc058..0c7d1d9f5a 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GreetMeSoundElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GreetMeSoundElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for GreetMeSound element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 237) - *

    - *

    - * <element name="GreetMeSound" type="{urn:liberty:id-sis-pp:2003-08}DSTURI"/>
    - * 
    - * - */ -public interface GreetMeSoundElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTURI -{ - - -} +public class GreetMeSoundElement extends DSTURI {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GreetSoundElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GreetSoundElement.java index 0078ea663a..9c79f8beca 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GreetSoundElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/GreetSoundElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for GreetSound element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 236) - *

    - *

    - * <element name="GreetSound" type="{urn:liberty:id-sis-pp:2003-08}DSTURI"/>
    - * 
    - * - */ -public interface GreetSoundElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTURI -{ - - -} +public class GreetSoundElement extends DSTURI {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/IDValueElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/IDValueElement.java index 808130377d..b348f08d17 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/IDValueElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/IDValueElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for IDValue element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 119) - *

    - *

    - * <element name="IDValue" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface IDValueElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class IDValueElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/InformalNameElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/InformalNameElement.java index 8f445107d2..05cfda0449 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/InformalNameElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/InformalNameElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for InformalName element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 51) - *

    - *

    - * <element name="InformalName" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface InformalNameElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class InformalNameElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/JobTitleElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/JobTitleElement.java index 79a3781549..13f3b03139 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/JobTitleElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/JobTitleElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for JobTitle element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 146) - *

    - *

    - * <element name="JobTitle" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface JobTitleElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class JobTitleElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LanguageElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LanguageElement.java index 565e368a8e..77230a398a 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LanguageElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LanguageElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Language element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 251) - *

    - *

    - * <element name="Language" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface LanguageElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class LanguageElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LegalIdentityElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LegalIdentityElement.java index 3d8432e4db..a958d96acc 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LegalIdentityElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LegalIdentityElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for LegalIdentity element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 93) - *

    - *

    - * <element name="LegalIdentity" type="{urn:liberty:id-sis-pp:2003-08}LegalIdentityType"/>
    - * 
    - * - */ -public interface LegalIdentityElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.LegalIdentityType -{ - - -} +public class LegalIdentityElement extends LegalIdentityType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LegalNameElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LegalNameElement.java index 9df2a8ff32..49e95ee3fd 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LegalNameElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/LegalNameElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for LegalName element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 108) - *

    - *

    - * <element name="LegalName" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface LegalNameElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class LegalNameElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MNElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MNElement.java index 80b8939d8e..89329c37a8 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MNElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MNElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for MN element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 91) - *

    - *

    - * <element name="MN" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface MNElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class MNElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MaritalStatusElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MaritalStatusElement.java index f9d4ab14e1..ea09d25c9d 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MaritalStatusElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MaritalStatusElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for MaritalStatus element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 132) - *

    - *

    - * <element name="MaritalStatus" type="{urn:liberty:id-sis-pp:2003-08}DSTURI"/>
    - * 
    - * - */ -public interface MaritalStatusElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTURI -{ - - -} +public class MaritalStatusElement extends DSTURI {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ModifyElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ModifyElement.java index 6952b50b56..13d4286c54 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ModifyElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ModifyElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Modify element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-svc-dst.xsd line 96) - *

    - *

    - * <element name="Modify" type="{urn:liberty:id-sis-pp:2003-08}ModifyType"/>
    - * 
    - * - */ -public interface ModifyElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.ModifyType -{ - - -} +/** Compatibility shim for JAXB 1.x ModifyElement. */ +public class ModifyElement extends ModifyType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ModifyResponseElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ModifyResponseElement.java index 43950f96a8..11e41202f9 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ModifyResponseElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ModifyResponseElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for ModifyResponse element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-svc-dst.xsd line 122) - *

    - *

    - * <element name="ModifyResponse" type="{urn:liberty:id-sis-pp:2003-08}ResponseType"/>
    - * 
    - * - */ -public interface ModifyResponseElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.ResponseType -{ - - -} +/** Compatibility shim for JAXB 1.x ModifyResponseElement. */ +public class ModifyResponseElement extends ResponseType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MsgContactElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MsgContactElement.java index 63f7e7bb36..9abbc4da9e 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MsgContactElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MsgContactElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for MsgContact element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 191) - *

    - *

    - * <element name="MsgContact" type="{urn:liberty:id-sis-pp:2003-08}MsgContactType"/>
    - * 
    - * - */ -public interface MsgContactElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.MsgContactType -{ - - +/** Compatibility shim for JAXB 1.x MsgContactElement. */ +public class MsgContactElement extends MsgContactType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MugShotElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MugShotElement.java index d263bd24b6..7bf3bf31a6 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MugShotElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/MugShotElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for MugShot element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 233) - *

    - *

    - * <element name="MugShot" type="{urn:liberty:id-sis-pp:2003-08}DSTURI"/>
    - * 
    - * - */ -public interface MugShotElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTURI -{ - - -} +public class MugShotElement extends DSTURI {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/NamePronouncedElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/NamePronouncedElement.java index eac99c25c0..d49aa4ed8a 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/NamePronouncedElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/NamePronouncedElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for NamePronounced element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 235) - *

    - *

    - * <element name="NamePronounced" type="{urn:liberty:id-sis-pp:2003-08}DSTURI"/>
    - * 
    - * - */ -public interface NamePronouncedElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTURI -{ - - -} +public class NamePronouncedElement extends DSTURI {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/OElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/OElement.java index 2a865b1f57..e24c8fc457 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/OElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/OElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for O element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 148) - *

    - *

    - * <element name="O" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface OElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class OElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/PPElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/PPElement.java index b20f43ef0c..7e5c643dba 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/PPElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/PPElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for PP element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 31) - *

    - *

    - * <element name="PP" type="{urn:liberty:id-sis-pp:2003-08}PPType"/>
    - * 
    - * - */ -public interface PPElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.PPType -{ - - -} +public class PPElement extends PPType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/PersonalTitleElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/PersonalTitleElement.java index 787786c882..15cc4fcdaf 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/PersonalTitleElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/PersonalTitleElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for PersonalTitle element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 85) - *

    - *

    - * <element name="PersonalTitle" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface PersonalTitleElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class PersonalTitleElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/QueryElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/QueryElement.java index e896693b93..0f11be824a 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/QueryElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/QueryElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for Query element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-svc-dst.xsd line 56) - *

    - *

    - * <element name="Query" type="{urn:liberty:id-sis-pp:2003-08}QueryType"/>
    - * 
    - * - */ -public interface QueryElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.QueryType -{ - - -} +/** Compatibility shim for JAXB 1.x QueryElement. */ +public class QueryElement extends QueryType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/QueryResponseElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/QueryResponseElement.java index 19c815d4ce..e208e744bf 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/QueryResponseElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/QueryResponseElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for QueryResponse element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-svc-dst.xsd line 76) - *

    - *

    - * <element name="QueryResponse" type="{urn:liberty:id-sis-pp:2003-08}QueryResponseType"/>
    - * 
    - * - */ -public interface QueryResponseElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.QueryResponseType -{ - - -} +/** Compatibility shim for JAXB 1.x QueryResponseElement. */ +public class QueryResponseElement extends QueryResponseType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ResourceIDElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ResourceIDElement.java index e1f5d3a33f..0209625b49 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ResourceIDElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/ResourceIDElement.java @@ -1,26 +1,6 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; +import com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType; -/** - * Java content class for ResourceID element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-svc-dst.xsd line 47) - *

    - *

    - * <element name="ResourceID" type="{urn:liberty:disco:2003-08}ResourceIDType"/>
    - * 
    - * - */ -public interface ResourceIDElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.disco.jaxb.ResourceIDType -{ - - -} +/** Compatibility shim for JAXB 1.x idpp ResourceIDElement. */ +public class ResourceIDElement extends ResourceIDType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/SNElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/SNElement.java index fe25708b9c..c70e4181ad 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/SNElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/SNElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for SN element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 89) - *

    - *

    - * <element name="SN" type="{urn:liberty:id-sis-pp:2003-08}DSTString"/>
    - * 
    - * - */ -public interface SNElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTString -{ - - -} +public class SNElement extends DSTString {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/SignKeyElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/SignKeyElement.java index c1a06df86f..3a2a82591e 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/SignKeyElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/SignKeyElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for SignKey element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 254) - *

    - *

    - * <element name="SignKey" type="{urn:liberty:id-sis-pp:2003-08}KeyInfoType"/>
    - * 
    - * - */ -public interface SignKeyElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.KeyInfoType -{ - - -} +public class SignKeyElement extends KeyInfoType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/WebSiteElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/WebSiteElement.java index 5f30a07afe..ee70dd36f6 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/WebSiteElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/idpp/jaxb/WebSiteElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.idpp.jaxb; - -/** - * Java content class for WebSite element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-id-sis-pp.xsd line 234) - *

    - *

    - * <element name="WebSite" type="{urn:liberty:id-sis-pp:2003-08}DSTURI"/>
    - * 
    - * - */ -public interface WebSiteElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.idpp.jaxb.DSTURI -{ - - -} +public class WebSiteElement extends DSTURI {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/ConfirmElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/ConfirmElement.java new file mode 100644 index 0000000000..eaee41ff67 --- /dev/null +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/ConfirmElement.java @@ -0,0 +1,11 @@ +package com.sun.identity.liberty.ws.interaction.jaxb; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** Compatibility shim for JAXB 1.x Confirm element (InquiryElementType). */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InquiryElementType") +public class ConfirmElement extends InquiryElementType { +} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/InquiryElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/InquiryElement.java index c82e0ff597..846de10daf 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/InquiryElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/InquiryElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.interaction.jaxb; - -/** - * Java content class for Inquiry element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-interact-svc.xsd line 86) - *

    - *

    - * <element name="Inquiry" type="{urn:liberty:is:2003-08}InquiryType"/>
    - * 
    - * - */ -public interface InquiryElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.interaction.jaxb.InquiryType -{ - - +/** Compatibility shim for JAXB 1.x InquiryElement. */ +public class InquiryElement extends InquiryType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/InteractionResponseElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/InteractionResponseElement.java index 7baa3ca181..ed0835adc6 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/InteractionResponseElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/InteractionResponseElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.interaction.jaxb; - -/** - * Java content class for InteractionResponse element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-interact-svc.xsd line 144) - *

    - *

    - * <element name="InteractionResponse" type="{urn:liberty:is:2003-08}InteractionResponseType"/>
    - * 
    - * - */ -public interface InteractionResponseElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.interaction.jaxb.InteractionResponseType -{ - - +/** Compatibility shim for JAXB 1.x InteractionResponseElement. */ +public class InteractionResponseElement extends InteractionResponseType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/RedirectRequestElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/RedirectRequestElement.java index b4f4fd1710..ae3ea2ba27 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/RedirectRequestElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/RedirectRequestElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.interaction.jaxb; - -/** - * Java content class for RedirectRequest element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-interact-svc.xsd line 62) - *

    - *

    - * <element name="RedirectRequest" type="{urn:liberty:is:2003-08}RedirectRequestType"/>
    - * 
    - * - */ -public interface RedirectRequestElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.interaction.jaxb.RedirectRequestType -{ - - +/** Compatibility shim for JAXB 1.x RedirectRequestElement. */ +public class RedirectRequestElement extends RedirectRequestType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/StatusElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/StatusElement.java index 970075b86c..217a68a62f 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/StatusElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/StatusElement.java @@ -1,27 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.interaction.jaxb; - -/** - * A standard Status type - * Java content class for Status element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-iwsf-utility.xsd line 52) - *

    - *

    - * <element name="Status" type="{urn:liberty:is:2003-08}StatusType"/>
    - * 
    - * - */ -public interface StatusElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.interaction.jaxb.StatusType -{ - - -} +/** Compatibility shim for JAXB 1.x StatusElement. */ +public class StatusElement extends StatusType {} diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/TextElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/TextElement.java index 82543df187..27f899927e 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/TextElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/TextElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.interaction.jaxb; - -/** - * Java content class for Text element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-interact-svc.xsd line 125) - *

    - *

    - * <element name="Text" type="{urn:liberty:is:2003-08}TextType"/>
    - * 
    - * - */ -public interface TextElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.interaction.jaxb.TextType -{ - - +/** Compatibility shim for JAXB 1.x TextElement. */ +public class TextElement extends TextType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/UserInteractionElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/UserInteractionElement.java index 6f5bcc9de5..1ebe04ba3e 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/UserInteractionElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/interaction/jaxb/UserInteractionElement.java @@ -1,26 +1,5 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.interaction.jaxb; - -/** - * Java content class for UserInteraction element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-interact-svc.xsd line 49) - *

    - *

    - * <element name="UserInteraction" type="{urn:liberty:is:2003-08}UserInteractionHeaderType"/>
    - * 
    - * - */ -public interface UserInteractionElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.interaction.jaxb.UserInteractionHeaderType -{ - - +/** Compatibility shim for JAXB 1.x UserInteractionElement. */ +public class UserInteractionElement extends UserInteractionHeaderType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/EntityDescriptorElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/EntityDescriptorElement.java index dd9754b627..c1673c2ed0 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/EntityDescriptorElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/EntityDescriptorElement.java @@ -1,26 +1,7 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.meta.jaxb; - /** - * Java content class for EntityDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-metadata.xsd line 161) - *

    - *

    - * <element name="EntityDescriptor" type="{urn:liberty:metadata:2003-08}entityDescriptorType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x EntityDescriptorElement. */ -public interface EntityDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorType -{ - - +public class EntityDescriptorElement extends EntityDescriptorType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/KeyDescriptorElement.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/KeyDescriptorElement.java index 37e1d59292..c37ea3d186 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/KeyDescriptorElement.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/KeyDescriptorElement.java @@ -1,26 +1,7 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.meta.jaxb; - /** - * Java content class for KeyDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-metadata.xsd line 150) - *

    - *

    - * <element name="KeyDescriptor" type="{urn:liberty:metadata:2003-08}keyDescriptorType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x KeyDescriptorElement. */ -public interface KeyDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.liberty.ws.meta.jaxb.KeyDescriptorType -{ - - +public class KeyDescriptorElement extends KeyDescriptorType { } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/ObjectFactory.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/ObjectFactory.java index b6016d7df1..ffea00fd3b 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/ObjectFactory.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/ObjectFactory.java @@ -1,419 +1,83 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.meta.jaxb; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.sun.identity.liberty.ws.meta.jaxb package. - *

    An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * + * Hand-maintained replacement for the XJC-generated ObjectFactory for the + * {@code com.sun.identity.liberty.ws.meta.jaxb} package. + * + *

    Adds the legacy {@code createSPDescriptorTypeAssertionConsumerServiceURLType()} + * factory method that {@code IDFFModelImpl} calls (JAXB 1.x generated this method; + * JAXB 4.x XJC generates {@code createSPDescriptorTypeAssertionConsumerServiceURL()}). + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public class ObjectFactory - extends com.sun.identity.federation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ +@XmlRegistry +public class ObjectFactory { - private static java.util.HashMap defaultImplementations = new java.util.HashMap(33, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.federation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.liberty.ws.meta.jaxb.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.liberty.ws.meta.jaxb.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.SPDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.AffiliationDescriptorType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.AffiliationDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.OrganizationDisplayNameType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.OrganizationDisplayNameTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.LocalizedURIType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.LocalizedURITypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.AdditionalMetadataLocationType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.AdditionalMetadataLocationTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorElement.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.EntityDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.OrganizationType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.OrganizationTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.EntityDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.KeyDescriptorElement.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.KeyDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.OrganizationNameType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.OrganizationNameTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.StatusType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.StatusTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.EmptyType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.EmptyTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.ExtensionElement.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.ExtensionElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.KeyDescriptorType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.KeyDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.EntitiesDescriptorType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.EntitiesDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.StatusElement.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.StatusElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.ContactType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.ContactTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.IDPDescriptorType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.IDPDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.IDPDescriptorElement.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.IDPDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.ProviderDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorElement.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.SPDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.ExtensionType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.ExtensionTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorType.AssertionConsumerServiceURLType.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.SPDescriptorTypeImpl$AssertionConsumerServiceURLTypeImpl"); - defaultImplementations.put((com.sun.identity.liberty.ws.meta.jaxb.EntitiesDescriptorElement.class), "com.sun.identity.liberty.ws.meta.jaxb.impl.EntitiesDescriptorElementImpl"); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:metadata:2003-08", "IDPDescriptor"), (com.sun.identity.liberty.ws.meta.jaxb.IDPDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:metadata:2003-08", "EntityDescriptor"), (com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:metadata:2003-08", "EntitiesDescriptor"), (com.sun.identity.liberty.ws.meta.jaxb.EntitiesDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:metadata:2003-08", "Status"), (com.sun.identity.liberty.ws.meta.jaxb.StatusElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:metadata:2003-08", "KeyDescriptor"), (com.sun.identity.liberty.ws.meta.jaxb.KeyDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:metadata:2003-08", "Extension"), (com.sun.identity.liberty.ws.meta.jaxb.ExtensionElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:liberty:metadata:2003-08", "SPDescriptor"), (com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorElement.class)); - } + private static final QName _SPDescriptor_QNAME = + new QName("urn:liberty:metadata:2003-08", "SPDescriptor"); + private static final QName _IDPDescriptor_QNAME = + new QName("urn:liberty:metadata:2003-08", "IDPDescriptor"); + private static final QName _EntityDescriptor_QNAME = + new QName("urn:liberty:metadata:2003-08", "EntityDescriptor"); + private static final QName _EntitiesDescriptor_QNAME = + new QName("urn:liberty:metadata:2003-08", "EntitiesDescriptor"); + private static final QName _AffiliationDescriptor_QNAME = + new QName("urn:liberty:metadata:2003-08", "AffiliationDescriptor"); + private static final QName _Organization_QNAME = + new QName("urn:liberty:metadata:2003-08", "Organization"); + private static final QName _ContactPerson_QNAME = + new QName("urn:liberty:metadata:2003-08", "ContactPerson"); - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.liberty.ws.meta.jaxb - * - */ - public ObjectFactory() { - super(grammarInfo); - } + public ObjectFactory() {} - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } + public SPDescriptorType createSPDescriptorType() { return new SPDescriptorType(); } + public IDPDescriptorType createIDPDescriptorType() { return new IDPDescriptorType(); } + public EntityDescriptorType createEntityDescriptorType() { return new EntityDescriptorType(); } + public EntitiesDescriptorType createEntitiesDescriptorType() { return new EntitiesDescriptorType(); } + public AffiliationDescriptorType createAffiliationDescriptorType() { return new AffiliationDescriptorType(); } + public OrganizationType createOrganizationType() { return new OrganizationType(); } + public ContactType createContactType() { return new ContactType(); } + public ProviderDescriptorType createProviderDescriptorType() { return new ProviderDescriptorType(); } + public KeyDescriptorType createKeyDescriptorType() { return new KeyDescriptorType(); } - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); + /** JAXB 4.x name — returns inner-class {@link SPDescriptorType.AssertionConsumerServiceURL}. */ + public SPDescriptorType.AssertionConsumerServiceURL createSPDescriptorTypeAssertionConsumerServiceURL() { + return new SPDescriptorType.AssertionConsumerServiceURL(); } /** - * Create an instance of SPDescriptorType - * - * @throws JAXBException - * if an error occurs + * Legacy JAXB 1.x method kept for binary / source compatibility. + * Returns the JAXB 1.x inner-class alias + * {@link SPDescriptorType.AssertionConsumerServiceURLType}. */ - public com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorType createSPDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.SPDescriptorTypeImpl(); + public SPDescriptorType.AssertionConsumerServiceURLType createSPDescriptorTypeAssertionConsumerServiceURLType() { + return new SPDescriptorType.AssertionConsumerServiceURLType(); } - /** - * Create an instance of AffiliationDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.AffiliationDescriptorType createAffiliationDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.AffiliationDescriptorTypeImpl(); + @XmlElementDecl(namespace = "urn:liberty:metadata:2003-08", name = "SPDescriptor") + public JAXBElement createSPDescriptor(SPDescriptorType value) { + return new JAXBElement<>(_SPDescriptor_QNAME, SPDescriptorType.class, null, value); } - /** - * Create an instance of OrganizationDisplayNameType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.OrganizationDisplayNameType createOrganizationDisplayNameType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.OrganizationDisplayNameTypeImpl(); + @XmlElementDecl(namespace = "urn:liberty:metadata:2003-08", name = "IDPDescriptor") + public JAXBElement createIDPDescriptor(IDPDescriptorType value) { + return new JAXBElement<>(_IDPDescriptor_QNAME, IDPDescriptorType.class, null, value); } - /** - * Create an instance of LocalizedURIType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.LocalizedURIType createLocalizedURIType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.LocalizedURITypeImpl(); + @XmlElementDecl(namespace = "urn:liberty:metadata:2003-08", name = "EntityDescriptor") + public JAXBElement createEntityDescriptor(EntityDescriptorType value) { + return new JAXBElement<>(_EntityDescriptor_QNAME, EntityDescriptorType.class, null, value); } - /** - * Create an instance of AdditionalMetadataLocationType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.AdditionalMetadataLocationType createAdditionalMetadataLocationType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.AdditionalMetadataLocationTypeImpl(); + @XmlElementDecl(namespace = "urn:liberty:metadata:2003-08", name = "EntitiesDescriptor") + public JAXBElement createEntitiesDescriptor(EntitiesDescriptorType value) { + return new JAXBElement<>(_EntitiesDescriptor_QNAME, EntitiesDescriptorType.class, null, value); } - - /** - * Create an instance of EntityDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorElement createEntityDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.EntityDescriptorElementImpl(); - } - - /** - * Create an instance of OrganizationType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.OrganizationType createOrganizationType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.OrganizationTypeImpl(); - } - - /** - * Create an instance of EntityDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.EntityDescriptorType createEntityDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.EntityDescriptorTypeImpl(); - } - - /** - * Create an instance of KeyDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.KeyDescriptorElement createKeyDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.KeyDescriptorElementImpl(); - } - - /** - * Create an instance of OrganizationNameType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.OrganizationNameType createOrganizationNameType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.OrganizationNameTypeImpl(); - } - - /** - * Create an instance of StatusType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.StatusType createStatusType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.StatusTypeImpl(); - } - - /** - * Create an instance of EmptyType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.EmptyType createEmptyType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.EmptyTypeImpl(); - } - - /** - * Create an instance of ExtensionElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.ExtensionElement createExtensionElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.ExtensionElementImpl(); - } - - /** - * Create an instance of KeyDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.KeyDescriptorType createKeyDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.KeyDescriptorTypeImpl(); - } - - /** - * Create an instance of EntitiesDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.EntitiesDescriptorType createEntitiesDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.EntitiesDescriptorTypeImpl(); - } - - /** - * Create an instance of StatusElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.StatusElement createStatusElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.StatusElementImpl(); - } - - /** - * Create an instance of ContactType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.ContactType createContactType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.ContactTypeImpl(); - } - - /** - * Create an instance of IDPDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.IDPDescriptorType createIDPDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.IDPDescriptorTypeImpl(); - } - - /** - * Create an instance of IDPDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.IDPDescriptorElement createIDPDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.IDPDescriptorElementImpl(); - } - - /** - * Create an instance of ProviderDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType createProviderDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.ProviderDescriptorTypeImpl(); - } - - /** - * Create an instance of SPDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorElement createSPDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.SPDescriptorElementImpl(); - } - - /** - * Create an instance of ExtensionType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.ExtensionType createExtensionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.ExtensionTypeImpl(); - } - - /** - * Create an instance of SPDescriptorTypeAssertionConsumerServiceURLType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorType.AssertionConsumerServiceURLType createSPDescriptorTypeAssertionConsumerServiceURLType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.SPDescriptorTypeImpl.AssertionConsumerServiceURLTypeImpl(); - } - - /** - * Create an instance of EntitiesDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.liberty.ws.meta.jaxb.EntitiesDescriptorElement createEntitiesDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.liberty.ws.meta.jaxb.impl.EntitiesDescriptorElementImpl(); - } - } diff --git a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/SPDescriptorType.java b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/SPDescriptorType.java index 6e4c1fa201..21dbc08df1 100644 --- a/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/SPDescriptorType.java +++ b/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/liberty/ws/meta/jaxb/SPDescriptorType.java @@ -1,149 +1,82 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:33:54 AM PDT -// - - package com.sun.identity.liberty.ws.meta.jaxb; +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlID; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; +import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; +import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** - * Java content class for SPDescriptorType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-metadata.xsd line 184) - *

    - *

    - * <complexType name="SPDescriptorType">
    - *   <complexContent>
    - *     <extension base="{urn:liberty:metadata:2003-08}providerDescriptorType">
    - *       <sequence>
    - *         <element name="AssertionConsumerServiceURL" maxOccurs="unbounded">
    - *           <complexType>
    - *             <simpleContent>
    - *               <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
    - *                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
    - *                 <attribute name="isDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
    - *               </extension>
    - *             </simpleContent>
    - *           </complexType>
    - *         </element>
    - *         <element name="AuthnRequestsSigned" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
    - *       </sequence>
    - *     </extension>
    - *   </complexContent>
    - * </complexType>
    - * 
    - * + * Hand-maintained replacement for the XJC-generated SPDescriptorType. + * + *

    This is a copy of the XJC output with one addition: the inner class + * {@link AssertionConsumerServiceURLType} which is a JAXB 1.x alias for the + * JAXB 4.x inner class {@link AssertionConsumerServiceURL}. Legacy callers in + * {@code IDFFModelImpl} reference
    + * {@code SPDescriptorType.AssertionConsumerServiceURLType} and cast list + * elements to it — this class restores that API. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface SPDescriptorType - extends com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType -{ - - - /** - * Gets the value of the authnRequestsSigned property. - * - */ - boolean isAuthnRequestsSigned(); - - /** - * Sets the value of the authnRequestsSigned property. - * - */ - void setAuthnRequestsSigned(boolean value); - - /** - * Gets the value of the AssertionConsumerServiceURL property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the AssertionConsumerServiceURL property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAssertionConsumerServiceURL().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorType.AssertionConsumerServiceURLType} - * - */ - java.util.List getAssertionConsumerServiceURL(); +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SPDescriptorType", propOrder = { + "assertionConsumerServiceURL", + "authnRequestsSigned" +}) +public class SPDescriptorType extends ProviderDescriptorType { + + @XmlElement(name = "AssertionConsumerServiceURL", required = true) + protected List assertionConsumerServiceURL; + @XmlElement(name = "AuthnRequestsSigned") + protected boolean authnRequestsSigned; + + public List getAssertionConsumerServiceURL() { + if (assertionConsumerServiceURL == null) { + assertionConsumerServiceURL = new ArrayList(); + } + return this.assertionConsumerServiceURL; + } + public boolean isAuthnRequestsSigned() { return authnRequestsSigned; } + public void setAuthnRequestsSigned(boolean value) { this.authnRequestsSigned = value; } + + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { "value" }) + public static class AssertionConsumerServiceURL { + @XmlValue + @XmlSchemaType(name = "anyURI") + protected String value; + @XmlAttribute(name = "id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "isDefault") + protected Boolean isDefault; + + public String getValue() { return value; } + public void setValue(String value) { this.value = value; } + public String getId() { return id; } + public void setId(String value) { this.id = value; } + public boolean isIsDefault() { return isDefault != null && isDefault; } + public void setIsDefault(Boolean value) { this.isDefault = value; } + } /** - * Java content class for anonymous complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/liberty/lib-arch-metadata.xsd line 189) - *

    - *

    -     * <complexType>
    -     *   <simpleContent>
    -     *     <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
    -     *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
    -     *       <attribute name="isDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
    -     *     </extension>
    -     *   </simpleContent>
    -     * </complexType>
    -     * 
    - * + * JAXB 1.x alias for {@link AssertionConsumerServiceURL}. + * Exists solely for backward-compatibility with legacy callers such as + * {@code IDFFModelImpl} that cast to + * {@code SPDescriptorType.AssertionConsumerServiceURLType}. */ - public interface AssertionConsumerServiceURLType { - - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getValue(); - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setValue(java.lang.String value); - - /** - * Gets the value of the isDefault property. - * - */ - boolean isIsDefault(); - - /** - * Sets the value of the isDefault property. - * - */ - void setIsDefault(boolean value); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getId(); - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setId(java.lang.String value); - + public static class AssertionConsumerServiceURLType extends AssertionConsumerServiceURL { } - } diff --git a/openam-schema/openam-liberty-schema/src/main/xjb/liberty.xjb b/openam-schema/openam-liberty-schema/src/main/xjb/liberty.xjb index bdb8052048..a8e6d0e83b 100644 --- a/openam-schema/openam-liberty-schema/src/main/xjb/liberty.xjb +++ b/openam-schema/openam-liberty-schema/src/main/xjb/liberty.xjb @@ -26,8 +26,8 @@ --> - diff --git a/openam-schema/openam-liberty-schema/src/main/xsd/soap.xsd b/openam-schema/openam-liberty-schema/src/main/xsd/soap.xsd index 3915be02eb..7e649d917a 100644 --- a/openam-schema/openam-liberty-schema/src/main/xsd/soap.xsd +++ b/openam-schema/openam-liberty-schema/src/main/xsd/soap.xsd @@ -62,9 +62,9 @@ --> + jxb:version="3.0" > diff --git a/openam-schema/openam-saml2-schema/pom.xml b/openam-schema/openam-saml2-schema/pom.xml index 1fe96d3067..b4681148d8 100644 --- a/openam-schema/openam-saml2-schema/pom.xml +++ b/openam-schema/openam-saml2-schema/pom.xml @@ -33,7 +33,6 @@ - + true + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + remove-generated-sources-overridden-by-hand-written + process-sources + + run + + + + + + + + + + + + + + + + + + + + + @@ -70,14 +93,15 @@ org.openidentityplatform.openam openam-shared - - org.glassfish.metro - wsit-impl - - - com.sun.xml.bind - jaxb1-impl - + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.2 + + + org.glassfish.jaxb + jaxb-runtime + 4.0.5 + - diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/AttributeElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/AttributeElement.java index 01fd351317..96ef959136 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/AttributeElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/AttributeElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.assertion; - -/** - * Java content class for Attribute element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-assertion-2.0.xsd line 300) - *

    - *

    - * <element name="Attribute" type="{urn:oasis:names:tc:SAML:2.0:assertion}AttributeType"/>
    - * 
    - * - */ -public interface AttributeElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.assertion.AttributeType -{ - - -} +/** Compatibility shim for JAXB 1.x AttributeElement. */ +public class AttributeElement extends AttributeType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/AttributeValueElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/AttributeValueElement.java index 3fc2381126..3b56e16431 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/AttributeValueElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/AttributeValueElement.java @@ -1,40 +1,13 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.assertion; +import java.util.ArrayList; +import java.util.List; -/** - * Java content class for AttributeValue element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-assertion-2.0.xsd line 310) - *

    - *

    - * <element name="AttributeValue" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
    - * 
    - * - */ -public interface AttributeValueElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.schema.AnyType -{ - - - /** - * This property is used to control the xsi:nil feature of W3C XML Schema. - * Setting this property to true will cause the output to be <{0} xsi:nil="true" /> regardless of the values of the other properties. - * - */ - boolean isNil(); - - /** - * Passing true will generate xsi:nil in the XML outputThis property is used to control the xsi:nil feature of W3C XML Schema. - * Setting this property to true will cause the output to be <{0} xsi:nil="true" /> regardless of the values of the other properties. - * - */ - void setNil(boolean value); +/** Compatibility shim for JAXB 1.x AttributeValueElement (was extending AnyType). */ +public class AttributeValueElement { + private List content = new ArrayList<>(); + public List getContent() { + return content; + } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AffiliationConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AffiliationConfigElement.java index fbf17a38a9..923512c92e 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AffiliationConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AffiliationConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for AffiliationConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 72) - *

    - *

    - * <element name="AffiliationConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface AffiliationConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x AffiliationConfigElement. */ +public class AffiliationConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeAuthorityConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeAuthorityConfigElement.java index 3ca83dacc7..e53d64cd4c 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeAuthorityConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeAuthorityConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for AttributeAuthorityConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 67) - *

    - *

    - * <element name="AttributeAuthorityConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface AttributeAuthorityConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x AttributeAuthorityConfigElement. */ +public class AttributeAuthorityConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeElement.java index 0041d8f392..70d3bd58aa 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeElement.java @@ -1,26 +1,15 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; +import jakarta.xml.bind.annotation.XmlRootElement; /** - * Java content class for Attribute element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 79) - *

    - *

    - * <element name="Attribute" type="{urn:sun:fm:SAML:2.0:entityconfig}AttributeType"/>
    - * 
    - * + * Root-element binding for the entityconfig Attribute element. + * + *

    In JAXB 1.x XJC this was a generated Element class that extended + * {@link AttributeType}. JAXB 4.x XJC no longer generates Element classes, + * so this hand-maintained replacement provides the same API for legacy callers + * in {@code SAMLv2ModelImpl} and {@code IDFFModelImpl}. */ -public interface AttributeElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.AttributeType -{ - - +@XmlRootElement(name = "Attribute", namespace = "urn:sun:fm:SAML:2.0:entityconfig") +public class AttributeElement extends AttributeType { } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeQueryConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeQueryConfigElement.java index 19ffb97005..9672e27629 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeQueryConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AttributeQueryConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for AttributeQueryConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 68) - *

    - *

    - * <element name="AttributeQueryConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface AttributeQueryConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x AttributeQueryConfigElement. */ +public class AttributeQueryConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AuthnAuthorityConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AuthnAuthorityConfigElement.java index ff735aa01d..48df499e26 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AuthnAuthorityConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/AuthnAuthorityConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for AuthnAuthorityConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 66) - *

    - *

    - * <element name="AuthnAuthorityConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface AuthnAuthorityConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x AuthnAuthorityConfigElement. */ +public class AuthnAuthorityConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/BaseConfigType.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/BaseConfigType.java index e42390433a..71be5e6641 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/BaseConfigType.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/BaseConfigType.java @@ -1,75 +1,54 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** - * Java content class for BaseConfigType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 73) - *

    - *

    - * <complexType name="BaseConfigType">
    - *   <complexContent>
    - *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    - *       <sequence>
    - *         <element ref="{urn:sun:fm:SAML:2.0:entityconfig}Attribute" maxOccurs="unbounded" minOccurs="0"/>
    - *       </sequence>
    - *       <attribute name="metaAlias" type="{http://www.w3.org/2001/XMLSchema}string" />
    - *     </restriction>
    - *   </complexContent>
    - * </complexType>
    - * 
    - * + * Hand-maintained replacement for the XJC-generated BaseConfigType. + * + * The XJC-generated version declares this class as {@code abstract}. + * JAXB 4.x cannot instantiate an abstract class and throws + * {@code InstantiationException} when unmarshaling an {@code EntityConfig} + * XML document that contains an {@code AffiliationConfig} element (which is + * typed directly as {@code BaseConfigType} in the schema). + * + * Removing {@code abstract} makes the class concrete so JAXB 4.x can + * instantiate it for that element while all concrete subclasses + * ({@code SPSSOConfigElement}, {@code IDPSSOConfigElement}, etc.) continue + * to extend this class unchanged. + * + * This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface BaseConfigType { - - - /** - * Gets the value of the Attribute property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the Attribute property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAttribute().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.entityconfig.AttributeType} - * {@link com.sun.identity.saml2.jaxb.entityconfig.AttributeElement} - * - */ - java.util.List getAttribute(); - - /** - * Gets the value of the metaAlias property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getMetaAlias(); - - /** - * Sets the value of the metaAlias property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setMetaAlias(java.lang.String value); - +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BaseConfigType", propOrder = { + "attribute" +}) +public class BaseConfigType { + + @XmlElement(name = "Attribute") + protected List attribute; + @XmlAttribute(name = "metaAlias") + protected String metaAlias; + + public List getAttribute() { + if (attribute == null) { + attribute = new ArrayList(); + } + return this.attribute; + } + + public String getMetaAlias() { + return metaAlias; + } + + public void setMetaAlias(String value) { + this.metaAlias = value; + } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/EntityConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/EntityConfigElement.java index cfee0e28ee..0d9698623b 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/EntityConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/EntityConfigElement.java @@ -1,26 +1,55 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; +import java.util.AbstractList; +import java.util.List; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlRootElement; /** - * Java content class for EntityConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 41) - *

    - *

    - * <element name="EntityConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}EntityConfigType"/>
    - * 
    - * + * Root-element binding for EntityConfig, extending EntityConfigType. + * + *

    {@code @XmlRootElement} is required so JAXB 4.x returns this concrete + * class directly on unmarshal rather than wrapping it in + * {@code JAXBElement<EntityConfigType>}. Without it every + * {@code instanceof EntityConfigElement} check in SAML2MetaManager fails. + * + *

    The {@link #getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig()} override + * is a safety adapter: if the backing list ever contains raw + * {@code JAXBElement} wrappers (e.g., from an older context path) this adapter + * unwraps them transparently so that legacy cast/instanceof code in + * SAML2MetaManager continues to work without modification. */ -public interface EntityConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.EntityConfigType -{ +@XmlRootElement(name = "EntityConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig") +public class EntityConfigElement extends EntityConfigType { + + @Override + @SuppressWarnings({"rawtypes", "unchecked"}) + public List getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig() { + final List backing = super.getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig(); + return new AbstractList() { + @Override + public int size() { + return backing.size(); + } + + @Override + public BaseConfigType get(int i) { + Object elem = backing.get(i); + if (elem instanceof JAXBElement) { + return (BaseConfigType) ((JAXBElement) elem).getValue(); + } + return (BaseConfigType) elem; + } + @Override + public boolean add(BaseConfigType e) { + return backing.add(e); + } + @Override + public void add(int index, BaseConfigType element) { + backing.add(index, element); + } + }; + } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/EntityConfigType.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/EntityConfigType.java index 7710ccc659..04a1a965e8 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/EntityConfigType.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/EntityConfigType.java @@ -1,191 +1,148 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; +import java.util.ArrayList; +import java.util.List; +import com.sun.identity.saml2.jaxb.xmlsig.SignatureType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlElements; +import jakarta.xml.bind.annotation.XmlID; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; +import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** - * Java content class for EntityConfigType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 42) - *

    + * Hand-maintained replacement for the XJC-generated EntityConfigType. + * + *

    The XJC-generated version uses {@code @XmlElementRefs} with + * {@code type = JAXBElement.class} for the role-config sub-elements: + * *

    - * <complexType name="EntityConfigType">
    - *   <complexContent>
    - *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    - *       <sequence>
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
    - *         <element ref="{urn:sun:fm:SAML:2.0:entityconfig}Attribute" maxOccurs="unbounded" minOccurs="0"/>
    - *         <choice>
    - *           <choice maxOccurs="unbounded">
    - *             <element ref="{urn:sun:fm:SAML:2.0:entityconfig}IDPSSOConfig"/>
    - *             <element ref="{urn:sun:fm:SAML:2.0:entityconfig}SPSSOConfig"/>
    - *             <element ref="{urn:sun:fm:SAML:2.0:entityconfig}AuthnAuthorityConfig"/>
    - *             <element ref="{urn:sun:fm:SAML:2.0:entityconfig}AttributeAuthorityConfig"/>
    - *             <element ref="{urn:sun:fm:SAML:2.0:entityconfig}AttributeQueryConfig"/>
    - *             <element ref="{urn:sun:fm:SAML:2.0:entityconfig}PDPConfig"/>
    - *             <element ref="{urn:sun:fm:SAML:2.0:entityconfig}XACMLPDPConfig"/>
    - *             <element ref="{urn:sun:fm:SAML:2.0:entityconfig}XACMLAuthzDecisionQueryConfig"/>
    - *           </choice>
    - *           <element ref="{urn:sun:fm:SAML:2.0:entityconfig}AffiliationConfig"/>
    - *         </choice>
    - *       </sequence>
    - *       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
    - *       <attribute name="entityID" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
    - *       <attribute name="hosted" type="{http://www.w3.org/2001/XMLSchema}boolean" />
    - *     </restriction>
    - *   </complexContent>
    - * </complexType>
    + *   @XmlElementRefs({
    + *       @XmlElementRef(name="IDPSSOConfig", ..., type=JAXBElement.class),
    + *       @XmlElementRef(name="SPSSOConfig",  ..., type=JAXBElement.class), ...
    + *   })
    + *   protected List<JAXBElement<BaseConfigType>> idpssoConfig...;
      * 
    - * + * + *

    In JAXB 4.x this causes the list to be populated with + * {@code JAXBElement<SPSSOConfigElement>} wrappers rather than the + * concrete element objects. {@code SAML2MetaManager} (written for JAXB 1.x) + * casts list elements directly to {@code BaseConfigType} and checks + * {@code instanceof SPSSOConfigElement / IDPSSOConfigElement}, both of which + * fail when the items are JAXBElement wrappers. + * + *

    Fix: replace {@code @XmlElementRefs} with {@code @XmlElements} referencing + * the concrete {@code *Element} classes, and change the list type to + * {@code List<BaseConfigType>}. JAXB 4.x then unmarshals each sub-element + * into the correct concrete type with no wrapping. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface EntityConfigType { - - - /** - * Gets the value of the hosted property. - * - */ - boolean isHosted(); - - /** - * Sets the value of the hosted property. - * - */ - void setHosted(boolean value); +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EntityConfigType", propOrder = { + "signature", + "attribute", + "idpssoConfigOrSPSSOConfigOrAuthnAuthorityConfig", + "affiliationConfig" +}) +public class EntityConfigType { - /** - * Gets the value of the affiliationConfig property. - * - * @return - * possible object is - * {@link com.sun.identity.saml2.jaxb.entityconfig.AffiliationConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType} - */ - com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType getAffiliationConfig(); + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; - /** - * Sets the value of the affiliationConfig property. - * - * @param value - * allowed object is - * {@link com.sun.identity.saml2.jaxb.entityconfig.AffiliationConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType} - */ - void setAffiliationConfig(com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType value); + @XmlElement(name = "Attribute") + protected List attribute; /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link java.lang.String} + * Replaced from {@code @XmlElementRefs / List>} + * to {@code @XmlElements / List} so JAXB 4.x returns + * concrete element instances directly instead of JAXBElement wrappers. */ - java.lang.String getID(); - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setID(java.lang.String value); - - /** - * Gets the value of the Attribute property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the Attribute property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAttribute().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.entityconfig.AttributeType} - * {@link com.sun.identity.saml2.jaxb.entityconfig.AttributeElement} - * - */ - java.util.List getAttribute(); - - /** - * Gets the value of the IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.entityconfig.AttributeQueryConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.XACMLPDPConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.PDPConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.AuthnAuthorityConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.SPSSOConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.AttributeAuthorityConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.XACMLAuthzDecisionQueryConfigElement} - * {@link com.sun.identity.saml2.jaxb.entityconfig.IDPSSOConfigElement} - * - */ - java.util.List getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig(); - - /** - * Gets the value of the entityID property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getEntityID(); - - /** - * Sets the value of the entityID property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setEntityID(java.lang.String value); - - /** - * Gets the value of the signature property. - * - * @return - * possible object is - * {@link com.sun.identity.saml2.jaxb.xmlsig.SignatureType} - * {@link com.sun.identity.saml2.jaxb.xmlsig.SignatureElement} - */ - com.sun.identity.saml2.jaxb.xmlsig.SignatureType getSignature(); - - /** - * Sets the value of the signature property. - * - * @param value - * allowed object is - * {@link com.sun.identity.saml2.jaxb.xmlsig.SignatureType} - * {@link com.sun.identity.saml2.jaxb.xmlsig.SignatureElement} - */ - void setSignature(com.sun.identity.saml2.jaxb.xmlsig.SignatureType value); - + @XmlElements({ + @XmlElement(name = "IDPSSOConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig", type = IDPSSOConfigElement.class), + @XmlElement(name = "SPSSOConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig", type = SPSSOConfigElement.class), + @XmlElement(name = "AuthnAuthorityConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig", type = AuthnAuthorityConfigElement.class), + @XmlElement(name = "AttributeAuthorityConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig", type = AttributeAuthorityConfigElement.class), + @XmlElement(name = "AttributeQueryConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig", type = AttributeQueryConfigElement.class), + @XmlElement(name = "PDPConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig", type = PDPConfigElement.class), + @XmlElement(name = "XACMLPDPConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig", type = XACMLPDPConfigElement.class), + @XmlElement(name = "XACMLAuthzDecisionQueryConfig", namespace = "urn:sun:fm:SAML:2.0:entityconfig", type = XACMLAuthzDecisionQueryConfigElement.class) + }) + protected List idpssoConfigOrSPSSOConfigOrAuthnAuthorityConfig; + + @XmlElement(name = "AffiliationConfig") + protected BaseConfigType affiliationConfig; + + @XmlAttribute(name = "entityID", required = true) + @XmlSchemaType(name = "anyURI") + protected String entityID; + + @XmlAttribute(name = "hosted") + protected Boolean hosted; + + @XmlAttribute(name = "ID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + public SignatureType getSignature() { + return signature; + } + + public void setSignature(SignatureType value) { + this.signature = value; + } + + public List getAttribute() { + if (attribute == null) { + attribute = new ArrayList(); + } + return this.attribute; + } + + public List getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig() { + if (idpssoConfigOrSPSSOConfigOrAuthnAuthorityConfig == null) { + idpssoConfigOrSPSSOConfigOrAuthnAuthorityConfig = new ArrayList(); + } + return this.idpssoConfigOrSPSSOConfigOrAuthnAuthorityConfig; + } + + public BaseConfigType getAffiliationConfig() { + return affiliationConfig; + } + + public void setAffiliationConfig(BaseConfigType value) { + this.affiliationConfig = value; + } + + public String getEntityID() { + return entityID; + } + + public void setEntityID(String value) { + this.entityID = value; + } + + public Boolean isHosted() { + return hosted; + } + + public void setHosted(Boolean value) { + this.hosted = value; + } + + public String getID() { + return id; + } + + public void setID(String value) { + this.id = value; + } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/IDPSSOConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/IDPSSOConfigElement.java index 0d415cf956..914da9e582 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/IDPSSOConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/IDPSSOConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for IDPSSOConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 64) - *

    - *

    - * <element name="IDPSSOConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface IDPSSOConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x IDPSSOConfigElement. */ +public class IDPSSOConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/ObjectFactory.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/ObjectFactory.java index 74e0638109..e390be0d0a 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/ObjectFactory.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/ObjectFactory.java @@ -1,319 +1,134 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.sun.identity.saml2.jaxb.entityconfig package. - *

    An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * + * Fixed ObjectFactory for JAXB 4.x compatibility. + * + * The XJC-generated ObjectFactory (in target/generated-sources/jaxb/) maps all + * config element factory methods to abstract BaseConfigType.class. JAXB 4.x + * cannot instantiate an abstract class and throws InstantiationException. + * + * This file provides the correct concrete-type mappings. + * It is copied over the generated ObjectFactory.java during the process-sources + * Maven phase by the maven-antrun-plugin execution in pom.xml. */ -public class ObjectFactory - extends com.sun.identity.saml2.jaxb.assertion.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(21, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.saml2.jaxb.assertion.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.saml2.jaxb.assertion.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.saml2.jaxb.entityconfig.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.saml2.jaxb.entityconfig.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.AttributeType.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.AuthnAuthorityConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.AuthnAuthorityConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.ValueElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.ValueElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.EntityConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.EntityConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.PDPConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.PDPConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.AttributeQueryConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeQueryConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.EntityConfigType.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.EntityConfigTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.AttributeElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.XACMLAuthzDecisionQueryConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLAuthzDecisionQueryConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.IDPSSOConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.IDPSSOConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.AttributeAuthorityConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeAuthorityConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.XACMLPDPConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLPDPConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.AffiliationConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.AffiliationConfigElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.entityconfig.SPSSOConfigElement.class), "com.sun.identity.saml2.jaxb.entityconfig.impl.SPSSOConfigElementImpl"); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "AuthnAuthorityConfig"), (com.sun.identity.saml2.jaxb.entityconfig.AuthnAuthorityConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "AttributeQueryConfig"), (com.sun.identity.saml2.jaxb.entityconfig.AttributeQueryConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "SPSSOConfig"), (com.sun.identity.saml2.jaxb.entityconfig.SPSSOConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "EntityConfig"), (com.sun.identity.saml2.jaxb.entityconfig.EntityConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "IDPSSOConfig"), (com.sun.identity.saml2.jaxb.entityconfig.IDPSSOConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "Attribute"), (com.sun.identity.saml2.jaxb.entityconfig.AttributeElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "AffiliationConfig"), (com.sun.identity.saml2.jaxb.entityconfig.AffiliationConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "XACMLAuthzDecisionQueryConfig"), (com.sun.identity.saml2.jaxb.entityconfig.XACMLAuthzDecisionQueryConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "AttributeAuthorityConfig"), (com.sun.identity.saml2.jaxb.entityconfig.AttributeAuthorityConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "PDPConfig"), (com.sun.identity.saml2.jaxb.entityconfig.PDPConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "XACMLPDPConfig"), (com.sun.identity.saml2.jaxb.entityconfig.XACMLPDPConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:SAML:2.0:entityconfig", "Value"), (com.sun.identity.saml2.jaxb.entityconfig.ValueElement.class)); - } +@XmlRegistry +public class ObjectFactory { + + private static final QName _EntityConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "EntityConfig"); + private static final QName _IDPSSOConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "IDPSSOConfig"); + private static final QName _SPSSOConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "SPSSOConfig"); + private static final QName _AuthnAuthorityConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "AuthnAuthorityConfig"); + private static final QName _AttributeAuthorityConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "AttributeAuthorityConfig"); + private static final QName _AttributeQueryConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "AttributeQueryConfig"); + private static final QName _PDPConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "PDPConfig"); + private static final QName _XACMLPDPConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "XACMLPDPConfig"); + private static final QName _XACMLAuthzDecisionQueryConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "XACMLAuthzDecisionQueryConfig"); + private static final QName _AffiliationConfig_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "AffiliationConfig"); + private static final QName _Attribute_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "Attribute"); + private static final QName _Value_QNAME = + new QName("urn:sun:fm:SAML:2.0:entityconfig", "Value"); - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.saml2.jaxb.entityconfig - * - */ public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); } - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); + public EntityConfigType createEntityConfigType() { + return new EntityConfigType(); } - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); + public AttributeType createAttributeType() { + return new AttributeType(); } - /** - * Create an instance of AttributeType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.AttributeType createAttributeType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeTypeImpl(); - } + // No-arg convenience factory methods for legacy callers (JAXB 1.x API compatibility) + public EntityConfigElement createEntityConfigElement() { return new EntityConfigElement(); } + public IDPSSOConfigElement createIDPSSOConfigElement() { return new IDPSSOConfigElement(); } + public SPSSOConfigElement createSPSSOConfigElement() { return new SPSSOConfigElement(); } + public AttributeAuthorityConfigElement createAttributeAuthorityConfigElement() { return new AttributeAuthorityConfigElement(); } + public AuthnAuthorityConfigElement createAuthnAuthorityConfigElement() { return new AuthnAuthorityConfigElement(); } + public AttributeQueryConfigElement createAttributeQueryConfigElement() { return new AttributeQueryConfigElement(); } + public XACMLPDPConfigElement createXACMLPDPConfigElement() { return new XACMLPDPConfigElement(); } + public XACMLAuthzDecisionQueryConfigElement createXACMLAuthzDecisionQueryConfigElement() { return new XACMLAuthzDecisionQueryConfigElement(); } + /** Returns an {@link AttributeElement} typed as {@link AttributeType} for legacy compatibility. */ + public AttributeType createAttributeElement() { return new AttributeElement(); } - /** - * Create an instance of AuthnAuthorityConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.AuthnAuthorityConfigElement createAuthnAuthorityConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.AuthnAuthorityConfigElementImpl(); + // NOTE: @XmlElementDecl intentionally absent for EntityConfig. + // In JAXB 4.x @XmlElementDecl takes precedence over @XmlRootElement for the + // same QName, which would cause unmarshal to return JAXBElement + // instead of the concrete EntityConfigElement. Without this annotation JAXB uses + // @XmlRootElement on EntityConfigElement and returns it directly — required for + // the instanceof EntityConfigElement checks throughout SAML2MetaManager. + public JAXBElement createEntityConfig(EntityConfigElement value) { + return new JAXBElement<>(_EntityConfig_QNAME, EntityConfigElement.class, null, value); } - /** - * Create an instance of ValueElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.ValueElement createValueElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.ValueElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "IDPSSOConfig") + public JAXBElement createIDPSSOConfig(IDPSSOConfigElement value) { + return new JAXBElement<>(_IDPSSOConfig_QNAME, IDPSSOConfigElement.class, null, value); } - /** - * Create an instance of ValueElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.ValueElement createValueElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.ValueElementImpl(value); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "SPSSOConfig") + public JAXBElement createSPSSOConfig(SPSSOConfigElement value) { + return new JAXBElement<>(_SPSSOConfig_QNAME, SPSSOConfigElement.class, null, value); } - /** - * Create an instance of EntityConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.EntityConfigElement createEntityConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.EntityConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "AuthnAuthorityConfig") + public JAXBElement createAuthnAuthorityConfig(AuthnAuthorityConfigElement value) { + return new JAXBElement<>(_AuthnAuthorityConfig_QNAME, AuthnAuthorityConfigElement.class, null, value); } - /** - * Create an instance of PDPConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.PDPConfigElement createPDPConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.PDPConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "AttributeAuthorityConfig") + public JAXBElement createAttributeAuthorityConfig(AttributeAuthorityConfigElement value) { + return new JAXBElement<>(_AttributeAuthorityConfig_QNAME, AttributeAuthorityConfigElement.class, null, value); } - /** - * Create an instance of AttributeQueryConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.AttributeQueryConfigElement createAttributeQueryConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeQueryConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "AttributeQueryConfig") + public JAXBElement createAttributeQueryConfig(AttributeQueryConfigElement value) { + return new JAXBElement<>(_AttributeQueryConfig_QNAME, AttributeQueryConfigElement.class, null, value); } - /** - * Create an instance of EntityConfigType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.EntityConfigType createEntityConfigType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.EntityConfigTypeImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "PDPConfig") + public JAXBElement createPDPConfig(PDPConfigElement value) { + return new JAXBElement<>(_PDPConfig_QNAME, PDPConfigElement.class, null, value); } - /** - * Create an instance of AttributeElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.AttributeElement createAttributeElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "XACMLPDPConfig") + public JAXBElement createXACMLPDPConfig(XACMLPDPConfigElement value) { + return new JAXBElement<>(_XACMLPDPConfig_QNAME, XACMLPDPConfigElement.class, null, value); } - /** - * Create an instance of XACMLAuthzDecisionQueryConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.XACMLAuthzDecisionQueryConfigElement createXACMLAuthzDecisionQueryConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLAuthzDecisionQueryConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "XACMLAuthzDecisionQueryConfig") + public JAXBElement createXACMLAuthzDecisionQueryConfig(XACMLAuthzDecisionQueryConfigElement value) { + return new JAXBElement<>(_XACMLAuthzDecisionQueryConfig_QNAME, XACMLAuthzDecisionQueryConfigElement.class, null, value); } - /** - * Create an instance of IDPSSOConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.IDPSSOConfigElement createIDPSSOConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.IDPSSOConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "AffiliationConfig") + public JAXBElement createAffiliationConfig(AffiliationConfigElement value) { + return new JAXBElement<>(_AffiliationConfig_QNAME, AffiliationConfigElement.class, null, value); } - /** - * Create an instance of BaseConfigType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType createBaseConfigType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "Attribute") + public JAXBElement createAttribute(AttributeType value) { + return new JAXBElement<>(_Attribute_QNAME, AttributeType.class, null, value); } - /** - * Create an instance of AttributeAuthorityConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.AttributeAuthorityConfigElement createAttributeAuthorityConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeAuthorityConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:SAML:2.0:entityconfig", name = "Value") + public JAXBElement createValue(String value) { + return new JAXBElement<>(_Value_QNAME, String.class, null, value); } - - /** - * Create an instance of XACMLPDPConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.XACMLPDPConfigElement createXACMLPDPConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLPDPConfigElementImpl(); - } - - /** - * Create an instance of AffiliationConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.AffiliationConfigElement createAffiliationConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.AffiliationConfigElementImpl(); - } - - /** - * Create an instance of SPSSOConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.entityconfig.SPSSOConfigElement createSPSSOConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.entityconfig.impl.SPSSOConfigElementImpl(); - } - } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/PDPConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/PDPConfigElement.java index 92793e0d31..5f073c811d 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/PDPConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/PDPConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for PDPConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 69) - *

    - *

    - * <element name="PDPConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface PDPConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x PDPConfigElement. */ +public class PDPConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/SPSSOConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/SPSSOConfigElement.java index 237dca75fd..4f8f7f481a 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/SPSSOConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/SPSSOConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for SPSSOConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 65) - *

    - *

    - * <element name="SPSSOConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface SPSSOConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x SPSSOConfigElement. */ +public class SPSSOConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/XACMLAuthzDecisionQueryConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/XACMLAuthzDecisionQueryConfigElement.java index 7efa30e00c..ad45f5dd50 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/XACMLAuthzDecisionQueryConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/XACMLAuthzDecisionQueryConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for XACMLAuthzDecisionQueryConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 71) - *

    - *

    - * <element name="XACMLAuthzDecisionQueryConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface XACMLAuthzDecisionQueryConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x XACMLAuthzDecisionQueryConfigElement. */ +public class XACMLAuthzDecisionQueryConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/XACMLPDPConfigElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/XACMLPDPConfigElement.java index aed8ab1991..487787d06a 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/XACMLPDPConfigElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/entityconfig/XACMLPDPConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.entityconfig; - -/** - * Java content class for XACMLPDPConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/entity-config-schema.xsd line 70) - *

    - *

    - * <element name="XACMLPDPConfig" type="{urn:sun:fm:SAML:2.0:entityconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface XACMLPDPConfigElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x XACMLPDPConfigElement. */ +public class XACMLPDPConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ArtifactResolutionServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ArtifactResolutionServiceElement.java index bed12c774d..0be9202a08 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ArtifactResolutionServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ArtifactResolutionServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for ArtifactResolutionService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 257) - *

    - *

    - * <element name="ArtifactResolutionService" type="{urn:oasis:names:tc:SAML:2.0:metadata}IndexedEndpointType"/>
    - * 
    - * - */ -public interface ArtifactResolutionServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.IndexedEndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x ArtifactResolutionServiceElement. */ +public class ArtifactResolutionServiceElement extends IndexedEndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AssertionConsumerServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AssertionConsumerServiceElement.java index d740d84a12..5c0d808d19 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AssertionConsumerServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AssertionConsumerServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for AssertionConsumerService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 295) - *

    - *

    - * <element name="AssertionConsumerService" type="{urn:oasis:names:tc:SAML:2.0:metadata}IndexedEndpointType"/>
    - * 
    - * - */ -public interface AssertionConsumerServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.IndexedEndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x AssertionConsumerServiceElement. */ +public class AssertionConsumerServiceElement extends IndexedEndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AssertionIDRequestServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AssertionIDRequestServiceElement.java index c827327832..27eb94e4d5 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AssertionIDRequestServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AssertionIDRequestServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for AssertionIDRequestService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 279) - *

    - *

    - * <element name="AssertionIDRequestService" type="{urn:oasis:names:tc:SAML:2.0:metadata}EndpointType"/>
    - * 
    - * - */ -public interface AssertionIDRequestServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x AssertionIDRequestServiceElement. */ +public class AssertionIDRequestServiceElement extends EndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AttributeAuthorityDescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AttributeAuthorityDescriptorElement.java index 66751ad88c..faef3846dd 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AttributeAuthorityDescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AttributeAuthorityDescriptorElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for AttributeAuthorityDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 357) - *

    - *

    - * <element name="AttributeAuthorityDescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}AttributeAuthorityDescriptorType"/>
    - * 
    - * - */ -public interface AttributeAuthorityDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.AttributeAuthorityDescriptorType -{ - - -} +/** Compatibility shim for JAXB 1.x AttributeAuthorityDescriptorElement. */ +public class AttributeAuthorityDescriptorElement extends AttributeAuthorityDescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AttributeServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AttributeServiceElement.java index fffb4eae6e..a6f16c9604 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AttributeServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AttributeServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for AttributeService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 371) - *

    - *

    - * <element name="AttributeService" type="{urn:oasis:names:tc:SAML:2.0:metadata}AttributeServiceType"/>
    - * 
    - * - */ -public interface AttributeServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.AttributeServiceType -{ - - -} +/** Compatibility shim for JAXB 1.x AttributeServiceElement. */ +public class AttributeServiceElement extends AttributeServiceType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AuthnAuthorityDescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AuthnAuthorityDescriptorElement.java index e216424d31..8d929b4744 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AuthnAuthorityDescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AuthnAuthorityDescriptorElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for AuthnAuthorityDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 317) - *

    - *

    - * <element name="AuthnAuthorityDescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}AuthnAuthorityDescriptorType"/>
    - * 
    - * - */ -public interface AuthnAuthorityDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.AuthnAuthorityDescriptorType -{ - - -} +/** Compatibility shim for JAXB 1.x AuthnAuthorityDescriptorElement. */ +public class AuthnAuthorityDescriptorElement extends AuthnAuthorityDescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AuthnQueryServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AuthnQueryServiceElement.java index 4981be9ec6..46e46b8b20 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AuthnQueryServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/AuthnQueryServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for AuthnQueryService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 329) - *

    - *

    - * <element name="AuthnQueryService" type="{urn:oasis:names:tc:SAML:2.0:metadata}EndpointType"/>
    - * 
    - * - */ -public interface AuthnQueryServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x AuthnQueryServiceElement. */ +public class AuthnQueryServiceElement extends EndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EncryptionMethodElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EncryptionMethodElement.java index 81d41c9df2..cec941245f 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EncryptionMethodElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EncryptionMethodElement.java @@ -1,26 +1,16 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import com.sun.identity.saml2.jaxb.xmlenc.EncryptionMethodType; +import jakarta.xml.bind.annotation.XmlRootElement; /** - * Java content class for EncryptionMethod element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 243) - *

    - *

    - * <element name="EncryptionMethod" type="{http://www.w3.org/2001/04/xmlenc#}EncryptionMethodType"/>
    - * 
    - * + * Root-element binding for the metadata EncryptionMethod element. + * + *

    In JAXB 1.x XJC this was a generated Element class that extended + * {@link EncryptionMethodType}. JAXB 4.x XJC no longer generates Element + * classes, so this hand-maintained replacement provides the same API for + * legacy callers in {@code SAMLv2ModelImpl}. */ -public interface EncryptionMethodElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.xmlenc.EncryptionMethodType -{ - - +@XmlRootElement(name = "EncryptionMethod", namespace = "urn:oasis:names:tc:SAML:2.0:metadata") +public class EncryptionMethodElement extends EncryptionMethodType { } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntitiesDescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntitiesDescriptorElement.java index 746509a430..42c12c602b 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntitiesDescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntitiesDescriptorElement.java @@ -1,26 +1,15 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import jakarta.xml.bind.annotation.XmlRootElement; /** - * Java content class for EntitiesDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 112) - *

    - *

    - * <element name="EntitiesDescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}EntitiesDescriptorType"/>
    - * 
    - * + * Root-element binding for {@code EntitiesDescriptor}, extending EntitiesDescriptorType. + * + *

    {@code @XmlRootElement} is required so JAXB 4.x returns this concrete + * class directly on unmarshal rather than wrapping in + * {@code JAXBElement<EntitiesDescriptorType>}. + * The metadata ObjectFactory omits {@code @XmlElementDecl} for + * {@code EntitiesDescriptor} so this annotation takes effect. */ -public interface EntitiesDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EntitiesDescriptorType -{ - - -} +@XmlRootElement(name = "EntitiesDescriptor", namespace = "urn:oasis:names:tc:SAML:2.0:metadata") +public class EntitiesDescriptorElement extends EntitiesDescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntityDescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntityDescriptorElement.java index dee7a4ec14..00d07305bf 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntityDescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntityDescriptorElement.java @@ -1,26 +1,17 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import jakarta.xml.bind.annotation.XmlRootElement; /** - * Java content class for EntityDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 128) - *

    - *

    - * <element name="EntityDescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptorType"/>
    - * 
    - * + * Root-element binding for {@code EntityDescriptor}, extending EntityDescriptorType. + * + *

    {@code @XmlRootElement} is required so JAXB 4.x returns this concrete + * class directly on unmarshal rather than wrapping the result in + * {@code JAXBElement<EntityDescriptorType>}. Without it the + * {@code instanceof EntityDescriptorElement} checks in + * {@code FedletConfigurationImpl.getEntityID()} and + * {@code SAML2MetaManager.getEntityDescriptor()} always fail, leaving + * {@code entityMap} empty and causing the SP Entity ID to be null. */ -public interface EntityDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EntityDescriptorType -{ - - -} +@XmlRootElement(name = "EntityDescriptor", namespace = "urn:oasis:names:tc:SAML:2.0:metadata") +public class EntityDescriptorElement extends EntityDescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntityDescriptorType.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntityDescriptorType.java index 409f0bdb3d..345ff4c7da 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntityDescriptorType.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/EntityDescriptorType.java @@ -1,287 +1,143 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.datatype.Duration; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; +import com.sun.identity.saml2.jaxb.metadataextquery.AttributeQueryDescriptorType; +import com.sun.identity.saml2.jaxb.xmlsig.SignatureType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAnyAttribute; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlElements; +import jakarta.xml.bind.annotation.XmlID; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; +import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** - * Java content class for EntityDescriptorType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 129) - *

    - *

    - * <complexType name="EntityDescriptorType">
    - *   <complexContent>
    - *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    - *       <sequence>
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Extensions" minOccurs="0"/>
    - *         <choice>
    - *           <choice maxOccurs="unbounded">
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}RoleDescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}IDPSSODescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}SPSSODescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AuthnAuthorityDescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AttributeAuthorityDescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}PDPDescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}XACMLPDPDescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}QueryDescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}XACMLAuthzDecisionQueryDescriptor"/>
    - *             <element ref="{urn:oasis:names:tc:SAML:metadata:ext:query}AttributeQueryDescriptor"/>
    - *           </choice>
    - *           <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AffiliationDescriptor"/>
    - *         </choice>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Organization" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}ContactPerson" maxOccurs="unbounded" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AdditionalMetadataLocation" maxOccurs="unbounded" minOccurs="0"/>
    - *       </sequence>
    - *       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
    - *       <attribute name="cacheDuration" type="{http://www.w3.org/2001/XMLSchema}duration" />
    - *       <attribute name="entityID" use="required" type="{urn:oasis:names:tc:SAML:2.0:metadata}entityIDType" />
    - *       <attribute name="validUntil" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
    - *     </restriction>
    - *   </complexContent>
    - * </complexType>
    - * 
    - * + * Hand-maintained replacement for the XJC-generated EntityDescriptorType. + * + *

    The XJC-generated version uses {@code @XmlElement(type = IDPSSODescriptorType.class)} + * and {@code @XmlElement(type = SPSSODescriptorType.class)} in the + * {@code @XmlElements} list for {@code roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor}. + * This causes JAXB 4.x to create plain {@code *Type} instances rather than the + * concrete {@code *Element} subclasses, breaking the + * {@code instanceof IDPSSODescriptorElement} / {@code instanceof SPSSODescriptorElement} + * checks throughout {@code SAML2MetaUtils} and related code. + * + *

    Fix: replace {@code type = *DescriptorType.class} with + * {@code type = *DescriptorElement.class} in those entries. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface EntityDescriptorType { - - - /** - * Gets the value of the RoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the RoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getRoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadataextquery.AttributeQueryDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.AuthnAuthorityDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.QueryDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.RoleDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.XACMLPDPDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.AttributeAuthorityDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.XACMLAuthzDecisionQueryDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.PDPDescriptorElement} - * - */ - java.util.List getRoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor(); - - /** - * Gets the value of the extensions property. - * - * @return - * possible object is - * {@link com.sun.identity.saml2.jaxb.metadata.ExtensionsType} - * {@link com.sun.identity.saml2.jaxb.metadata.ExtensionsElement} - */ - com.sun.identity.saml2.jaxb.metadata.ExtensionsType getExtensions(); - - /** - * Sets the value of the extensions property. - * - * @param value - * allowed object is - * {@link com.sun.identity.saml2.jaxb.metadata.ExtensionsType} - * {@link com.sun.identity.saml2.jaxb.metadata.ExtensionsElement} - */ - void setExtensions(com.sun.identity.saml2.jaxb.metadata.ExtensionsType value); - - /** - * Gets the value of the validUntil property. - * - * @return - * possible object is - * {@link java.util.Calendar} - */ - java.util.Calendar getValidUntil(); - - /** - * Sets the value of the validUntil property. - * - * @param value - * allowed object is - * {@link java.util.Calendar} - */ - void setValidUntil(java.util.Calendar value); - - /** - * Gets the value of the ContactPerson property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the ContactPerson property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getContactPerson().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.ContactType} - * {@link com.sun.identity.saml2.jaxb.metadata.ContactPersonElement} - * - */ - java.util.List getContactPerson(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getID(); - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setID(java.lang.String value); - - /** - * Gets the value of the organization property. - * - * @return - * possible object is - * {@link com.sun.identity.saml2.jaxb.metadata.OrganizationType} - * {@link com.sun.identity.saml2.jaxb.metadata.OrganizationElement} - */ - com.sun.identity.saml2.jaxb.metadata.OrganizationType getOrganization(); - - /** - * Sets the value of the organization property. - * - * @param value - * allowed object is - * {@link com.sun.identity.saml2.jaxb.metadata.OrganizationType} - * {@link com.sun.identity.saml2.jaxb.metadata.OrganizationElement} - */ - void setOrganization(com.sun.identity.saml2.jaxb.metadata.OrganizationType value); - - /** - * Gets the value of the cacheDuration property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getCacheDuration(); - - /** - * Sets the value of the cacheDuration property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setCacheDuration(java.lang.String value); - - /** - * Gets the value of the AdditionalMetadataLocation property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the AdditionalMetadataLocation property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAdditionalMetadataLocation().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.AdditionalMetadataLocationType} - * {@link com.sun.identity.saml2.jaxb.metadata.AdditionalMetadataLocationElement} - * - */ - java.util.List getAdditionalMetadataLocation(); - - /** - * Gets the value of the entityID property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getEntityID(); - - /** - * Sets the value of the entityID property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setEntityID(java.lang.String value); - - /** - * Gets the value of the affiliationDescriptor property. - * - * @return - * possible object is - * {@link com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorType} - */ - com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorType getAffiliationDescriptor(); - - /** - * Sets the value of the affiliationDescriptor property. - * - * @param value - * allowed object is - * {@link com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorElement} - * {@link com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorType} - */ - void setAffiliationDescriptor(com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorType value); - - /** - * Gets the value of the signature property. - * - * @return - * possible object is - * {@link com.sun.identity.saml2.jaxb.xmlsig.SignatureType} - * {@link com.sun.identity.saml2.jaxb.xmlsig.SignatureElement} - */ - com.sun.identity.saml2.jaxb.xmlsig.SignatureType getSignature(); - - /** - * Sets the value of the signature property. - * - * @param value - * allowed object is - * {@link com.sun.identity.saml2.jaxb.xmlsig.SignatureType} - * {@link com.sun.identity.saml2.jaxb.xmlsig.SignatureElement} - */ - void setSignature(com.sun.identity.saml2.jaxb.xmlsig.SignatureType value); - +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EntityDescriptorType", propOrder = { + "signature", + "extensions", + "roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor", + "affiliationDescriptor", + "organization", + "contactPerson", + "additionalMetadataLocation" +}) +public class EntityDescriptorType { + + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlElement(name = "Extensions") + protected ExtensionsType extensions; + @XmlElements({ + @XmlElement(name = "RoleDescriptor"), + @XmlElement(name = "IDPSSODescriptor", type = IDPSSODescriptorElement.class), + @XmlElement(name = "SPSSODescriptor", type = SPSSODescriptorElement.class), + @XmlElement(name = "AuthnAuthorityDescriptor", type = AuthnAuthorityDescriptorElement.class), + @XmlElement(name = "AttributeAuthorityDescriptor", type = AttributeAuthorityDescriptorElement.class), + @XmlElement(name = "PDPDescriptor", type = PDPDescriptorType.class), + @XmlElement(name = "XACMLPDPDescriptor", type = XACMLPDPDescriptorElement.class), + @XmlElement(name = "QueryDescriptor", type = QueryDescriptorType.class), + @XmlElement(name = "XACMLAuthzDecisionQueryDescriptor", type = XACMLAuthzDecisionQueryDescriptorElement.class), + @XmlElement(name = "AttributeQueryDescriptor", + namespace = "urn:oasis:names:tc:SAML:metadata:ext:query", + type = AttributeQueryDescriptorType.class) + }) + protected List roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor; + @XmlElement(name = "AffiliationDescriptor") + protected AffiliationDescriptorType affiliationDescriptor; + @XmlElement(name = "Organization") + protected OrganizationType organization; + @XmlElement(name = "ContactPerson") + protected List contactPerson; + @XmlElement(name = "AdditionalMetadataLocation") + protected List additionalMetadataLocation; + @XmlAttribute(name = "entityID", required = true) + @XmlSchemaType(name = "anyURI") + protected String entityID; + @XmlAttribute(name = "validUntil") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar validUntil; + @XmlAttribute(name = "cacheDuration") + protected Duration cacheDuration; + @XmlAttribute(name = "ID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + public SignatureType getSignature() { return signature; } + public void setSignature(SignatureType value) { this.signature = value; } + + public ExtensionsType getExtensions() { return extensions; } + public void setExtensions(ExtensionsType value) { this.extensions = value; } + + public List getRoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor() { + if (roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor == null) { + roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor = new ArrayList(); + } + return this.roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor; + } + + public AffiliationDescriptorType getAffiliationDescriptor() { return affiliationDescriptor; } + public void setAffiliationDescriptor(AffiliationDescriptorType value) { this.affiliationDescriptor = value; } + + public OrganizationType getOrganization() { return organization; } + public void setOrganization(OrganizationType value) { this.organization = value; } + + public List getContactPerson() { + if (contactPerson == null) { + contactPerson = new ArrayList(); + } + return this.contactPerson; + } + + public List getAdditionalMetadataLocation() { + if (additionalMetadataLocation == null) { + additionalMetadataLocation = new ArrayList(); + } + return this.additionalMetadataLocation; + } + + public String getEntityID() { return entityID; } + public void setEntityID(String value) { this.entityID = value; } + + public XMLGregorianCalendar getValidUntil() { return validUntil; } + public void setValidUntil(XMLGregorianCalendar value) { this.validUntil = value; } + + public Duration getCacheDuration() { return cacheDuration; } + public void setCacheDuration(Duration value) { this.cacheDuration = value; } + + public String getID() { return id; } + public void setID(String value) { this.id = value; } + + public Map getOtherAttributes() { return otherAttributes; } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IDPSSODescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IDPSSODescriptorElement.java index c2e45e708b..ec825e93da 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IDPSSODescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IDPSSODescriptorElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for IDPSSODescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 262) - *

    - *

    - * <element name="IDPSSODescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}IDPSSODescriptorType"/>
    - * 
    - * - */ -public interface IDPSSODescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorType -{ - - -} +/** Compatibility shim for JAXB 1.x IDPSSODescriptorElement. */ +public class IDPSSODescriptorElement extends IDPSSODescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IDPSSODescriptorType.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IDPSSODescriptorType.java index b165009084..0522b7bf1a 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IDPSSODescriptorType.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IDPSSODescriptorType.java @@ -1,170 +1,95 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import java.util.ArrayList; +import java.util.List; +import com.sun.identity.saml2.jaxb.assertion.AttributeType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** - * Java content class for IDPSSODescriptorType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 263) - *

    - *

    - * <complexType name="IDPSSODescriptorType">
    - *   <complexContent>
    - *     <extension base="{urn:oasis:names:tc:SAML:2.0:metadata}SSODescriptorType">
    - *       <sequence>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}SingleSignOnService" maxOccurs="unbounded"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}NameIDMappingService" maxOccurs="unbounded" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AssertionIDRequestService" maxOccurs="unbounded" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AttributeProfile" maxOccurs="unbounded" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Attribute" maxOccurs="unbounded" minOccurs="0"/>
    - *       </sequence>
    - *       <attribute name="WantAuthnRequestsSigned" type="{http://www.w3.org/2001/XMLSchema}boolean" />
    - *     </extension>
    - *   </complexContent>
    - * </complexType>
    - * 
    - * + * Hand-maintained replacement for the XJC-generated IDPSSODescriptorType. + * + *

    Changes endpoint list fields to use concrete {@code *Element} subclasses + * so that JAXB 4.x unmarshals the expected element instances rather than plain + * {@code EndpointType} objects, preventing {@code ClassCastException} in + * SAML2 metadata code. + * + *

    Also overrides {@link #isWantAuthnRequestsSigned()} to return + * {@code Boolean.FALSE} instead of {@code null} when the optional XML attribute + * is absent, preventing {@code NullPointerException} from auto-unboxing in + * {@code SPSSOFederate} and {@code IDPProxyUtil}. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface IDPSSODescriptorType - extends com.sun.identity.saml2.jaxb.metadata.SSODescriptorType -{ - +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IDPSSODescriptorType", propOrder = { + "singleSignOnService", + "nameIDMappingService", + "assertionIDRequestService", + "attributeProfile", + "attribute" +}) +public class IDPSSODescriptorType extends SSODescriptorType { - /** - * Gets the value of the wantAuthnRequestsSigned property. - * - */ - boolean isWantAuthnRequestsSigned(); + @XmlElement(name = "SingleSignOnService", required = true, type = SingleSignOnServiceElement.class) + protected List singleSignOnService; + @XmlElement(name = "NameIDMappingService", type = NameIDMappingServiceElement.class) + protected List nameIDMappingService; + @XmlElement(name = "AssertionIDRequestService", type = AssertionIDRequestServiceElement.class) + protected List assertionIDRequestService; + @XmlElement(name = "AttributeProfile") + @XmlSchemaType(name = "anyURI") + protected List attributeProfile; + @XmlElement(name = "Attribute", namespace = "urn:oasis:names:tc:SAML:2.0:assertion") + protected List attribute; + @XmlAttribute(name = "WantAuthnRequestsSigned") + protected Boolean wantAuthnRequestsSigned; - /** - * Sets the value of the wantAuthnRequestsSigned property. - * - */ - void setWantAuthnRequestsSigned(boolean value); + public List getSingleSignOnService() { + if (singleSignOnService == null) { + singleSignOnService = new ArrayList(); + } + return this.singleSignOnService; + } - /** - * Gets the value of the NameIDMappingService property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the NameIDMappingService property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getNameIDMappingService().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.NameIDMappingServiceElement} - * {@link com.sun.identity.saml2.jaxb.metadata.EndpointType} - * - */ - java.util.List getNameIDMappingService(); + public List getNameIDMappingService() { + if (nameIDMappingService == null) { + nameIDMappingService = new ArrayList(); + } + return this.nameIDMappingService; + } - /** - * Gets the value of the AttributeProfile property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the AttributeProfile property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAttributeProfile().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link java.lang.String} - * - */ - java.util.List getAttributeProfile(); + public List getAssertionIDRequestService() { + if (assertionIDRequestService == null) { + assertionIDRequestService = new ArrayList(); + } + return this.assertionIDRequestService; + } - /** - * Gets the value of the SingleSignOnService property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the SingleSignOnService property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getSingleSignOnService().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.EndpointType} - * {@link com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement} - * - */ - java.util.List getSingleSignOnService(); + public List getAttributeProfile() { + if (attributeProfile == null) { + attributeProfile = new ArrayList(); + } + return this.attributeProfile; + } - /** - * Gets the value of the AssertionIDRequestService property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the AssertionIDRequestService property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAssertionIDRequestService().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.EndpointType} - * {@link com.sun.identity.saml2.jaxb.metadata.AssertionIDRequestServiceElement} - * - */ - java.util.List getAssertionIDRequestService(); + public List getAttribute() { + if (attribute == null) { + attribute = new ArrayList(); + } + return this.attribute; + } - /** - * Gets the value of the Attribute property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the Attribute property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAttribute().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.assertion.AttributeElement} - * {@link com.sun.identity.saml2.jaxb.assertion.AttributeType} - * - */ - java.util.List getAttribute(); + /** Returns {@code false} (not {@code null}) when the attribute is absent. */ + public Boolean isWantAuthnRequestsSigned() { + return (wantAuthnRequestsSigned != null) ? wantAuthnRequestsSigned : Boolean.FALSE; + } + public void setWantAuthnRequestsSigned(Boolean value) { this.wantAuthnRequestsSigned = value; } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IndexedEndpointType.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IndexedEndpointType.java index a331044905..c1df120053 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IndexedEndpointType.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/IndexedEndpointType.java @@ -1,57 +1,44 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** - * Java content class for IndexedEndpointType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 103) - *

    - *

    - * <complexType name="IndexedEndpointType">
    - *   <complexContent>
    - *     <extension base="{urn:oasis:names:tc:SAML:2.0:metadata}EndpointType">
    - *       <attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
    - *       <attribute name="isDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" />
    - *     </extension>
    - *   </complexContent>
    - * </complexType>
    - * 
    - * + * Hand-maintained replacement for the XJC-generated IndexedEndpointType. + * + *

    Overrides {@link #isIsDefault()} to return {@code Boolean.FALSE} (not + * {@code null}) when the optional {@code isDefault} XML attribute is absent, + * preventing {@code NullPointerException} from auto-unboxing at call sites in + * {@code SPSSOFederate}, {@code IDPSSOUtil}, and {@code SPACSUtils}. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface IndexedEndpointType - extends com.sun.identity.saml2.jaxb.metadata.EndpointType -{ - - - /** - * Gets the value of the index property. - * - */ - int getIndex(); +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IndexedEndpointType") +public class IndexedEndpointType extends EndpointType { - /** - * Sets the value of the index property. - * - */ - void setIndex(int value); + @XmlAttribute(name = "index", required = true) + @XmlSchemaType(name = "unsignedShort") + protected int index; + @XmlAttribute(name = "isDefault") + protected Boolean isDefault; - /** - * Gets the value of the isDefault property. - * - */ - boolean isIsDefault(); + public int getIndex() { return index; } + public void setIndex(int value) { this.index = value; } /** - * Sets the value of the isDefault property. - * + * Returns {@code false} when the optional {@code isDefault} XML attribute + * is absent (i.e., the field is {@code null}), preventing NPE from + * auto-unboxing to {@code boolean} at call sites. */ - void setIsDefault(boolean value); + public Boolean isIsDefault() { + return (isDefault != null) ? isDefault : Boolean.FALSE; + } + public void setIsDefault(Boolean value) { this.isDefault = value; } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/KeyDescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/KeyDescriptorElement.java index e182d115e6..e4ab8b5495 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/KeyDescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/KeyDescriptorElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for KeyDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 229) - *

    - *

    - * <element name="KeyDescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}KeyDescriptorType"/>
    - * 
    - * - */ -public interface KeyDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.KeyDescriptorType -{ - - -} +/** Compatibility shim for JAXB 1.x KeyDescriptorElement. */ +public class KeyDescriptorElement extends KeyDescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ManageNameIDServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ManageNameIDServiceElement.java index a9e403ace1..35a9c2d50b 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ManageNameIDServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ManageNameIDServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for ManageNameIDService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 259) - *

    - *

    - * <element name="ManageNameIDService" type="{urn:oasis:names:tc:SAML:2.0:metadata}EndpointType"/>
    - * 
    - * - */ -public interface ManageNameIDServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x ManageNameIDServiceElement. */ +public class ManageNameIDServiceElement extends EndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/NameIDMappingServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/NameIDMappingServiceElement.java index 51882e17cb..5939326615 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/NameIDMappingServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/NameIDMappingServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for NameIDMappingService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 278) - *

    - *

    - * <element name="NameIDMappingService" type="{urn:oasis:names:tc:SAML:2.0:metadata}EndpointType"/>
    - * 
    - * - */ -public interface NameIDMappingServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x NameIDMappingServiceElement. */ +public class NameIDMappingServiceElement extends EndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ObjectFactory.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ObjectFactory.java index 5b9a2a2597..d217ea10b7 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ObjectFactory.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/ObjectFactory.java @@ -1,1137 +1,338 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import javax.xml.namespace.QName; +import com.sun.identity.saml2.jaxb.xmlenc.EncryptionMethodType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.sun.identity.saml2.jaxb.metadata package. - *

    An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * + * Hand-maintained replacement for the XJC-generated ObjectFactory for the + * {@code com.sun.identity.saml2.jaxb.metadata} package. + * + *

    The XJC-generated version declares {@code @XmlElementDecl} for both + * {@code EntityDescriptor} and {@code EntitiesDescriptor} with + * {@code declaredType = EntityDescriptorType.class / EntitiesDescriptorType.class}. + * In JAXB 4.x, {@code @XmlElementDecl} takes precedence over + * {@code @XmlRootElement} for the same QName, so unmarshaling those documents + * returns {@code JAXBElement} instead of the concrete + * {@code EntityDescriptorElement}. This breaks the {@code instanceof} checks in + * {@code FedletConfigurationImpl.getEntityID()} and + * {@code SAML2MetaManager.getEntityDescriptor()}. + * + *

    Fix: omit {@code @XmlElementDecl} from {@code createEntityDescriptor} and + * {@code createEntitiesDescriptor} so that JAXB uses {@code @XmlRootElement} on + * the {@code *Element} subclasses and returns them directly. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public class ObjectFactory - extends com.sun.identity.saml2.jaxb.assertion.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(93, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.saml2.jaxb.assertion.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.saml2.jaxb.assertion.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.saml2.jaxb.metadata.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.saml2.jaxb.metadata.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.EmailAddressElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.EmailAddressElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.KeyDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.KeyDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.OrganizationElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.OrganizationElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.RoleDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.RoleDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.EntitiesDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.EntitiesDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AssertionIDRequestServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AssertionIDRequestServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AdditionalMetadataLocationType.class), "com.sun.identity.saml2.jaxb.metadata.impl.AdditionalMetadataLocationTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.SSODescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.SSODescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.ArtifactResolutionServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.ArtifactResolutionServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.EntitiesDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.EntitiesDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.XACMLPDPDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.XACMLPDPDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.XACMLAuthzDecisionQueryDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.XACMLAuthzDecisionQueryDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.ExtensionsElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.ExtensionsElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AttributeAuthorityDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AttributeAuthorityDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AuthzServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AuthzServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.GivenNameElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.GivenNameElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.RoleDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.RoleDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AuthnAuthorityDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AuthnAuthorityDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.LocalizedURIType.class), "com.sun.identity.saml2.jaxb.metadata.impl.LocalizedURITypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.OrganizationDisplayNameElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.OrganizationDisplayNameElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.TelephoneNumberElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.TelephoneNumberElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.PDPDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.PDPDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.OrganizationType.class), "com.sun.identity.saml2.jaxb.metadata.impl.OrganizationTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AttributeServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AttributeServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.XACMLPDPDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.XACMLPDPDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AffiliationDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.EntityDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.EntityDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.EncryptionMethodElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.EncryptionMethodElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.XACMLAuthzDecisionQueryDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.XACMLAuthzDecisionQueryDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AssertionConsumerServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AssertionConsumerServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.IDPSSODescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.QueryDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.QueryDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AuthnQueryServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AuthnQueryServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.RequestedAttributeType.class), "com.sun.identity.saml2.jaxb.metadata.impl.RequestedAttributeTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AttributeAuthorityDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.AttributeAuthorityDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.XACMLAuthzServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.XACMLAuthzServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AuthnAuthorityDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.AuthnAuthorityDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.OrganizationURLElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.OrganizationURLElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AttributeConsumingServiceType.class), "com.sun.identity.saml2.jaxb.metadata.impl.AttributeConsumingServiceTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.SurNameElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.SurNameElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AdditionalMetadataLocationElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AdditionalMetadataLocationElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.NameIDFormatElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.NameIDFormatElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.EndpointType.class), "com.sun.identity.saml2.jaxb.metadata.impl.EndpointTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.NameIDMappingServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.NameIDMappingServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.SPSSODescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.ExtensionsType.class), "com.sun.identity.saml2.jaxb.metadata.impl.ExtensionsTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.OrganizationNameElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.OrganizationNameElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.ManageNameIDServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.ManageNameIDServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.ServiceDescriptionElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.ServiceDescriptionElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.ServiceNameElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.ServiceNameElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.ContactPersonElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.ContactPersonElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.SPSSODescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.CompanyElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.CompanyElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.QueryDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.QueryDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.ContactType.class), "com.sun.identity.saml2.jaxb.metadata.impl.ContactTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.IDPSSODescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.RequestedAttributeElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.RequestedAttributeElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.SingleLogoutServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.SingleLogoutServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AttributeConsumingServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AttributeConsumingServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.SingleSignOnServiceElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.LocalizedNameType.class), "com.sun.identity.saml2.jaxb.metadata.impl.LocalizedNameTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.KeyDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.KeyDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AttributeProfileElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AttributeProfileElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.PDPDescriptorElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.PDPDescriptorElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.EntityDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.EntityDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorType.class), "com.sun.identity.saml2.jaxb.metadata.impl.AffiliationDescriptorTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AffiliateMemberElement.class), "com.sun.identity.saml2.jaxb.metadata.impl.AffiliateMemberElementImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.IndexedEndpointType.class), "com.sun.identity.saml2.jaxb.metadata.impl.IndexedEndpointTypeImpl"); - defaultImplementations.put((com.sun.identity.saml2.jaxb.metadata.AttributeServiceType.class), "com.sun.identity.saml2.jaxb.metadata.impl.AttributeServiceTypeImpl"); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "OrganizationDisplayName"), (com.sun.identity.saml2.jaxb.metadata.OrganizationDisplayNameElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "ServiceDescription"), (com.sun.identity.saml2.jaxb.metadata.ServiceDescriptionElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "Extensions"), (com.sun.identity.saml2.jaxb.metadata.ExtensionsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "SPSSODescriptor"), (com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "OrganizationURL"), (com.sun.identity.saml2.jaxb.metadata.OrganizationURLElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "ContactPerson"), (com.sun.identity.saml2.jaxb.metadata.ContactPersonElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "PDPDescriptor"), (com.sun.identity.saml2.jaxb.metadata.PDPDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "OrganizationName"), (com.sun.identity.saml2.jaxb.metadata.OrganizationNameElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "XACMLAuthzService"), (com.sun.identity.saml2.jaxb.metadata.XACMLAuthzServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "NameIDFormat"), (com.sun.identity.saml2.jaxb.metadata.NameIDFormatElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "EntityDescriptor"), (com.sun.identity.saml2.jaxb.metadata.EntityDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "IDPSSODescriptor"), (com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "XACMLAuthzDecisionQueryDescriptor"), (com.sun.identity.saml2.jaxb.metadata.XACMLAuthzDecisionQueryDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "SingleLogoutService"), (com.sun.identity.saml2.jaxb.metadata.SingleLogoutServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "QueryDescriptor"), (com.sun.identity.saml2.jaxb.metadata.QueryDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "EntitiesDescriptor"), (com.sun.identity.saml2.jaxb.metadata.EntitiesDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "NameIDMappingService"), (com.sun.identity.saml2.jaxb.metadata.NameIDMappingServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "ArtifactResolutionService"), (com.sun.identity.saml2.jaxb.metadata.ArtifactResolutionServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AttributeService"), (com.sun.identity.saml2.jaxb.metadata.AttributeServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AssertionConsumerService"), (com.sun.identity.saml2.jaxb.metadata.AssertionConsumerServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "RequestedAttribute"), (com.sun.identity.saml2.jaxb.metadata.RequestedAttributeElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "Organization"), (com.sun.identity.saml2.jaxb.metadata.OrganizationElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AuthzService"), (com.sun.identity.saml2.jaxb.metadata.AuthzServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AuthnQueryService"), (com.sun.identity.saml2.jaxb.metadata.AuthnQueryServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "EncryptionMethod"), (com.sun.identity.saml2.jaxb.metadata.EncryptionMethodElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "KeyDescriptor"), (com.sun.identity.saml2.jaxb.metadata.KeyDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "ManageNameIDService"), (com.sun.identity.saml2.jaxb.metadata.ManageNameIDServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "XACMLPDPDescriptor"), (com.sun.identity.saml2.jaxb.metadata.XACMLPDPDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AffiliateMember"), (com.sun.identity.saml2.jaxb.metadata.AffiliateMemberElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "GivenName"), (com.sun.identity.saml2.jaxb.metadata.GivenNameElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "SurName"), (com.sun.identity.saml2.jaxb.metadata.SurNameElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "ServiceName"), (com.sun.identity.saml2.jaxb.metadata.ServiceNameElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "SingleSignOnService"), (com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AttributeProfile"), (com.sun.identity.saml2.jaxb.metadata.AttributeProfileElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "RoleDescriptor"), (com.sun.identity.saml2.jaxb.metadata.RoleDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AuthnAuthorityDescriptor"), (com.sun.identity.saml2.jaxb.metadata.AuthnAuthorityDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AttributeAuthorityDescriptor"), (com.sun.identity.saml2.jaxb.metadata.AttributeAuthorityDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AssertionIDRequestService"), (com.sun.identity.saml2.jaxb.metadata.AssertionIDRequestServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "EmailAddress"), (com.sun.identity.saml2.jaxb.metadata.EmailAddressElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "TelephoneNumber"), (com.sun.identity.saml2.jaxb.metadata.TelephoneNumberElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AffiliationDescriptor"), (com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AttributeConsumingService"), (com.sun.identity.saml2.jaxb.metadata.AttributeConsumingServiceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "Company"), (com.sun.identity.saml2.jaxb.metadata.CompanyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:metadata", "AdditionalMetadataLocation"), (com.sun.identity.saml2.jaxb.metadata.AdditionalMetadataLocationElement.class)); - } - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.saml2.jaxb.metadata - * - */ - public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); - } - - /** - * Create an instance of EmailAddressElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.EmailAddressElement createEmailAddressElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.EmailAddressElementImpl(); - } - - /** - * Create an instance of EmailAddressElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.EmailAddressElement createEmailAddressElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.EmailAddressElementImpl(value); - } - - /** - * Create an instance of KeyDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.KeyDescriptorType createKeyDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.KeyDescriptorTypeImpl(); - } - - /** - * Create an instance of OrganizationElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.OrganizationElement createOrganizationElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.OrganizationElementImpl(); - } - - /** - * Create an instance of RoleDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.RoleDescriptorElement createRoleDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.RoleDescriptorElementImpl(); - } - - /** - * Create an instance of EntitiesDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.EntitiesDescriptorType createEntitiesDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.EntitiesDescriptorTypeImpl(); - } - - /** - * Create an instance of AssertionIDRequestServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AssertionIDRequestServiceElement createAssertionIDRequestServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AssertionIDRequestServiceElementImpl(); - } - - /** - * Create an instance of AdditionalMetadataLocationType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AdditionalMetadataLocationType createAdditionalMetadataLocationType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AdditionalMetadataLocationTypeImpl(); - } - - /** - * Create an instance of SSODescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.SSODescriptorType createSSODescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.SSODescriptorTypeImpl(); - } - - /** - * Create an instance of ArtifactResolutionServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.ArtifactResolutionServiceElement createArtifactResolutionServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.ArtifactResolutionServiceElementImpl(); - } - - /** - * Create an instance of EntitiesDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.EntitiesDescriptorElement createEntitiesDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.EntitiesDescriptorElementImpl(); - } - - /** - * Create an instance of XACMLPDPDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.XACMLPDPDescriptorType createXACMLPDPDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.XACMLPDPDescriptorTypeImpl(); - } - - /** - * Create an instance of XACMLAuthzDecisionQueryDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.XACMLAuthzDecisionQueryDescriptorElement createXACMLAuthzDecisionQueryDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.XACMLAuthzDecisionQueryDescriptorElementImpl(); - } - - /** - * Create an instance of ExtensionsElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.ExtensionsElement createExtensionsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.ExtensionsElementImpl(); - } - - /** - * Create an instance of AttributeAuthorityDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AttributeAuthorityDescriptorElement createAttributeAuthorityDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AttributeAuthorityDescriptorElementImpl(); +@XmlRegistry +public class ObjectFactory { + + private static final QName _Extensions_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "Extensions"); + private static final QName _EntitiesDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "EntitiesDescriptor"); + private static final QName _EntityDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "EntityDescriptor"); + private static final QName _Organization_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "Organization"); + private static final QName _OrganizationName_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "OrganizationName"); + private static final QName _OrganizationDisplayName_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "OrganizationDisplayName"); + private static final QName _OrganizationURL_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "OrganizationURL"); + private static final QName _ContactPerson_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "ContactPerson"); + private static final QName _Company_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "Company"); + private static final QName _GivenName_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "GivenName"); + private static final QName _SurName_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "SurName"); + private static final QName _EmailAddress_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "EmailAddress"); + private static final QName _TelephoneNumber_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "TelephoneNumber"); + private static final QName _AdditionalMetadataLocation_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AdditionalMetadataLocation"); + private static final QName _RoleDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "RoleDescriptor"); + private static final QName _KeyDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "KeyDescriptor"); + private static final QName _EncryptionMethod_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "EncryptionMethod"); + private static final QName _ArtifactResolutionService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "ArtifactResolutionService"); + private static final QName _SingleLogoutService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "SingleLogoutService"); + private static final QName _ManageNameIDService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "ManageNameIDService"); + private static final QName _NameIDFormat_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "NameIDFormat"); + private static final QName _IDPSSODescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "IDPSSODescriptor"); + private static final QName _SingleSignOnService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "SingleSignOnService"); + private static final QName _NameIDMappingService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "NameIDMappingService"); + private static final QName _AssertionIDRequestService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AssertionIDRequestService"); + private static final QName _AttributeProfile_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AttributeProfile"); + private static final QName _SPSSODescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "SPSSODescriptor"); + private static final QName _AssertionConsumerService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AssertionConsumerService"); + private static final QName _AttributeConsumingService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AttributeConsumingService"); + private static final QName _ServiceName_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "ServiceName"); + private static final QName _ServiceDescription_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "ServiceDescription"); + private static final QName _RequestedAttribute_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "RequestedAttribute"); + private static final QName _AuthnAuthorityDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AuthnAuthorityDescriptor"); + private static final QName _AuthnQueryService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AuthnQueryService"); + private static final QName _PDPDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "PDPDescriptor"); + private static final QName _AuthzService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AuthzService"); + private static final QName _XACMLPDPDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "XACMLPDPDescriptor"); + private static final QName _XACMLAuthzService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "XACMLAuthzService"); + private static final QName _AttributeAuthorityDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AttributeAuthorityDescriptor"); + private static final QName _AttributeService_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AttributeService"); + private static final QName _AffiliationDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AffiliationDescriptor"); + private static final QName _AffiliateMember_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "AffiliateMember"); + private static final QName _QueryDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "QueryDescriptor"); + private static final QName _XACMLAuthzDecisionQueryDescriptor_QNAME = new QName("urn:oasis:names:tc:SAML:2.0:metadata", "XACMLAuthzDecisionQueryDescriptor"); + + public ObjectFactory() {} + + // No-arg convenience factory methods for legacy callers (JAXB 1.x API compatibility) + public SingleSignOnServiceElement createSingleSignOnServiceElement() { return new SingleSignOnServiceElement(); } + public SingleLogoutServiceElement createSingleLogoutServiceElement() { return new SingleLogoutServiceElement(); } + public ManageNameIDServiceElement createManageNameIDServiceElement() { return new ManageNameIDServiceElement(); } + public NameIDMappingServiceElement createNameIDMappingServiceElement() { return new NameIDMappingServiceElement(); } + public AssertionConsumerServiceElement createAssertionConsumerServiceElement() { return new AssertionConsumerServiceElement(); } + public ArtifactResolutionServiceElement createArtifactResolutionServiceElement() { return new ArtifactResolutionServiceElement(); } + public AttributeServiceElement createAttributeServiceElement() { return new AttributeServiceElement(); } + public AssertionIDRequestServiceElement createAssertionIDRequestServiceElement() { return new AssertionIDRequestServiceElement(); } + public AuthnQueryServiceElement createAuthnQueryServiceElement() { return new AuthnQueryServiceElement(); } + + public ExtensionsType createExtensionsType() { return new ExtensionsType(); } + public EntitiesDescriptorType createEntitiesDescriptorType() { return new EntitiesDescriptorType(); } + public EntityDescriptorType createEntityDescriptorType() { return new EntityDescriptorType(); } + public OrganizationType createOrganizationType() { return new OrganizationType(); } + public LocalizedNameType createLocalizedNameType() { return new LocalizedNameType(); } + public LocalizedURIType createLocalizedURIType() { return new LocalizedURIType(); } + public ContactType createContactType() { return new ContactType(); } + public AdditionalMetadataLocationType createAdditionalMetadataLocationType() { return new AdditionalMetadataLocationType(); } + public KeyDescriptorType createKeyDescriptorType() { return new KeyDescriptorType(); } + public IndexedEndpointType createIndexedEndpointType() { return new IndexedEndpointType(); } + public EndpointType createEndpointType() { return new EndpointType(); } + public IDPSSODescriptorType createIDPSSODescriptorType() { return new IDPSSODescriptorType(); } + public SPSSODescriptorType createSPSSODescriptorType() { return new SPSSODescriptorType(); } + public AttributeConsumingServiceType createAttributeConsumingServiceType() { return new AttributeConsumingServiceType(); } + public RequestedAttributeType createRequestedAttributeType() { return new RequestedAttributeType(); } + public AuthnAuthorityDescriptorType createAuthnAuthorityDescriptorType() { return new AuthnAuthorityDescriptorType(); } + public PDPDescriptorType createPDPDescriptorType() { return new PDPDescriptorType(); } + public XACMLPDPDescriptorType createXACMLPDPDescriptorType() { return new XACMLPDPDescriptorType(); } + public AttributeAuthorityDescriptorType createAttributeAuthorityDescriptorType() { return new AttributeAuthorityDescriptorType(); } + public AttributeServiceType createAttributeServiceType() { return new AttributeServiceType(); } + public AffiliationDescriptorType createAffiliationDescriptorType() { return new AffiliationDescriptorType(); } + public XACMLAuthzDecisionQueryDescriptorType createXACMLAuthzDecisionQueryDescriptorType() { return new XACMLAuthzDecisionQueryDescriptorType(); } + + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "Extensions") + public JAXBElement createExtensions(ExtensionsType value) { + return new JAXBElement<>(_Extensions_QNAME, ExtensionsType.class, null, value); + } + + // NOTE: @XmlElementDecl intentionally absent for EntitiesDescriptor and EntityDescriptor. + // In JAXB 4.x @XmlElementDecl takes precedence over @XmlRootElement for the same QName, + // so these would cause unmarshal to return JAXBElement<*Type> instead of the concrete + // *Element subclass, breaking instanceof checks in FedletConfigurationImpl.getEntityID() + // and SAML2MetaManager.getEntityDescriptor(). Omitting @XmlElementDecl here allows + // @XmlRootElement on EntitiesDescriptorElement / EntityDescriptorElement to take effect. + public JAXBElement createEntitiesDescriptor(EntitiesDescriptorElement value) { + return new JAXBElement<>(_EntitiesDescriptor_QNAME, EntitiesDescriptorElement.class, null, value); } - /** - * Create an instance of AuthzServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AuthzServiceElement createAuthzServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AuthzServiceElementImpl(); + public JAXBElement createEntityDescriptor(EntityDescriptorElement value) { + return new JAXBElement<>(_EntityDescriptor_QNAME, EntityDescriptorElement.class, null, value); } - /** - * Create an instance of GivenNameElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.GivenNameElement createGivenNameElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.GivenNameElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "Organization") + public JAXBElement createOrganization(OrganizationType value) { + return new JAXBElement<>(_Organization_QNAME, OrganizationType.class, null, value); } - /** - * Create an instance of GivenNameElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.GivenNameElement createGivenNameElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.GivenNameElementImpl(value); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "OrganizationName") + public JAXBElement createOrganizationName(LocalizedNameType value) { + return new JAXBElement<>(_OrganizationName_QNAME, LocalizedNameType.class, null, value); } - /** - * Create an instance of RoleDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.RoleDescriptorType createRoleDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.RoleDescriptorTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "OrganizationDisplayName") + public JAXBElement createOrganizationDisplayName(LocalizedNameType value) { + return new JAXBElement<>(_OrganizationDisplayName_QNAME, LocalizedNameType.class, null, value); } - /** - * Create an instance of AuthnAuthorityDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AuthnAuthorityDescriptorElement createAuthnAuthorityDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AuthnAuthorityDescriptorElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "OrganizationURL") + public JAXBElement createOrganizationURL(LocalizedURIType value) { + return new JAXBElement<>(_OrganizationURL_QNAME, LocalizedURIType.class, null, value); } - /** - * Create an instance of LocalizedURIType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.LocalizedURIType createLocalizedURIType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.LocalizedURITypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "ContactPerson") + public JAXBElement createContactPerson(ContactType value) { + return new JAXBElement<>(_ContactPerson_QNAME, ContactType.class, null, value); } - /** - * Create an instance of OrganizationDisplayNameElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.OrganizationDisplayNameElement createOrganizationDisplayNameElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.OrganizationDisplayNameElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "Company") + public JAXBElement createCompany(String value) { + return new JAXBElement<>(_Company_QNAME, String.class, null, value); } - /** - * Create an instance of TelephoneNumberElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.TelephoneNumberElement createTelephoneNumberElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.TelephoneNumberElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "GivenName") + public JAXBElement createGivenName(String value) { + return new JAXBElement<>(_GivenName_QNAME, String.class, null, value); } - /** - * Create an instance of TelephoneNumberElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.TelephoneNumberElement createTelephoneNumberElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.TelephoneNumberElementImpl(value); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "SurName") + public JAXBElement createSurName(String value) { + return new JAXBElement<>(_SurName_QNAME, String.class, null, value); } - /** - * Create an instance of PDPDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.PDPDescriptorType createPDPDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.PDPDescriptorTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "EmailAddress") + public JAXBElement createEmailAddress(String value) { + return new JAXBElement<>(_EmailAddress_QNAME, String.class, null, value); } - /** - * Create an instance of OrganizationType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.OrganizationType createOrganizationType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.OrganizationTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "TelephoneNumber") + public JAXBElement createTelephoneNumber(String value) { + return new JAXBElement<>(_TelephoneNumber_QNAME, String.class, null, value); } - /** - * Create an instance of AttributeServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AttributeServiceElement createAttributeServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AttributeServiceElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AdditionalMetadataLocation") + public JAXBElement createAdditionalMetadataLocation(AdditionalMetadataLocationType value) { + return new JAXBElement<>(_AdditionalMetadataLocation_QNAME, AdditionalMetadataLocationType.class, null, value); } - /** - * Create an instance of XACMLPDPDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.XACMLPDPDescriptorElement createXACMLPDPDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.XACMLPDPDescriptorElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "RoleDescriptor") + public JAXBElement createRoleDescriptor(RoleDescriptorType value) { + return new JAXBElement<>(_RoleDescriptor_QNAME, RoleDescriptorType.class, null, value); } - /** - * Create an instance of AffiliationDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorElement createAffiliationDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AffiliationDescriptorElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "KeyDescriptor") + public JAXBElement createKeyDescriptor(KeyDescriptorType value) { + return new JAXBElement<>(_KeyDescriptor_QNAME, KeyDescriptorType.class, null, value); } - /** - * Create an instance of EntityDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.EntityDescriptorElement createEntityDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.EntityDescriptorElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "EncryptionMethod") + public JAXBElement createEncryptionMethod(EncryptionMethodType value) { + return new JAXBElement<>(_EncryptionMethod_QNAME, EncryptionMethodType.class, null, value); } - /** - * Create an instance of EncryptionMethodElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.EncryptionMethodElement createEncryptionMethodElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.EncryptionMethodElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "ArtifactResolutionService") + public JAXBElement createArtifactResolutionService(IndexedEndpointType value) { + return new JAXBElement<>(_ArtifactResolutionService_QNAME, IndexedEndpointType.class, null, value); } - /** - * Create an instance of XACMLAuthzDecisionQueryDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.XACMLAuthzDecisionQueryDescriptorType createXACMLAuthzDecisionQueryDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.XACMLAuthzDecisionQueryDescriptorTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "SingleLogoutService") + public JAXBElement createSingleLogoutService(EndpointType value) { + return new JAXBElement<>(_SingleLogoutService_QNAME, EndpointType.class, null, value); } - /** - * Create an instance of AssertionConsumerServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AssertionConsumerServiceElement createAssertionConsumerServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AssertionConsumerServiceElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "ManageNameIDService") + public JAXBElement createManageNameIDService(EndpointType value) { + return new JAXBElement<>(_ManageNameIDService_QNAME, EndpointType.class, null, value); } - /** - * Create an instance of IDPSSODescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement createIDPSSODescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.IDPSSODescriptorElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "NameIDFormat") + public JAXBElement createNameIDFormat(String value) { + return new JAXBElement<>(_NameIDFormat_QNAME, String.class, null, value); } - /** - * Create an instance of QueryDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.QueryDescriptorElement createQueryDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.QueryDescriptorElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "IDPSSODescriptor") + public JAXBElement createIDPSSODescriptor(IDPSSODescriptorType value) { + return new JAXBElement<>(_IDPSSODescriptor_QNAME, IDPSSODescriptorType.class, null, value); } - /** - * Create an instance of AuthnQueryServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AuthnQueryServiceElement createAuthnQueryServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AuthnQueryServiceElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "SingleSignOnService") + public JAXBElement createSingleSignOnService(EndpointType value) { + return new JAXBElement<>(_SingleSignOnService_QNAME, EndpointType.class, null, value); } - /** - * Create an instance of RequestedAttributeType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.RequestedAttributeType createRequestedAttributeType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.RequestedAttributeTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "NameIDMappingService") + public JAXBElement createNameIDMappingService(EndpointType value) { + return new JAXBElement<>(_NameIDMappingService_QNAME, EndpointType.class, null, value); } - /** - * Create an instance of AttributeAuthorityDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AttributeAuthorityDescriptorType createAttributeAuthorityDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AttributeAuthorityDescriptorTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AssertionIDRequestService") + public JAXBElement createAssertionIDRequestService(EndpointType value) { + return new JAXBElement<>(_AssertionIDRequestService_QNAME, EndpointType.class, null, value); } - /** - * Create an instance of XACMLAuthzServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.XACMLAuthzServiceElement createXACMLAuthzServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.XACMLAuthzServiceElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AttributeProfile") + public JAXBElement createAttributeProfile(String value) { + return new JAXBElement<>(_AttributeProfile_QNAME, String.class, null, value); } - /** - * Create an instance of AuthnAuthorityDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AuthnAuthorityDescriptorType createAuthnAuthorityDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AuthnAuthorityDescriptorTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "SPSSODescriptor") + public JAXBElement createSPSSODescriptor(SPSSODescriptorType value) { + return new JAXBElement<>(_SPSSODescriptor_QNAME, SPSSODescriptorType.class, null, value); } - /** - * Create an instance of OrganizationURLElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.OrganizationURLElement createOrganizationURLElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.OrganizationURLElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AssertionConsumerService") + public JAXBElement createAssertionConsumerService(IndexedEndpointType value) { + return new JAXBElement<>(_AssertionConsumerService_QNAME, IndexedEndpointType.class, null, value); } - /** - * Create an instance of AttributeConsumingServiceType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AttributeConsumingServiceType createAttributeConsumingServiceType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AttributeConsumingServiceTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AttributeConsumingService") + public JAXBElement createAttributeConsumingService(AttributeConsumingServiceType value) { + return new JAXBElement<>(_AttributeConsumingService_QNAME, AttributeConsumingServiceType.class, null, value); } - /** - * Create an instance of SurNameElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.SurNameElement createSurNameElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.SurNameElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "ServiceName") + public JAXBElement createServiceName(LocalizedNameType value) { + return new JAXBElement<>(_ServiceName_QNAME, LocalizedNameType.class, null, value); } - /** - * Create an instance of SurNameElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.SurNameElement createSurNameElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.SurNameElementImpl(value); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "ServiceDescription") + public JAXBElement createServiceDescription(LocalizedNameType value) { + return new JAXBElement<>(_ServiceDescription_QNAME, LocalizedNameType.class, null, value); } - /** - * Create an instance of AdditionalMetadataLocationElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AdditionalMetadataLocationElement createAdditionalMetadataLocationElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AdditionalMetadataLocationElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "RequestedAttribute") + public JAXBElement createRequestedAttribute(RequestedAttributeType value) { + return new JAXBElement<>(_RequestedAttribute_QNAME, RequestedAttributeType.class, null, value); } - /** - * Create an instance of NameIDFormatElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.NameIDFormatElement createNameIDFormatElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.NameIDFormatElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AuthnAuthorityDescriptor") + public JAXBElement createAuthnAuthorityDescriptor(AuthnAuthorityDescriptorType value) { + return new JAXBElement<>(_AuthnAuthorityDescriptor_QNAME, AuthnAuthorityDescriptorType.class, null, value); } - /** - * Create an instance of NameIDFormatElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.NameIDFormatElement createNameIDFormatElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.NameIDFormatElementImpl(value); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AuthnQueryService") + public JAXBElement createAuthnQueryService(EndpointType value) { + return new JAXBElement<>(_AuthnQueryService_QNAME, EndpointType.class, null, value); } - /** - * Create an instance of EndpointType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.EndpointType createEndpointType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.EndpointTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "PDPDescriptor") + public JAXBElement createPDPDescriptor(PDPDescriptorType value) { + return new JAXBElement<>(_PDPDescriptor_QNAME, PDPDescriptorType.class, null, value); } - /** - * Create an instance of NameIDMappingServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.NameIDMappingServiceElement createNameIDMappingServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.NameIDMappingServiceElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AuthzService") + public JAXBElement createAuthzService(EndpointType value) { + return new JAXBElement<>(_AuthzService_QNAME, EndpointType.class, null, value); } - /** - * Create an instance of SPSSODescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorElement createSPSSODescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.SPSSODescriptorElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "XACMLPDPDescriptor") + public JAXBElement createXACMLPDPDescriptor(XACMLPDPDescriptorType value) { + return new JAXBElement<>(_XACMLPDPDescriptor_QNAME, XACMLPDPDescriptorType.class, null, value); } - /** - * Create an instance of ExtensionsType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.ExtensionsType createExtensionsType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.ExtensionsTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "XACMLAuthzService") + public JAXBElement createXACMLAuthzService(EndpointType value) { + return new JAXBElement<>(_XACMLAuthzService_QNAME, EndpointType.class, null, value); } - /** - * Create an instance of OrganizationNameElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.OrganizationNameElement createOrganizationNameElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.OrganizationNameElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AttributeAuthorityDescriptor") + public JAXBElement createAttributeAuthorityDescriptor(AttributeAuthorityDescriptorType value) { + return new JAXBElement<>(_AttributeAuthorityDescriptor_QNAME, AttributeAuthorityDescriptorType.class, null, value); } - /** - * Create an instance of ManageNameIDServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.ManageNameIDServiceElement createManageNameIDServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.ManageNameIDServiceElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AttributeService") + public JAXBElement createAttributeService(AttributeServiceType value) { + return new JAXBElement<>(_AttributeService_QNAME, AttributeServiceType.class, null, value); } - /** - * Create an instance of ServiceDescriptionElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.ServiceDescriptionElement createServiceDescriptionElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.ServiceDescriptionElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AffiliationDescriptor") + public JAXBElement createAffiliationDescriptor(AffiliationDescriptorType value) { + return new JAXBElement<>(_AffiliationDescriptor_QNAME, AffiliationDescriptorType.class, null, value); } - /** - * Create an instance of ServiceNameElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.ServiceNameElement createServiceNameElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.ServiceNameElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "AffiliateMember") + public JAXBElement createAffiliateMember(String value) { + return new JAXBElement<>(_AffiliateMember_QNAME, String.class, null, value); } - /** - * Create an instance of ContactPersonElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.ContactPersonElement createContactPersonElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.ContactPersonElementImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "QueryDescriptor") + public JAXBElement createQueryDescriptor(QueryDescriptorType value) { + return new JAXBElement<>(_QueryDescriptor_QNAME, QueryDescriptorType.class, null, value); } - /** - * Create an instance of SPSSODescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorType createSPSSODescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.SPSSODescriptorTypeImpl(); + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:metadata", name = "XACMLAuthzDecisionQueryDescriptor") + public JAXBElement createXACMLAuthzDecisionQueryDescriptor(XACMLAuthzDecisionQueryDescriptorType value) { + return new JAXBElement<>(_XACMLAuthzDecisionQueryDescriptor_QNAME, XACMLAuthzDecisionQueryDescriptorType.class, null, value); } - - /** - * Create an instance of CompanyElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.CompanyElement createCompanyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.CompanyElementImpl(); - } - - /** - * Create an instance of CompanyElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.CompanyElement createCompanyElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.CompanyElementImpl(value); - } - - /** - * Create an instance of QueryDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.QueryDescriptorType createQueryDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.QueryDescriptorTypeImpl(); - } - - /** - * Create an instance of ContactType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.ContactType createContactType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.ContactTypeImpl(); - } - - /** - * Create an instance of IDPSSODescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorType createIDPSSODescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.IDPSSODescriptorTypeImpl(); - } - - /** - * Create an instance of RequestedAttributeElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.RequestedAttributeElement createRequestedAttributeElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.RequestedAttributeElementImpl(); - } - - /** - * Create an instance of SingleLogoutServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.SingleLogoutServiceElement createSingleLogoutServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.SingleLogoutServiceElementImpl(); - } - - /** - * Create an instance of AttributeConsumingServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AttributeConsumingServiceElement createAttributeConsumingServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AttributeConsumingServiceElementImpl(); - } - - /** - * Create an instance of SingleSignOnServiceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement createSingleSignOnServiceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.SingleSignOnServiceElementImpl(); - } - - /** - * Create an instance of LocalizedNameType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.LocalizedNameType createLocalizedNameType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.LocalizedNameTypeImpl(); - } - - /** - * Create an instance of KeyDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.KeyDescriptorElement createKeyDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.KeyDescriptorElementImpl(); - } - - /** - * Create an instance of AttributeProfileElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AttributeProfileElement createAttributeProfileElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AttributeProfileElementImpl(); - } - - /** - * Create an instance of AttributeProfileElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AttributeProfileElement createAttributeProfileElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AttributeProfileElementImpl(value); - } - - /** - * Create an instance of PDPDescriptorElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.PDPDescriptorElement createPDPDescriptorElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.PDPDescriptorElementImpl(); - } - - /** - * Create an instance of EntityDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.EntityDescriptorType createEntityDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.EntityDescriptorTypeImpl(); - } - - /** - * Create an instance of AffiliationDescriptorType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AffiliationDescriptorType createAffiliationDescriptorType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AffiliationDescriptorTypeImpl(); - } - - /** - * Create an instance of AffiliateMemberElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AffiliateMemberElement createAffiliateMemberElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AffiliateMemberElementImpl(); - } - - /** - * Create an instance of AffiliateMemberElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AffiliateMemberElement createAffiliateMemberElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AffiliateMemberElementImpl(value); - } - - /** - * Create an instance of IndexedEndpointType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.IndexedEndpointType createIndexedEndpointType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.IndexedEndpointTypeImpl(); - } - - /** - * Create an instance of AttributeServiceType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.saml2.jaxb.metadata.AttributeServiceType createAttributeServiceType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.saml2.jaxb.metadata.impl.AttributeServiceTypeImpl(); - } - } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SPSSODescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SPSSODescriptorElement.java index 18825b7758..1ff750aa8e 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SPSSODescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SPSSODescriptorElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for SPSSODescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 282) - *

    - *

    - * <element name="SPSSODescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}SPSSODescriptorType"/>
    - * 
    - * - */ -public interface SPSSODescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorType -{ - - -} +/** Compatibility shim for JAXB 1.x SPSSODescriptorElement. */ +public class SPSSODescriptorElement extends SPSSODescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SPSSODescriptorType.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SPSSODescriptorType.java index 32fc7f852e..3bd739b7ba 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SPSSODescriptorType.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SPSSODescriptorType.java @@ -1,109 +1,73 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** - * Java content class for SPSSODescriptorType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 283) - *

    - *

    - * <complexType name="SPSSODescriptorType">
    - *   <complexContent>
    - *     <extension base="{urn:oasis:names:tc:SAML:2.0:metadata}SSODescriptorType">
    - *       <sequence>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AssertionConsumerService" maxOccurs="unbounded"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AttributeConsumingService" maxOccurs="unbounded" minOccurs="0"/>
    - *       </sequence>
    - *       <attribute name="AuthnRequestsSigned" type="{http://www.w3.org/2001/XMLSchema}boolean" />
    - *       <attribute name="WantAssertionsSigned" type="{http://www.w3.org/2001/XMLSchema}boolean" />
    - *     </extension>
    - *   </complexContent>
    - * </complexType>
    - * 
    - * + * Hand-maintained replacement for the XJC-generated SPSSODescriptorType. + * + *

    Changes {@code assertionConsumerService} from + * {@code List} to + * {@code List} so that JAXB 4.x unmarshals + * concrete {@code AssertionConsumerServiceElement} instances instead of the + * base {@code IndexedEndpointType}, preventing {@code ClassCastException} in + * {@code SPSSOFederate.initiateAuthnRequest}. + * + *

    Also overrides {@link #isAuthnRequestsSigned()} and + * {@link #isWantAssertionsSigned()} to return {@code Boolean.FALSE} instead + * of {@code null} when the optional XML attributes are absent, preventing + * {@code NullPointerException} from auto-unboxing. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface SPSSODescriptorType - extends com.sun.identity.saml2.jaxb.metadata.SSODescriptorType -{ - +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SPSSODescriptorType", propOrder = { + "assertionConsumerService", + "attributeConsumingService" +}) +public class SPSSODescriptorType extends SSODescriptorType { - /** - * Gets the value of the authnRequestsSigned property. - * - */ - boolean isAuthnRequestsSigned(); + @XmlElement(name = "AssertionConsumerService", required = true, type = AssertionConsumerServiceElement.class) + protected List assertionConsumerService; + @XmlElement(name = "AttributeConsumingService") + protected List attributeConsumingService; + @XmlAttribute(name = "AuthnRequestsSigned") + protected Boolean authnRequestsSigned; + @XmlAttribute(name = "WantAssertionsSigned") + protected Boolean wantAssertionsSigned; - /** - * Sets the value of the authnRequestsSigned property. - * - */ - void setAuthnRequestsSigned(boolean value); + public List getAssertionConsumerService() { + if (assertionConsumerService == null) { + assertionConsumerService = new ArrayList(); + } + return this.assertionConsumerService; + } - /** - * Gets the value of the AssertionConsumerService property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the AssertionConsumerService property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAssertionConsumerService().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.AssertionConsumerServiceElement} - * {@link com.sun.identity.saml2.jaxb.metadata.IndexedEndpointType} - * - */ - java.util.List getAssertionConsumerService(); + public List getAttributeConsumingService() { + if (attributeConsumingService == null) { + attributeConsumingService = new ArrayList(); + } + return this.attributeConsumingService; + } - /** - * Gets the value of the AttributeConsumingService property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the AttributeConsumingService property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getAttributeConsumingService().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.AttributeConsumingServiceType} - * {@link com.sun.identity.saml2.jaxb.metadata.AttributeConsumingServiceElement} - * - */ - java.util.List getAttributeConsumingService(); + /** Returns {@code false} (not {@code null}) when the attribute is absent. */ + public Boolean isAuthnRequestsSigned() { + return (authnRequestsSigned != null) ? authnRequestsSigned : Boolean.FALSE; + } - /** - * Gets the value of the wantAssertionsSigned property. - * - */ - boolean isWantAssertionsSigned(); + public void setAuthnRequestsSigned(Boolean value) { this.authnRequestsSigned = value; } - /** - * Sets the value of the wantAssertionsSigned property. - * - */ - void setWantAssertionsSigned(boolean value); + /** Returns {@code false} (not {@code null}) when the attribute is absent. */ + public Boolean isWantAssertionsSigned() { + return (wantAssertionsSigned != null) ? wantAssertionsSigned : Boolean.FALSE; + } + public void setWantAssertionsSigned(Boolean value) { this.wantAssertionsSigned = value; } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SSODescriptorType.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SSODescriptorType.java index 347efd6f4b..c07656eb48 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SSODescriptorType.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SSODescriptorType.java @@ -1,132 +1,74 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlSeeAlso; +import jakarta.xml.bind.annotation.XmlType; /** - * Java content class for SSODescriptorType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 245) - *

    - *

    - * <complexType name="SSODescriptorType">
    - *   <complexContent>
    - *     <extension base="{urn:oasis:names:tc:SAML:2.0:metadata}RoleDescriptorType">
    - *       <sequence>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}ArtifactResolutionService" maxOccurs="unbounded" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}SingleLogoutService" maxOccurs="unbounded" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}ManageNameIDService" maxOccurs="unbounded" minOccurs="0"/>
    - *         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}NameIDFormat" maxOccurs="unbounded" minOccurs="0"/>
    - *       </sequence>
    - *     </extension>
    - *   </complexContent>
    - * </complexType>
    - * 
    - * + * Hand-maintained replacement for the XJC-generated SSODescriptorType. + * + *

    Changes the endpoint list fields to use concrete {@code *Element} + * subclasses so that JAXB 4.x unmarshals the expected element instances + * rather than the base {@code EndpointType} / {@code IndexedEndpointType}, + * preventing {@code ClassCastException} in SAML2 metadata code. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface SSODescriptorType - extends com.sun.identity.saml2.jaxb.metadata.RoleDescriptorType -{ - +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SSODescriptorType", propOrder = { + "artifactResolutionService", + "singleLogoutService", + "manageNameIDService", + "nameIDFormat" +}) +@XmlSeeAlso({ + IDPSSODescriptorType.class, + SPSSODescriptorType.class +}) +public abstract class SSODescriptorType extends RoleDescriptorType { - /** - * Gets the value of the ManageNameIDService property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the ManageNameIDService property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getManageNameIDService().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.EndpointType} - * {@link com.sun.identity.saml2.jaxb.metadata.ManageNameIDServiceElement} - * - */ - java.util.List getManageNameIDService(); + @XmlElement(name = "ArtifactResolutionService", type = ArtifactResolutionServiceElement.class) + protected List artifactResolutionService; + @XmlElement(name = "SingleLogoutService", type = SingleLogoutServiceElement.class) + protected List singleLogoutService; + @XmlElement(name = "ManageNameIDService", type = ManageNameIDServiceElement.class) + protected List manageNameIDService; + @XmlElement(name = "NameIDFormat") + @XmlSchemaType(name = "anyURI") + protected List nameIDFormat; - /** - * Gets the value of the ArtifactResolutionService property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the ArtifactResolutionService property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getArtifactResolutionService().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.ArtifactResolutionServiceElement} - * {@link com.sun.identity.saml2.jaxb.metadata.IndexedEndpointType} - * - */ - java.util.List getArtifactResolutionService(); + public List getArtifactResolutionService() { + if (artifactResolutionService == null) { + artifactResolutionService = new ArrayList(); + } + return this.artifactResolutionService; + } - /** - * Gets the value of the NameIDFormat property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the NameIDFormat property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getNameIDFormat().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link java.lang.String} - * - */ - java.util.List getNameIDFormat(); + public List getSingleLogoutService() { + if (singleLogoutService == null) { + singleLogoutService = new ArrayList(); + } + return this.singleLogoutService; + } - /** - * Gets the value of the SingleLogoutService property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the SingleLogoutService property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getSingleLogoutService().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.saml2.jaxb.metadata.EndpointType} - * {@link com.sun.identity.saml2.jaxb.metadata.SingleLogoutServiceElement} - * - */ - java.util.List getSingleLogoutService(); + public List getManageNameIDService() { + if (manageNameIDService == null) { + manageNameIDService = new ArrayList(); + } + return this.manageNameIDService; + } + public List getNameIDFormat() { + if (nameIDFormat == null) { + nameIDFormat = new ArrayList(); + } + return this.nameIDFormat; + } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SingleLogoutServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SingleLogoutServiceElement.java index 995de3f8b5..6624892f8c 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SingleLogoutServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SingleLogoutServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for SingleLogoutService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 258) - *

    - *

    - * <element name="SingleLogoutService" type="{urn:oasis:names:tc:SAML:2.0:metadata}EndpointType"/>
    - * 
    - * - */ -public interface SingleLogoutServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x SingleLogoutServiceElement. */ +public class SingleLogoutServiceElement extends EndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SingleSignOnServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SingleSignOnServiceElement.java index a398ea866f..150c29c420 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SingleSignOnServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/SingleSignOnServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for SingleSignOnService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 277) - *

    - *

    - * <element name="SingleSignOnService" type="{urn:oasis:names:tc:SAML:2.0:metadata}EndpointType"/>
    - * 
    - * - */ -public interface SingleSignOnServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x SingleSignOnServiceElement. */ +public class SingleSignOnServiceElement extends EndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLAuthzDecisionQueryDescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLAuthzDecisionQueryDescriptorElement.java index a46c6f7eca..d8ce797ff9 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLAuthzDecisionQueryDescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLAuthzDecisionQueryDescriptorElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for XACMLAuthzDecisionQueryDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 409) - *

    - *

    - * <element name="XACMLAuthzDecisionQueryDescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}XACMLAuthzDecisionQueryDescriptorType"/>
    - * 
    - * - */ -public interface XACMLAuthzDecisionQueryDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.XACMLAuthzDecisionQueryDescriptorType -{ - - -} +/** Compatibility shim for JAXB 1.x XACMLAuthzDecisionQueryDescriptorElement. */ +public class XACMLAuthzDecisionQueryDescriptorElement extends XACMLAuthzDecisionQueryDescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLAuthzServiceElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLAuthzServiceElement.java index 9a14efb24d..a3a343d1c6 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLAuthzServiceElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLAuthzServiceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for XACMLAuthzService element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 355) - *

    - *

    - * <element name="XACMLAuthzService" type="{urn:oasis:names:tc:SAML:2.0:metadata}EndpointType"/>
    - * 
    - * - */ -public interface XACMLAuthzServiceElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.EndpointType -{ - - -} +/** Compatibility shim for JAXB 1.x XACMLAuthzServiceElement. */ +public class XACMLAuthzServiceElement extends EndpointType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLPDPDescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLPDPDescriptorElement.java index 7e4623a8a1..7ea5526f30 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLPDPDescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadata/XACMLPDPDescriptorElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadata; - -/** - * Java content class for XACMLPDPDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/saml-schema-metadata-2.0.xsd line 345) - *

    - *

    - * <element name="XACMLPDPDescriptor" type="{urn:oasis:names:tc:SAML:2.0:metadata}XACMLPDPDescriptorType"/>
    - * 
    - * - */ -public interface XACMLPDPDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadata.XACMLPDPDescriptorType -{ - - -} +/** Compatibility shim for JAXB 1.x XACMLPDPDescriptorElement. */ +public class XACMLPDPDescriptorElement extends XACMLPDPDescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadataattr/EntityAttributesElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadataattr/EntityAttributesElement.java index 71c0e2b05a..c0c7766c41 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadataattr/EntityAttributesElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadataattr/EntityAttributesElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadataattr; - -/** - * Java content class for EntityAttributes element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/sstc-metadata-attr.xsd line 55) - *

    - *

    - * <element name="EntityAttributes" type="{urn:oasis:names:tc:SAML:metadata:attribute}EntityAttributesType"/>
    - * 
    - * - */ -public interface EntityAttributesElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadataattr.EntityAttributesType -{ - - -} +/** Compatibility shim for JAXB 1.x EntityAttributesElement. */ +public class EntityAttributesElement extends EntityAttributesType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadataextquery/AttributeQueryDescriptorElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadataextquery/AttributeQueryDescriptorElement.java index a69e978add..596acc8fbc 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadataextquery/AttributeQueryDescriptorElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/metadataextquery/AttributeQueryDescriptorElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.metadataextquery; - -/** - * Java content class for AttributeQueryDescriptor element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/sstc-saml-metadata-ext-query.xsd line 72) - *

    - *

    - * <element name="AttributeQueryDescriptor" type="{urn:oasis:names:tc:SAML:metadata:ext:query}AttributeQueryDescriptorType"/>
    - * 
    - * - */ -public interface AttributeQueryDescriptorElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.metadataextquery.AttributeQueryDescriptorType -{ - - -} +/** Compatibility shim for JAXB 1.x AttributeQueryDescriptorElement. */ +public class AttributeQueryDescriptorElement extends AttributeQueryDescriptorType {} diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/xmlsig/KeyInfoType.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/xmlsig/KeyInfoType.java index 10ad12fc4d..f5fac23008 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/xmlsig/KeyInfoType.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/xmlsig/KeyInfoType.java @@ -1,89 +1,69 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.xmlsig; +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlElements; +import jakarta.xml.bind.annotation.XmlID; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; +import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** - * Java content class for KeyInfoType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/xmldsig-core-schema.xsd line 147) - *

    - *

    - * <complexType name="KeyInfoType">
    - *   <complexContent>
    - *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    - *       <choice maxOccurs="unbounded">
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyName"/>
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/>
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/>
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/>
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/>
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/>
    - *         <element ref="{http://www.w3.org/2000/09/xmldsig#}MgmtData"/>
    - *         <any/>
    - *       </choice>
    - *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
    - *     </restriction>
    - *   </complexContent>
    - * </complexType>
    - * 
    - * + * Hand-maintained replacement for the XJC-generated KeyInfoType. + * + *

    The XJC-generated version uses {@code @XmlElementRefs} / {@code @XmlMixed} + * for the {@code content} field. In JAXB 4.x this causes + * {@code JAXBElement} wrappers to appear in the list. + * {@code KeyUtil.getCert()} iterates the list and checks + * {@code if (obj instanceof X509DataElement)}, which always fails against a + * JAXBElement wrapper, so no certificate is ever extracted and the signing + * certificate check throws "No X509DataElement". + * + *

    Fix: replace {@code @XmlElementRefs} with {@code @XmlElements} and map the + * {@code X509Data} entry to {@code type = X509DataElement.class}. JAXB 4.x + * then places {@code X509DataElement} instances directly in the list. + * {@code @XmlMixed} and {@code @XmlAnyElement} are intentionally omitted — + * they are incompatible with {@code @XmlElements} in JAXB 4.x and cause an + * {@code IllegalAnnotationsException} that nullifies the entire JAXBContext. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public interface KeyInfoType { - +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", + propOrder = { "content" }) +public class KeyInfoType { - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getId(); + @XmlElements({ + @XmlElement(name = "KeyName", namespace = "http://www.w3.org/2000/09/xmldsig#"), + @XmlElement(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = KeyValueType.class), + @XmlElement(name = "RetrievalMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", type = RetrievalMethodType.class), + @XmlElement(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", type = X509DataElement.class), + @XmlElement(name = "PGPData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = PGPDataType.class), + @XmlElement(name = "SPKIData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = SPKIDataType.class), + @XmlElement(name = "MgmtData", namespace = "http://www.w3.org/2000/09/xmldsig#") + }) + protected List content; - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setId(java.lang.String value); + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; - /** - * Gets the value of the Content property. - * - *

    - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the Content property. - * - *

    - * For example, to add a new item, do as follows: - *

    -     *    getContent().add(newItem);
    -     * 
    - * - * - *

    - * Objects of the following type(s) are allowed in the list - * {@link java.lang.Object} - * {@link com.sun.identity.saml2.jaxb.xmlsig.X509DataElement} - * {@link com.sun.identity.saml2.jaxb.xmlsig.KeyValueElement} - * {@link com.sun.identity.saml2.jaxb.xmlsig.RetrievalMethodElement} - * {@link com.sun.identity.saml2.jaxb.xmlsig.KeyNameElement} - * {@link java.lang.String} - * {@link com.sun.identity.saml2.jaxb.xmlsig.SPKIDataElement} - * {@link com.sun.identity.saml2.jaxb.xmlsig.PGPDataElement} - * {@link com.sun.identity.saml2.jaxb.xmlsig.MgmtDataElement} - * - */ - java.util.List getContent(); + public List getContent() { + if (content == null) { + content = new ArrayList(); + } + return this.content; + } + public String getId() { return id; } + public void setId(String value) { this.id = value; } } diff --git a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/xmlsig/X509DataElement.java b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/xmlsig/X509DataElement.java index 0cafa383d7..d60e5f3984 100644 --- a/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/xmlsig/X509DataElement.java +++ b/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/xmlsig/X509DataElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:07 AM PDT -// - - package com.sun.identity.saml2.jaxb.xmlsig; - -/** - * Java content class for X509Data element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/saml2/xmldsig-core-schema.xsd line 185) - *

    - *

    - * <element name="X509Data" type="{http://www.w3.org/2000/09/xmldsig#}X509DataType"/>
    - * 
    - * - */ -public interface X509DataElement - extends javax.xml.bind.Element, com.sun.identity.saml2.jaxb.xmlsig.X509DataType -{ - - -} +public class X509DataElement extends X509DataType {} diff --git a/openam-schema/openam-saml2-schema/src/main/resources/com/sun/identity/saml2/jaxb/entityconfig/jaxb.index b/openam-schema/openam-saml2-schema/src/main/resources/com/sun/identity/saml2/jaxb/entityconfig/jaxb.index new file mode 100644 index 0000000000..b513f06534 --- /dev/null +++ b/openam-schema/openam-saml2-schema/src/main/resources/com/sun/identity/saml2/jaxb/entityconfig/jaxb.index @@ -0,0 +1,17 @@ +# JAXB 4.x class index for com.sun.identity.saml2.jaxb.entityconfig +# Lists the root element class and all concrete BaseConfigType subclasses so +# JAXB 4.x registers the full type hierarchy when building its context from +# this package. Without this, JAXB 4.x may attempt to instantiate the abstract +# BaseConfigType directly (InstantiationException) or fail to map XML element +# names to the correct concrete types. +EntityConfigElement +EntityConfigType +SPSSOConfigElement +IDPSSOConfigElement +AffiliationConfigElement +AttributeAuthorityConfigElement +AttributeQueryConfigElement +AuthnAuthorityConfigElement +PDPConfigElement +XACMLAuthzDecisionQueryConfigElement +XACMLPDPConfigElement diff --git a/openam-schema/openam-saml2-schema/src/main/resources/com/sun/identity/saml2/jaxb/metadata/jaxb.index b/openam-schema/openam-saml2-schema/src/main/resources/com/sun/identity/saml2/jaxb/metadata/jaxb.index new file mode 100644 index 0000000000..12ff4987b8 --- /dev/null +++ b/openam-schema/openam-saml2-schema/src/main/resources/com/sun/identity/saml2/jaxb/metadata/jaxb.index @@ -0,0 +1,7 @@ +# JAXB 4.x class index for com.sun.identity.saml2.jaxb.metadata +# Ensures EntityDescriptorElement and EntitiesDescriptorElement are registered +# as root elements so that FedletConfigurationImpl and SAML2MetaManager can +# use instanceof checks against the concrete element classes successfully. +EntityDescriptorElement +EntitiesDescriptorElement +EntityDescriptorType diff --git a/openam-schema/openam-saml2-schema/src/main/xjb/saml2.xjb b/openam-schema/openam-saml2-schema/src/main/xjb/saml2.xjb index 6c871d3287..04754e8a86 100644 --- a/openam-schema/openam-saml2-schema/src/main/xjb/saml2.xjb +++ b/openam-schema/openam-saml2-schema/src/main/xjb/saml2.xjb @@ -30,8 +30,8 @@ Portions Copyrighted 2010 ForgeRock AS --> - diff --git a/openam-schema/openam-saml2-schema/src/main/xsd/schema.xsd b/openam-schema/openam-saml2-schema/src/main/xsd/schema.xsd index 6702c7d90f..db956f8d09 100644 --- a/openam-schema/openam-saml2-schema/src/main/xsd/schema.xsd +++ b/openam-schema/openam-saml2-schema/src/main/xsd/schema.xsd @@ -1,6 +1,6 @@ +xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb" +jaxb:version="3.0"> diff --git a/openam-schema/openam-wsfederation-schema/pom.xml b/openam-schema/openam-wsfederation-schema/pom.xml index 75f346a9b4..ef3aea1859 100644 --- a/openam-schema/openam-wsfederation-schema/pom.xml +++ b/openam-schema/openam-wsfederation-schema/pom.xml @@ -33,7 +33,6 @@ - + true + src/main/xsd/catalog.xml + + + + catalog\.xml + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + remove-xjc-sources-shadowed-by-hand-written + process-sources + run + + + + + + + + + + + + + + + + @@ -59,15 +90,15 @@ org.openidentityplatform.openam openam-shared - - - org.glassfish.metro - wsit-impl - - - com.sun.xml.bind - jaxb1-impl - + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.2 + + + org.glassfish.jaxb + jaxb-runtime + 4.0.5 + - diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/AttributeElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/AttributeElement.java index 5d0fe914ac..a902f8261e 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/AttributeElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/AttributeElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.entityconfig; - -/** - * Java content class for Attribute element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/entity-config-schema.xsd line 65) - *

    - *

    - * <element name="Attribute" type="{urn:sun:fm:wsfederation:1.0:federationconfig}AttributeType"/>
    - * 
    - * - */ -public interface AttributeElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.entityconfig.AttributeType -{ - - -} +/** Compatibility shim for JAXB 1.x AttributeElement. */ +public class AttributeElement extends AttributeType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/FederationConfigElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/FederationConfigElement.java index 0caf20728f..fe2d5d7d95 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/FederationConfigElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/FederationConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.entityconfig; - -/** - * Java content class for FederationConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/entity-config-schema.xsd line 41) - *

    - *

    - * <element name="FederationConfig" type="{urn:sun:fm:wsfederation:1.0:federationconfig}FederationConfigType"/>
    - * 
    - * - */ -public interface FederationConfigElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.entityconfig.FederationConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x FederationConfigElement. */ +public class FederationConfigElement extends FederationConfigType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/IDPSSOConfigElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/IDPSSOConfigElement.java index 9b8b764669..f8a9123b89 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/IDPSSOConfigElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/IDPSSOConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.entityconfig; - -/** - * Java content class for IDPSSOConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/entity-config-schema.xsd line 57) - *

    - *

    - * <element name="IDPSSOConfig" type="{urn:sun:fm:wsfederation:1.0:federationconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface IDPSSOConfigElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x IDPSSOConfigElement. */ +public class IDPSSOConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/ObjectFactory.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/ObjectFactory.java index 039c0d3112..67c48f21d7 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/ObjectFactory.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/ObjectFactory.java @@ -1,221 +1,71 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.entityconfig; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.sun.identity.wsfederation.jaxb.entityconfig package. - *

    An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * + * Hand-maintained replacement for the XJC-generated ObjectFactory for the + * {@code com.sun.identity.wsfederation.jaxb.entityconfig} package. + * + *

    Adds the legacy no-arg {@code create*Element()} factory methods that JAXB + * 1.x XJC generated but JAXB 4.x XJC no longer generates. Callers such as + * {@code WSFedPropertiesModelImpl} use these factory methods. + * + *

    This file shadows the XJC output; the XJC-generated copy is deleted from + * {@code target/generated-sources/jaxb/} during the {@code process-sources} + * phase by the {@code maven-antrun-plugin} execution in {@code pom.xml}. */ -public class ObjectFactory - extends com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(16, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.wsfederation.jaxb.entityconfig.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.wsfederation.jaxb.entityconfig.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.entityconfig.AttributeType.class), "com.sun.identity.wsfederation.jaxb.entityconfig.impl.AttributeTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.entityconfig.AttributeElement.class), "com.sun.identity.wsfederation.jaxb.entityconfig.impl.AttributeElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.entityconfig.FederationConfigType.class), "com.sun.identity.wsfederation.jaxb.entityconfig.impl.FederationConfigTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.entityconfig.SPSSOConfigElement.class), "com.sun.identity.wsfederation.jaxb.entityconfig.impl.SPSSOConfigElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.entityconfig.IDPSSOConfigElement.class), "com.sun.identity.wsfederation.jaxb.entityconfig.impl.IDPSSOConfigElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.entityconfig.FederationConfigElement.class), "com.sun.identity.wsfederation.jaxb.entityconfig.impl.FederationConfigElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.entityconfig.ValueElement.class), "com.sun.identity.wsfederation.jaxb.entityconfig.impl.ValueElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.entityconfig.BaseConfigType.class), "com.sun.identity.wsfederation.jaxb.entityconfig.impl.BaseConfigTypeImpl"); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:wsfederation:1.0:federationconfig", "SPSSOConfig"), (com.sun.identity.wsfederation.jaxb.entityconfig.SPSSOConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:wsfederation:1.0:federationconfig", "IDPSSOConfig"), (com.sun.identity.wsfederation.jaxb.entityconfig.IDPSSOConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:wsfederation:1.0:federationconfig", "Attribute"), (com.sun.identity.wsfederation.jaxb.entityconfig.AttributeElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:wsfederation:1.0:federationconfig", "FederationConfig"), (com.sun.identity.wsfederation.jaxb.entityconfig.FederationConfigElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("urn:sun:fm:wsfederation:1.0:federationconfig", "Value"), (com.sun.identity.wsfederation.jaxb.entityconfig.ValueElement.class)); - } - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.wsfederation.jaxb.entityconfig - * - */ - public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); +@XmlRegistry +public class ObjectFactory { + + private static final QName _FederationConfig_QNAME = + new QName("urn:sun:fm:wsfederation:1.0:federationconfig", "FederationConfig"); + private static final QName _IDPSSOConfig_QNAME = + new QName("urn:sun:fm:wsfederation:1.0:federationconfig", "IDPSSOConfig"); + private static final QName _SPSSOConfig_QNAME = + new QName("urn:sun:fm:wsfederation:1.0:federationconfig", "SPSSOConfig"); + private static final QName _Attribute_QNAME = + new QName("urn:sun:fm:wsfederation:1.0:federationconfig", "Attribute"); + private static final QName _Value_QNAME = + new QName("urn:sun:fm:wsfederation:1.0:federationconfig", "Value"); + + public ObjectFactory() {} + + public FederationConfigType createFederationConfigType() { return new FederationConfigType(); } + public AttributeType createAttributeType() { return new AttributeType(); } + + // No-arg convenience factory methods for legacy callers (JAXB 1.x API compatibility) + public FederationConfigElement createFederationConfigElement() { return new FederationConfigElement(); } + public IDPSSOConfigElement createIDPSSOConfigElement() { return new IDPSSOConfigElement(); } + public SPSSOConfigElement createSPSSOConfigElement() { return new SPSSOConfigElement(); } + + /** Returns an {@link AttributeElement} typed as {@link AttributeElement} for legacy compatibility. */ + public AttributeElement createAttributeElement() { return new AttributeElement(); } + + @XmlElementDecl(namespace = "urn:sun:fm:wsfederation:1.0:federationconfig", name = "FederationConfig") + public JAXBElement createFederationConfig(FederationConfigType value) { + return new JAXBElement<>(_FederationConfig_QNAME, FederationConfigType.class, null, value); } - /** - * Create an instance of AttributeType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.AttributeType createAttributeType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.AttributeTypeImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:wsfederation:1.0:federationconfig", name = "IDPSSOConfig") + public JAXBElement createIDPSSOConfig(BaseConfigType value) { + return new JAXBElement<>(_IDPSSOConfig_QNAME, BaseConfigType.class, null, value); } - /** - * Create an instance of AttributeElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.AttributeElement createAttributeElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.AttributeElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:wsfederation:1.0:federationconfig", name = "SPSSOConfig") + public JAXBElement createSPSSOConfig(BaseConfigType value) { + return new JAXBElement<>(_SPSSOConfig_QNAME, BaseConfigType.class, null, value); } - /** - * Create an instance of FederationConfigType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.FederationConfigType createFederationConfigType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.FederationConfigTypeImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:wsfederation:1.0:federationconfig", name = "Attribute") + public JAXBElement createAttribute(AttributeType value) { + return new JAXBElement<>(_Attribute_QNAME, AttributeType.class, null, value); } - /** - * Create an instance of SPSSOConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.SPSSOConfigElement createSPSSOConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.SPSSOConfigElementImpl(); + @XmlElementDecl(namespace = "urn:sun:fm:wsfederation:1.0:federationconfig", name = "Value") + public JAXBElement createValue(String value) { + return new JAXBElement<>(_Value_QNAME, String.class, null, value); } - - /** - * Create an instance of IDPSSOConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.IDPSSOConfigElement createIDPSSOConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.IDPSSOConfigElementImpl(); - } - - /** - * Create an instance of FederationConfigElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.FederationConfigElement createFederationConfigElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.FederationConfigElementImpl(); - } - - /** - * Create an instance of ValueElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.ValueElement createValueElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.ValueElementImpl(); - } - - /** - * Create an instance of ValueElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.ValueElement createValueElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.ValueElementImpl(value); - } - - /** - * Create an instance of BaseConfigType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.entityconfig.BaseConfigType createBaseConfigType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.entityconfig.impl.BaseConfigTypeImpl(); - } - } diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/SPSSOConfigElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/SPSSOConfigElement.java index 5d39af2e8f..90961b5f0e 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/SPSSOConfigElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/SPSSOConfigElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.entityconfig; - -/** - * Java content class for SPSSOConfig element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/entity-config-schema.xsd line 58) - *

    - *

    - * <element name="SPSSOConfig" type="{urn:sun:fm:wsfederation:1.0:federationconfig}BaseConfigType"/>
    - * 
    - * - */ -public interface SPSSOConfigElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.entityconfig.BaseConfigType -{ - - -} +/** Compatibility shim for JAXB 1.x SPSSOConfigElement. */ +public class SPSSOConfigElement extends BaseConfigType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsaddr/EndpointReferenceElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsaddr/EndpointReferenceElement.java index 9004026fe0..4f3a1e73e2 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsaddr/EndpointReferenceElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsaddr/EndpointReferenceElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsaddr; - -/** - * Java content class for EndpointReference element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-addr.xsd line 26) - *

    - *

    - * <element name="EndpointReference" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/>
    - * 
    - * - */ -public interface EndpointReferenceElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceType -{ - - -} +/** Compatibility shim for JAXB 1.x EndpointReferenceElement. */ +public class EndpointReferenceElement extends EndpointReferenceType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsaddr/ObjectFactory.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsaddr/ObjectFactory.java index 7e875eccb9..ca20bec841 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsaddr/ObjectFactory.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsaddr/ObjectFactory.java @@ -1,13 +1,11 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - package com.sun.identity.wsfederation.jaxb.wsaddr; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; + /** * This object contains factory methods for each @@ -23,378 +21,279 @@ * provided in this class. * */ -public class ObjectFactory - extends com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(31, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.wsfederation.jaxb.wsaddr.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.wsfederation.jaxb.wsaddr.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ProblemActionType.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ProblemActionTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.MessageIDElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.MessageIDElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ReplyToElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ReplyToElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.MetadataType.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.MetadataTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.RelatesToElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.RelatesToElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.MetadataElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.MetadataElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ReferenceParametersType.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ReferenceParametersTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.FromElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.FromElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ReferenceParametersElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ReferenceParametersElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.RetryAfterElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.RetryAfterElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ProblemIRIElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ProblemIRIElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceType.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.EndpointReferenceTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.AttributedQNameType.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.AttributedQNameTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.RelatesToType.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.RelatesToTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.AttributedURIType.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.AttributedURITypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ProblemActionElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ProblemActionElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.FaultToElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.FaultToElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ToElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ToElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.AttributedUnsignedLongType.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.AttributedUnsignedLongTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ProblemHeaderQNameElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ProblemHeaderQNameElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.EndpointReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsaddr.ActionElement.class), "com.sun.identity.wsfederation.jaxb.wsaddr.impl.ActionElementImpl"); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "RetryAfter"), (com.sun.identity.wsfederation.jaxb.wsaddr.RetryAfterElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "ProblemIRI"), (com.sun.identity.wsfederation.jaxb.wsaddr.ProblemIRIElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "EndpointReference"), (com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "ProblemHeaderQName"), (com.sun.identity.wsfederation.jaxb.wsaddr.ProblemHeaderQNameElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "To"), (com.sun.identity.wsfederation.jaxb.wsaddr.ToElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "ProblemAction"), (com.sun.identity.wsfederation.jaxb.wsaddr.ProblemActionElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "RelatesTo"), (com.sun.identity.wsfederation.jaxb.wsaddr.RelatesToElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "ReferenceParameters"), (com.sun.identity.wsfederation.jaxb.wsaddr.ReferenceParametersElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "From"), (com.sun.identity.wsfederation.jaxb.wsaddr.FromElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "ReplyTo"), (com.sun.identity.wsfederation.jaxb.wsaddr.ReplyToElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "Metadata"), (com.sun.identity.wsfederation.jaxb.wsaddr.MetadataElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "Action"), (com.sun.identity.wsfederation.jaxb.wsaddr.ActionElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "MessageID"), (com.sun.identity.wsfederation.jaxb.wsaddr.MessageIDElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2005/08/addressing", "FaultTo"), (com.sun.identity.wsfederation.jaxb.wsaddr.FaultToElement.class)); - } +@XmlRegistry +public class ObjectFactory { + + private final static QName _EndpointReference_QNAME = new QName("http://www.w3.org/2005/08/addressing", "EndpointReference"); + private final static QName _ReferenceParameters_QNAME = new QName("http://www.w3.org/2005/08/addressing", "ReferenceParameters"); + private final static QName _Metadata_QNAME = new QName("http://www.w3.org/2005/08/addressing", "Metadata"); + private final static QName _MessageID_QNAME = new QName("http://www.w3.org/2005/08/addressing", "MessageID"); + private final static QName _RelatesTo_QNAME = new QName("http://www.w3.org/2005/08/addressing", "RelatesTo"); + private final static QName _ReplyTo_QNAME = new QName("http://www.w3.org/2005/08/addressing", "ReplyTo"); + private final static QName _From_QNAME = new QName("http://www.w3.org/2005/08/addressing", "From"); + private final static QName _FaultTo_QNAME = new QName("http://www.w3.org/2005/08/addressing", "FaultTo"); + private final static QName _To_QNAME = new QName("http://www.w3.org/2005/08/addressing", "To"); + private final static QName _Action_QNAME = new QName("http://www.w3.org/2005/08/addressing", "Action"); + private final static QName _RetryAfter_QNAME = new QName("http://www.w3.org/2005/08/addressing", "RetryAfter"); + private final static QName _ProblemHeaderQName_QNAME = new QName("http://www.w3.org/2005/08/addressing", "ProblemHeaderQName"); + private final static QName _ProblemIRI_QNAME = new QName("http://www.w3.org/2005/08/addressing", "ProblemIRI"); + private final static QName _ProblemAction_QNAME = new QName("http://www.w3.org/2005/08/addressing", "ProblemAction"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.wsfederation.jaxb.wsaddr * */ public ObjectFactory() { - super(grammarInfo); } /** - * Create an instance of the specified Java content interface. + * Create an instance of {@link EndpointReferenceType } * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); + public EndpointReferenceType createEndpointReferenceType() { + return new EndpointReferenceType(); } /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. + * Create an instance of {@link ReferenceParametersType } * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); + public ReferenceParametersType createReferenceParametersType() { + return new ReferenceParametersType(); } /** - * Create an instance of ProblemActionType + * Create an instance of {@link MetadataType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ProblemActionType createProblemActionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ProblemActionTypeImpl(); + public MetadataType createMetadataType() { + return new MetadataType(); } /** - * Create an instance of MessageIDElement + * Create an instance of {@link AttributedURIType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsaddr.MessageIDElement createMessageIDElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.MessageIDElementImpl(); + public AttributedURIType createAttributedURIType() { + return new AttributedURIType(); } /** - * Create an instance of ReplyToElement + * Create an instance of {@link RelatesToType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ReplyToElement createReplyToElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ReplyToElementImpl(); + public RelatesToType createRelatesToType() { + return new RelatesToType(); } /** - * Create an instance of MetadataType + * Create an instance of {@link AttributedUnsignedLongType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsaddr.MetadataType createMetadataType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.MetadataTypeImpl(); + public AttributedUnsignedLongType createAttributedUnsignedLongType() { + return new AttributedUnsignedLongType(); } /** - * Create an instance of RelatesToElement + * Create an instance of {@link AttributedQNameType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsaddr.RelatesToElement createRelatesToElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.RelatesToElementImpl(); + public AttributedQNameType createAttributedQNameType() { + return new AttributedQNameType(); } /** - * Create an instance of MetadataElement + * Create an instance of {@link ProblemActionType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsaddr.MetadataElement createMetadataElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.MetadataElementImpl(); + public ProblemActionType createProblemActionType() { + return new ProblemActionType(); } /** - * Create an instance of ReferenceParametersType + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ReferenceParametersType createReferenceParametersType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ReferenceParametersTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "EndpointReference") + public JAXBElement createEndpointReference(EndpointReferenceType value) { + return new JAXBElement(_EndpointReference_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of FromElement + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceParametersType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ReferenceParametersType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.FromElement createFromElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.FromElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "ReferenceParameters") + public JAXBElement createReferenceParameters(ReferenceParametersType value) { + return new JAXBElement(_ReferenceParameters_QNAME, ReferenceParametersType.class, null, value); } /** - * Create an instance of ReferenceParametersElement + * Create an instance of {@link JAXBElement }{@code <}{@link MetadataType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link MetadataType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ReferenceParametersElement createReferenceParametersElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ReferenceParametersElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "Metadata") + public JAXBElement createMetadata(MetadataType value) { + return new JAXBElement(_Metadata_QNAME, MetadataType.class, null, value); } /** - * Create an instance of RetryAfterElement + * Create an instance of {@link JAXBElement }{@code <}{@link AttributedURIType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AttributedURIType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.RetryAfterElement createRetryAfterElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.RetryAfterElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "MessageID") + public JAXBElement createMessageID(AttributedURIType value) { + return new JAXBElement(_MessageID_QNAME, AttributedURIType.class, null, value); } /** - * Create an instance of ProblemIRIElement + * Create an instance of {@link JAXBElement }{@code <}{@link RelatesToType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link RelatesToType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ProblemIRIElement createProblemIRIElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ProblemIRIElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "RelatesTo") + public JAXBElement createRelatesTo(RelatesToType value) { + return new JAXBElement(_RelatesTo_QNAME, RelatesToType.class, null, value); } /** - * Create an instance of EndpointReferenceType + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceType createEndpointReferenceType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.EndpointReferenceTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "ReplyTo") + public JAXBElement createReplyTo(EndpointReferenceType value) { + return new JAXBElement(_ReplyTo_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of AttributedQNameType + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.AttributedQNameType createAttributedQNameType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.AttributedQNameTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "From") + public JAXBElement createFrom(EndpointReferenceType value) { + return new JAXBElement(_From_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of RelatesToType + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.RelatesToType createRelatesToType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.RelatesToTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "FaultTo") + public JAXBElement createFaultTo(EndpointReferenceType value) { + return new JAXBElement(_FaultTo_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of AttributedURIType + * Create an instance of {@link JAXBElement }{@code <}{@link AttributedURIType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AttributedURIType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.AttributedURIType createAttributedURIType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.AttributedURITypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "To") + public JAXBElement createTo(AttributedURIType value) { + return new JAXBElement(_To_QNAME, AttributedURIType.class, null, value); } /** - * Create an instance of ProblemActionElement + * Create an instance of {@link JAXBElement }{@code <}{@link AttributedURIType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AttributedURIType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ProblemActionElement createProblemActionElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ProblemActionElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "Action") + public JAXBElement createAction(AttributedURIType value) { + return new JAXBElement(_Action_QNAME, AttributedURIType.class, null, value); } /** - * Create an instance of FaultToElement + * Create an instance of {@link JAXBElement }{@code <}{@link AttributedUnsignedLongType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AttributedUnsignedLongType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.FaultToElement createFaultToElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.FaultToElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "RetryAfter") + public JAXBElement createRetryAfter(AttributedUnsignedLongType value) { + return new JAXBElement(_RetryAfter_QNAME, AttributedUnsignedLongType.class, null, value); } /** - * Create an instance of ToElement + * Create an instance of {@link JAXBElement }{@code <}{@link AttributedQNameType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AttributedQNameType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ToElement createToElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ToElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "ProblemHeaderQName") + public JAXBElement createProblemHeaderQName(AttributedQNameType value) { + return new JAXBElement(_ProblemHeaderQName_QNAME, AttributedQNameType.class, null, value); } /** - * Create an instance of AttributedUnsignedLongType + * Create an instance of {@link JAXBElement }{@code <}{@link AttributedURIType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AttributedURIType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.AttributedUnsignedLongType createAttributedUnsignedLongType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.AttributedUnsignedLongTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "ProblemIRI") + public JAXBElement createProblemIRI(AttributedURIType value) { + return new JAXBElement(_ProblemIRI_QNAME, AttributedURIType.class, null, value); } /** - * Create an instance of ProblemHeaderQNameElement + * Create an instance of {@link JAXBElement }{@code <}{@link ProblemActionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ProblemActionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ProblemHeaderQNameElement createProblemHeaderQNameElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ProblemHeaderQNameElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2005/08/addressing", name = "ProblemAction") + public JAXBElement createProblemAction(ProblemActionType value) { + return new JAXBElement(_ProblemAction_QNAME, ProblemActionType.class, null, value); } - /** - * Create an instance of EndpointReferenceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceElement createEndpointReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.EndpointReferenceElementImpl(); - } + // ---- No-arg element factory methods for JAXB 1.x compatibility ---- - /** - * Create an instance of ActionElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsaddr.ActionElement createActionElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsaddr.impl.ActionElementImpl(); - } + public EndpointReferenceElement createEndpointReferenceElement() { return new EndpointReferenceElement(); } } diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/FederationElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/FederationElement.java index 10c7f43d28..e08543c21a 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/FederationElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/FederationElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsfederation; - -/** - * Java content class for Federation element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-federation.xsd line 84) - *

    - *

    - * <element name="Federation" type="{http://schemas.xmlsoap.org/ws/2006/12/federation}FederationType"/>
    - * 
    - * - */ -public interface FederationElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsfederation.FederationType -{ - - -} +/** Compatibility shim for JAXB 1.x FederationElement. */ +public class FederationElement extends FederationType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/FederationMetadataElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/FederationMetadataElement.java index 59ec9bb638..dbbda699c7 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/FederationMetadataElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/FederationMetadataElement.java @@ -1,26 +1,15 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsfederation; - /** - * Java content class for FederationMetadata element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-federation.xsd line 69) - *

    - *

    - * <element name="FederationMetadata" type="{http://schemas.xmlsoap.org/ws/2006/12/federation}FederationMetadataType"/>
    - * 
    - * + * Compatibility shim for JAXB 1.x FederationMetadataElement. + * + *

    In JAXB 1.x XJC this was generated as a JAXB element class. + * JAXB 4.x XJC no longer generates such classes; the parent type + * {@link FederationMetadataType} is used directly. + * + *

    This shim extends {@code FederationMetadataType} and provides the old + * JAXB 1.x name so that {@code instanceof} checks in + * {@code ImportEntityModelImpl} compile and work correctly. */ -public interface FederationMetadataElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataType -{ - - +public class FederationMetadataElement extends FederationMetadataType { } diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/ObjectFactory.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/ObjectFactory.java index 9c1d5a16f6..493d843afd 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/ObjectFactory.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/ObjectFactory.java @@ -1,13 +1,14 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - package com.sun.identity.wsfederation.jaxb.wsfederation; +import javax.xml.namespace.QName; +import com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceType; +import com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType; +import com.sun.identity.wsfederation.jaxb.wsspolicy.TokenAssertionType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; + /** * This object contains factory methods for each @@ -23,1025 +24,804 @@ * provided in this class. * */ -public class ObjectFactory - extends com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(92, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.wsfederation.jaxb.wsfederation.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.wsfederation.jaxb.wsfederation.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RealmElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RealmElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.IssuerNamesOfferedType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.IssuerNamesOfferedTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequestProofTokenType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequestProofTokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ProofTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ProofTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.DisplayNameType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.DisplayNameTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.AssertionType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.AssertionTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.SignOutElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.SignOutElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.UriNamedClaimTypesOfferedType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.UriNamedClaimTypesOfferedTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.TokenTypesOfferedElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenTypesOfferedElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequireSharedCookiesElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequireSharedCookiesElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.SingleSignOutSubscriptionEndpointElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.SingleSignOutSubscriptionEndpointElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.SingleSignOutNotificationEndpointElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.SingleSignOutNotificationEndpointElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataHandlerElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationMetadataHandlerElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.TokenTypesOfferedType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenTypesOfferedTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.IssuerNamesOfferedElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.IssuerNamesOfferedElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.PseudonymTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.IssuesSpecificPolicyFaultElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.IssuesSpecificPolicyFaultElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.AttributeExtensibleURI.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.AttributeExtensibleURIImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FreshnessElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FreshnessElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RelativeToType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RelativeToTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.AdditionalContextProcessedElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.AdditionalContextProcessedElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.SecurityTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.SecurityTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.IssuerNameType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.IssuerNameTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FilterPseudonymsType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FilterPseudonymsTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.AutomaticPseudonymsElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.AutomaticPseudonymsElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.WebBindingElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.WebBindingElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.TokenKeyTransferKeyInfoElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenKeyTransferKeyInfoElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceDigestType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ReferenceDigestTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequireBearerTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequireBearerTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationMetadataTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.PsuedonymServiceEndpointElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.PsuedonymServiceEndpointElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ClientPseudonymElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ClientPseudonymElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.TokenIssuerNameElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenIssuerNameElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequireSignedTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequireSignedTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FederationIDElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationIDElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataHandlerType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationMetadataHandlerTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymBasisType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.PseudonymBasisTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.TokenType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ReferenceTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequiresGenericClaimDialectElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequiresGenericClaimDialectElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.AttributeExtensibleString.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.AttributeExtensibleStringImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.TokenSigningKeyInfoElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenSigningKeyInfoElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.Freshness.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FreshnessImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ClaimType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ClaimTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.SignOutType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.SignOutTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.SecurityTokenType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.SecurityTokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FilterPseudonymsElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FilterPseudonymsElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymBasisElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.PseudonymBasisElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.AttributeServiceEndpointElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.AttributeServiceEndpointElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.TokenKeyInfoType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenKeyInfoTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.DescriptionType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.DescriptionTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.TokenIssuerEndpointElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenIssuerEndpointElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.UriNamedClaimTypesOfferedElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.UriNamedClaimTypesOfferedElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequestPseudonymType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequestPseudonymTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FederationType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequestPseudonymElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequestPseudonymElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ClientPseudonymType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ClientPseudonymTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequireReferenceTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequireReferenceTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RequestProofTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequestProofTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.AuthenticationTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.AuthenticationTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationMetadataElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceToken11Element.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ReferenceToken11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceTokenType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ReferenceTokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.FederationElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.PseudonymElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.RelativeToElement.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.RelativeToElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.SignOutBasisType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.SignOutBasisTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsfederation.ProofTokenType.class), "com.sun.identity.wsfederation.jaxb.wsfederation.impl.ProofTokenTypeImpl"); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequestPseudonym"), (com.sun.identity.wsfederation.jaxb.wsfederation.RequestPseudonymElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "FederationMetadata"), (com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "ClientPseudonym"), (com.sun.identity.wsfederation.jaxb.wsfederation.ClientPseudonymElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenTypesOffered"), (com.sun.identity.wsfederation.jaxb.wsfederation.TokenTypesOfferedElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "ProofToken"), (com.sun.identity.wsfederation.jaxb.wsfederation.ProofTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "Federation"), (com.sun.identity.wsfederation.jaxb.wsfederation.FederationElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "SecurityToken"), (com.sun.identity.wsfederation.jaxb.wsfederation.SecurityTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequireBearerTokens"), (com.sun.identity.wsfederation.jaxb.wsfederation.RequireBearerTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "IssuesSpecificPolicyFault"), (com.sun.identity.wsfederation.jaxb.wsfederation.IssuesSpecificPolicyFaultElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "AutomaticPseudonyms"), (com.sun.identity.wsfederation.jaxb.wsfederation.AutomaticPseudonymsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "SignOut"), (com.sun.identity.wsfederation.jaxb.wsfederation.SignOutElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "PsuedonymServiceEndpoint"), (com.sun.identity.wsfederation.jaxb.wsfederation.PsuedonymServiceEndpointElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "AdditionalContextProcessed"), (com.sun.identity.wsfederation.jaxb.wsfederation.AdditionalContextProcessedElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RelativeTo"), (com.sun.identity.wsfederation.jaxb.wsfederation.RelativeToElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "Freshness"), (com.sun.identity.wsfederation.jaxb.wsfederation.FreshnessElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequireSignedTokens"), (com.sun.identity.wsfederation.jaxb.wsfederation.RequireSignedTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequireSharedCookies"), (com.sun.identity.wsfederation.jaxb.wsfederation.RequireSharedCookiesElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenIssuerName"), (com.sun.identity.wsfederation.jaxb.wsfederation.TokenIssuerNameElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "UriNamedClaimTypesOffered"), (com.sun.identity.wsfederation.jaxb.wsfederation.UriNamedClaimTypesOfferedElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "FederationID"), (com.sun.identity.wsfederation.jaxb.wsfederation.FederationIDElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "FilterPseudonyms"), (com.sun.identity.wsfederation.jaxb.wsfederation.FilterPseudonymsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "ReferenceToken"), (com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "AttributeServiceEndpoint"), (com.sun.identity.wsfederation.jaxb.wsfederation.AttributeServiceEndpointElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenIssuerEndpoint"), (com.sun.identity.wsfederation.jaxb.wsfederation.TokenIssuerEndpointElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "WebBinding"), (com.sun.identity.wsfederation.jaxb.wsfederation.WebBindingElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "ReferenceToken11"), (com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceToken11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenSigningKeyInfo"), (com.sun.identity.wsfederation.jaxb.wsfederation.TokenSigningKeyInfoElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequiresGenericClaimDialect"), (com.sun.identity.wsfederation.jaxb.wsfederation.RequiresGenericClaimDialectElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "PseudonymBasis"), (com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymBasisElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenKeyTransferKeyInfo"), (com.sun.identity.wsfederation.jaxb.wsfederation.TokenKeyTransferKeyInfoElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequireReferenceToken"), (com.sun.identity.wsfederation.jaxb.wsfederation.RequireReferenceTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "Realm"), (com.sun.identity.wsfederation.jaxb.wsfederation.RealmElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "IssuerNamesOffered"), (com.sun.identity.wsfederation.jaxb.wsfederation.IssuerNamesOfferedElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "SingleSignOutSubscriptionEndpoint"), (com.sun.identity.wsfederation.jaxb.wsfederation.SingleSignOutSubscriptionEndpointElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "SingleSignOutNotificationEndpoint"), (com.sun.identity.wsfederation.jaxb.wsfederation.SingleSignOutNotificationEndpointElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "AuthenticationToken"), (com.sun.identity.wsfederation.jaxb.wsfederation.AuthenticationTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "Pseudonym"), (com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "FederationMetadataHandler"), (com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataHandlerElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequestProofToken"), (com.sun.identity.wsfederation.jaxb.wsfederation.RequestProofTokenElement.class)); - } +@XmlRegistry +public class ObjectFactory { + + private final static QName _FederationMetadata_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "FederationMetadata"); + private final static QName _Federation_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "Federation"); + private final static QName _TokenSigningKeyInfo_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenSigningKeyInfo"); + private final static QName _TokenKeyTransferKeyInfo_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenKeyTransferKeyInfo"); + private final static QName _IssuerNamesOffered_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "IssuerNamesOffered"); + private final static QName _TokenIssuerName_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenIssuerName"); + private final static QName _TokenIssuerEndpoint_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenIssuerEndpoint"); + private final static QName _PsuedonymServiceEndpoint_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "PsuedonymServiceEndpoint"); + private final static QName _AttributeServiceEndpoint_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "AttributeServiceEndpoint"); + private final static QName _SingleSignOutSubscriptionEndpoint_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "SingleSignOutSubscriptionEndpoint"); + private final static QName _SingleSignOutNotificationEndpoint_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "SingleSignOutNotificationEndpoint"); + private final static QName _TokenTypesOffered_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "TokenTypesOffered"); + private final static QName _UriNamedClaimTypesOffered_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "UriNamedClaimTypesOffered"); + private final static QName _AutomaticPseudonyms_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "AutomaticPseudonyms"); + private final static QName _FederationMetadataHandler_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "FederationMetadataHandler"); + private final static QName _SignOut_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "SignOut"); + private final static QName _Realm_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "Realm"); + private final static QName _FilterPseudonyms_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "FilterPseudonyms"); + private final static QName _PseudonymBasis_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "PseudonymBasis"); + private final static QName _RelativeTo_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RelativeTo"); + private final static QName _Pseudonym_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "Pseudonym"); + private final static QName _SecurityToken_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "SecurityToken"); + private final static QName _ProofToken_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "ProofToken"); + private final static QName _RequestPseudonym_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequestPseudonym"); + private final static QName _ReferenceToken_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "ReferenceToken"); + private final static QName _FederationID_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "FederationID"); + private final static QName _RequestProofToken_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequestProofToken"); + private final static QName _ClientPseudonym_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "ClientPseudonym"); + private final static QName _Freshness_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "Freshness"); + private final static QName _RequireReferenceToken_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequireReferenceToken"); + private final static QName _ReferenceToken11_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "ReferenceToken11"); + private final static QName _WebBinding_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "WebBinding"); + private final static QName _AuthenticationToken_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "AuthenticationToken"); + private final static QName _RequireSignedTokens_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequireSignedTokens"); + private final static QName _RequireBearerTokens_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequireBearerTokens"); + private final static QName _RequireSharedCookies_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequireSharedCookies"); + private final static QName _RequiresGenericClaimDialect_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "RequiresGenericClaimDialect"); + private final static QName _IssuesSpecificPolicyFault_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "IssuesSpecificPolicyFault"); + private final static QName _AdditionalContextProcessed_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/12/federation", "AdditionalContextProcessed"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.wsfederation.jaxb.wsfederation * */ public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); } /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. + * Create an instance of {@link FederationMetadataType } * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); + public FederationMetadataType createFederationMetadataType() { + return new FederationMetadataType(); } /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. + * Create an instance of {@link FederationType } * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); + public FederationType createFederationType() { + return new FederationType(); } /** - * Create an instance of RealmElement + * Create an instance of {@link TokenKeyInfoType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RealmElement createRealmElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RealmElementImpl(); + public TokenKeyInfoType createTokenKeyInfoType() { + return new TokenKeyInfoType(); } /** - * Create an instance of RealmElement + * Create an instance of {@link IssuerNamesOfferedType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RealmElement createRealmElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RealmElementImpl(value); + public IssuerNamesOfferedType createIssuerNamesOfferedType() { + return new IssuerNamesOfferedType(); } /** - * Create an instance of IssuerNamesOfferedType + * Create an instance of {@link AttributeExtensibleURI } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.IssuerNamesOfferedType createIssuerNamesOfferedType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.IssuerNamesOfferedTypeImpl(); + public AttributeExtensibleURI createAttributeExtensibleURI() { + return new AttributeExtensibleURI(); } /** - * Create an instance of RequestProofTokenType + * Create an instance of {@link TokenTypesOfferedType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequestProofTokenType createRequestProofTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequestProofTokenTypeImpl(); + public TokenTypesOfferedType createTokenTypesOfferedType() { + return new TokenTypesOfferedType(); } /** - * Create an instance of ProofTokenElement + * Create an instance of {@link UriNamedClaimTypesOfferedType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ProofTokenElement createProofTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ProofTokenElementImpl(); + public UriNamedClaimTypesOfferedType createUriNamedClaimTypesOfferedType() { + return new UriNamedClaimTypesOfferedType(); } /** - * Create an instance of DisplayNameType + * Create an instance of {@link FederationMetadataHandlerType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.DisplayNameType createDisplayNameType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.DisplayNameTypeImpl(); + public FederationMetadataHandlerType createFederationMetadataHandlerType() { + return new FederationMetadataHandlerType(); } /** - * Create an instance of AssertionType + * Create an instance of {@link SignOutType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.AssertionType createAssertionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.AssertionTypeImpl(); + public SignOutType createSignOutType() { + return new SignOutType(); } /** - * Create an instance of SignOutElement + * Create an instance of {@link FilterPseudonymsType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.SignOutElement createSignOutElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.SignOutElementImpl(); + public FilterPseudonymsType createFilterPseudonymsType() { + return new FilterPseudonymsType(); } /** - * Create an instance of UriNamedClaimTypesOfferedType + * Create an instance of {@link PseudonymBasisType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.UriNamedClaimTypesOfferedType createUriNamedClaimTypesOfferedType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.UriNamedClaimTypesOfferedTypeImpl(); + public PseudonymBasisType createPseudonymBasisType() { + return new PseudonymBasisType(); } /** - * Create an instance of TokenTypesOfferedElement + * Create an instance of {@link RelativeToType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.TokenTypesOfferedElement createTokenTypesOfferedElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenTypesOfferedElementImpl(); + public RelativeToType createRelativeToType() { + return new RelativeToType(); } /** - * Create an instance of RequireSharedCookiesElement + * Create an instance of {@link PseudonymType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequireSharedCookiesElement createRequireSharedCookiesElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequireSharedCookiesElementImpl(); + public PseudonymType createPseudonymType() { + return new PseudonymType(); } /** - * Create an instance of SingleSignOutSubscriptionEndpointElement + * Create an instance of {@link SecurityTokenType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.SingleSignOutSubscriptionEndpointElement createSingleSignOutSubscriptionEndpointElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.SingleSignOutSubscriptionEndpointElementImpl(); + public SecurityTokenType createSecurityTokenType() { + return new SecurityTokenType(); } /** - * Create an instance of SingleSignOutNotificationEndpointElement + * Create an instance of {@link ProofTokenType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.SingleSignOutNotificationEndpointElement createSingleSignOutNotificationEndpointElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.SingleSignOutNotificationEndpointElementImpl(); + public ProofTokenType createProofTokenType() { + return new ProofTokenType(); } /** - * Create an instance of FederationMetadataHandlerElement + * Create an instance of {@link RequestPseudonymType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataHandlerElement createFederationMetadataHandlerElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationMetadataHandlerElementImpl(); + public RequestPseudonymType createRequestPseudonymType() { + return new RequestPseudonymType(); } /** - * Create an instance of TokenTypesOfferedType + * Create an instance of {@link ReferenceTokenType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.TokenTypesOfferedType createTokenTypesOfferedType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenTypesOfferedTypeImpl(); + public ReferenceTokenType createReferenceTokenType() { + return new ReferenceTokenType(); } /** - * Create an instance of IssuerNamesOfferedElement + * Create an instance of {@link RequestProofTokenType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.IssuerNamesOfferedElement createIssuerNamesOfferedElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.IssuerNamesOfferedElementImpl(); + public RequestProofTokenType createRequestProofTokenType() { + return new RequestProofTokenType(); } /** - * Create an instance of PseudonymType + * Create an instance of {@link ClientPseudonymType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymType createPseudonymType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.PseudonymTypeImpl(); + public ClientPseudonymType createClientPseudonymType() { + return new ClientPseudonymType(); } /** - * Create an instance of IssuesSpecificPolicyFaultElement + * Create an instance of {@link Freshness } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.IssuesSpecificPolicyFaultElement createIssuesSpecificPolicyFaultElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.IssuesSpecificPolicyFaultElementImpl(); + public Freshness createFreshness() { + return new Freshness(); } /** - * Create an instance of AttributeExtensibleURI + * Create an instance of {@link AssertionType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.AttributeExtensibleURI createAttributeExtensibleURI() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.AttributeExtensibleURIImpl(); + public AssertionType createAssertionType() { + return new AssertionType(); } /** - * Create an instance of FreshnessElement + * Create an instance of {@link IssuerNameType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FreshnessElement createFreshnessElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FreshnessElementImpl(); + public IssuerNameType createIssuerNameType() { + return new IssuerNameType(); } /** - * Create an instance of RelativeToType + * Create an instance of {@link TokenType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RelativeToType createRelativeToType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RelativeToTypeImpl(); + public TokenType createTokenType() { + return new TokenType(); } /** - * Create an instance of AdditionalContextProcessedElement + * Create an instance of {@link ClaimType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.AdditionalContextProcessedElement createAdditionalContextProcessedElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.AdditionalContextProcessedElementImpl(); + public ClaimType createClaimType() { + return new ClaimType(); } /** - * Create an instance of SecurityTokenElement + * Create an instance of {@link DisplayNameType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.SecurityTokenElement createSecurityTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.SecurityTokenElementImpl(); + public DisplayNameType createDisplayNameType() { + return new DisplayNameType(); } /** - * Create an instance of IssuerNameType + * Create an instance of {@link DescriptionType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.IssuerNameType createIssuerNameType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.IssuerNameTypeImpl(); + public DescriptionType createDescriptionType() { + return new DescriptionType(); } /** - * Create an instance of FilterPseudonymsType + * Create an instance of {@link SignOutBasisType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FilterPseudonymsType createFilterPseudonymsType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FilterPseudonymsTypeImpl(); + public SignOutBasisType createSignOutBasisType() { + return new SignOutBasisType(); } /** - * Create an instance of AutomaticPseudonymsElement + * Create an instance of {@link ReferenceDigestType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.AutomaticPseudonymsElement createAutomaticPseudonymsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.AutomaticPseudonymsElementImpl(); + public ReferenceDigestType createReferenceDigestType() { + return new ReferenceDigestType(); } /** - * Create an instance of AutomaticPseudonymsElement + * Create an instance of {@link AttributeExtensibleString } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsfederation.AutomaticPseudonymsElement createAutomaticPseudonymsElement(boolean value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.AutomaticPseudonymsElementImpl(value); + public AttributeExtensibleString createAttributeExtensibleString() { + return new AttributeExtensibleString(); } /** - * Create an instance of WebBindingElement + * Create an instance of {@link JAXBElement }{@code <}{@link FederationMetadataType }{@code >} * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsfederation.WebBindingElement createWebBindingElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.WebBindingElementImpl(); - } - - /** - * Create an instance of TokenKeyTransferKeyInfoElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsfederation.TokenKeyTransferKeyInfoElement createTokenKeyTransferKeyInfoElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenKeyTransferKeyInfoElementImpl(); - } - - /** - * Create an instance of ReferenceDigestType - * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link FederationMetadataType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceDigestType createReferenceDigestType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ReferenceDigestTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "FederationMetadata") + public JAXBElement createFederationMetadata(FederationMetadataType value) { + return new JAXBElement(_FederationMetadata_QNAME, FederationMetadataType.class, null, value); } /** - * Create an instance of RequireBearerTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link FederationType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link FederationType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequireBearerTokensElement createRequireBearerTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequireBearerTokensElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "Federation") + public JAXBElement createFederation(FederationType value) { + return new JAXBElement(_Federation_QNAME, FederationType.class, null, value); } /** - * Create an instance of FederationMetadataType + * Create an instance of {@link JAXBElement }{@code <}{@link TokenKeyInfoType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenKeyInfoType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataType createFederationMetadataType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationMetadataTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "TokenSigningKeyInfo") + public JAXBElement createTokenSigningKeyInfo(TokenKeyInfoType value) { + return new JAXBElement(_TokenSigningKeyInfo_QNAME, TokenKeyInfoType.class, null, value); } /** - * Create an instance of PsuedonymServiceEndpointElement + * Create an instance of {@link JAXBElement }{@code <}{@link TokenKeyInfoType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenKeyInfoType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.PsuedonymServiceEndpointElement createPsuedonymServiceEndpointElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.PsuedonymServiceEndpointElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "TokenKeyTransferKeyInfo") + public JAXBElement createTokenKeyTransferKeyInfo(TokenKeyInfoType value) { + return new JAXBElement(_TokenKeyTransferKeyInfo_QNAME, TokenKeyInfoType.class, null, value); } /** - * Create an instance of ClientPseudonymElement + * Create an instance of {@link JAXBElement }{@code <}{@link IssuerNamesOfferedType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link IssuerNamesOfferedType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ClientPseudonymElement createClientPseudonymElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ClientPseudonymElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "IssuerNamesOffered") + public JAXBElement createIssuerNamesOffered(IssuerNamesOfferedType value) { + return new JAXBElement(_IssuerNamesOffered_QNAME, IssuerNamesOfferedType.class, null, value); } /** - * Create an instance of TokenIssuerNameElement + * Create an instance of {@link JAXBElement }{@code <}{@link AttributeExtensibleURI }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AttributeExtensibleURI }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.TokenIssuerNameElement createTokenIssuerNameElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenIssuerNameElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "TokenIssuerName") + public JAXBElement createTokenIssuerName(AttributeExtensibleURI value) { + return new JAXBElement(_TokenIssuerName_QNAME, AttributeExtensibleURI.class, null, value); } /** - * Create an instance of RequireSignedTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequireSignedTokensElement createRequireSignedTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequireSignedTokensElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "TokenIssuerEndpoint") + public JAXBElement createTokenIssuerEndpoint(EndpointReferenceType value) { + return new JAXBElement(_TokenIssuerEndpoint_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of FederationIDElement + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FederationIDElement createFederationIDElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationIDElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "PsuedonymServiceEndpoint") + public JAXBElement createPsuedonymServiceEndpoint(EndpointReferenceType value) { + return new JAXBElement(_PsuedonymServiceEndpoint_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of FederationMetadataHandlerType + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataHandlerType createFederationMetadataHandlerType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationMetadataHandlerTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "AttributeServiceEndpoint") + public JAXBElement createAttributeServiceEndpoint(EndpointReferenceType value) { + return new JAXBElement(_AttributeServiceEndpoint_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of PseudonymBasisType + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymBasisType createPseudonymBasisType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.PseudonymBasisTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "SingleSignOutSubscriptionEndpoint") + public JAXBElement createSingleSignOutSubscriptionEndpoint(EndpointReferenceType value) { + return new JAXBElement(_SingleSignOutSubscriptionEndpoint_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of TokenType + * Create an instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EndpointReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.TokenType createTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "SingleSignOutNotificationEndpoint") + public JAXBElement createSingleSignOutNotificationEndpoint(EndpointReferenceType value) { + return new JAXBElement(_SingleSignOutNotificationEndpoint_QNAME, EndpointReferenceType.class, null, value); } /** - * Create an instance of ReferenceTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link TokenTypesOfferedType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenTypesOfferedType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceTokenElement createReferenceTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ReferenceTokenElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "TokenTypesOffered") + public JAXBElement createTokenTypesOffered(TokenTypesOfferedType value) { + return new JAXBElement(_TokenTypesOffered_QNAME, TokenTypesOfferedType.class, null, value); } /** - * Create an instance of RequiresGenericClaimDialectElement + * Create an instance of {@link JAXBElement }{@code <}{@link UriNamedClaimTypesOfferedType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link UriNamedClaimTypesOfferedType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequiresGenericClaimDialectElement createRequiresGenericClaimDialectElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequiresGenericClaimDialectElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "UriNamedClaimTypesOffered") + public JAXBElement createUriNamedClaimTypesOffered(UriNamedClaimTypesOfferedType value) { + return new JAXBElement(_UriNamedClaimTypesOffered_QNAME, UriNamedClaimTypesOfferedType.class, null, value); } /** - * Create an instance of AttributeExtensibleString + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.AttributeExtensibleString createAttributeExtensibleString() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.AttributeExtensibleStringImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "AutomaticPseudonyms") + public JAXBElement createAutomaticPseudonyms(Boolean value) { + return new JAXBElement(_AutomaticPseudonyms_QNAME, Boolean.class, null, value); } /** - * Create an instance of TokenSigningKeyInfoElement + * Create an instance of {@link JAXBElement }{@code <}{@link FederationMetadataHandlerType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link FederationMetadataHandlerType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.TokenSigningKeyInfoElement createTokenSigningKeyInfoElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenSigningKeyInfoElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "FederationMetadataHandler") + public JAXBElement createFederationMetadataHandler(FederationMetadataHandlerType value) { + return new JAXBElement(_FederationMetadataHandler_QNAME, FederationMetadataHandlerType.class, null, value); } /** - * Create an instance of Freshness + * Create an instance of {@link JAXBElement }{@code <}{@link SignOutType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignOutType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.Freshness createFreshness() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FreshnessImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "SignOut") + public JAXBElement createSignOut(SignOutType value) { + return new JAXBElement(_SignOut_QNAME, SignOutType.class, null, value); } /** - * Create an instance of ClaimType + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ClaimType createClaimType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ClaimTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "Realm") + public JAXBElement createRealm(String value) { + return new JAXBElement(_Realm_QNAME, String.class, null, value); } /** - * Create an instance of SignOutType + * Create an instance of {@link JAXBElement }{@code <}{@link FilterPseudonymsType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link FilterPseudonymsType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.SignOutType createSignOutType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.SignOutTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "FilterPseudonyms") + public JAXBElement createFilterPseudonyms(FilterPseudonymsType value) { + return new JAXBElement(_FilterPseudonyms_QNAME, FilterPseudonymsType.class, null, value); } /** - * Create an instance of SecurityTokenType + * Create an instance of {@link JAXBElement }{@code <}{@link PseudonymBasisType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link PseudonymBasisType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.SecurityTokenType createSecurityTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.SecurityTokenTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "PseudonymBasis") + public JAXBElement createPseudonymBasis(PseudonymBasisType value) { + return new JAXBElement(_PseudonymBasis_QNAME, PseudonymBasisType.class, null, value); } /** - * Create an instance of FilterPseudonymsElement + * Create an instance of {@link JAXBElement }{@code <}{@link RelativeToType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link RelativeToType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FilterPseudonymsElement createFilterPseudonymsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FilterPseudonymsElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "RelativeTo") + public JAXBElement createRelativeTo(RelativeToType value) { + return new JAXBElement(_RelativeTo_QNAME, RelativeToType.class, null, value); } /** - * Create an instance of PseudonymBasisElement + * Create an instance of {@link JAXBElement }{@code <}{@link PseudonymType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link PseudonymType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymBasisElement createPseudonymBasisElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.PseudonymBasisElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "Pseudonym") + public JAXBElement createPseudonym(PseudonymType value) { + return new JAXBElement(_Pseudonym_QNAME, PseudonymType.class, null, value); } /** - * Create an instance of AttributeServiceEndpointElement + * Create an instance of {@link JAXBElement }{@code <}{@link SecurityTokenType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SecurityTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.AttributeServiceEndpointElement createAttributeServiceEndpointElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.AttributeServiceEndpointElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "SecurityToken") + public JAXBElement createSecurityToken(SecurityTokenType value) { + return new JAXBElement(_SecurityToken_QNAME, SecurityTokenType.class, null, value); } /** - * Create an instance of TokenKeyInfoType + * Create an instance of {@link JAXBElement }{@code <}{@link ProofTokenType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ProofTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.TokenKeyInfoType createTokenKeyInfoType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenKeyInfoTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "ProofToken") + public JAXBElement createProofToken(ProofTokenType value) { + return new JAXBElement(_ProofToken_QNAME, ProofTokenType.class, null, value); } /** - * Create an instance of DescriptionType + * Create an instance of {@link JAXBElement }{@code <}{@link RequestPseudonymType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link RequestPseudonymType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.DescriptionType createDescriptionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.DescriptionTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "RequestPseudonym") + public JAXBElement createRequestPseudonym(RequestPseudonymType value) { + return new JAXBElement(_RequestPseudonym_QNAME, RequestPseudonymType.class, null, value); } /** - * Create an instance of TokenIssuerEndpointElement + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceTokenType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ReferenceTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.TokenIssuerEndpointElement createTokenIssuerEndpointElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.TokenIssuerEndpointElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "ReferenceToken") + public JAXBElement createReferenceToken(ReferenceTokenType value) { + return new JAXBElement(_ReferenceToken_QNAME, ReferenceTokenType.class, null, value); } /** - * Create an instance of UriNamedClaimTypesOfferedElement + * Create an instance of {@link JAXBElement }{@code <}{@link AttributeExtensibleURI }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AttributeExtensibleURI }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.UriNamedClaimTypesOfferedElement createUriNamedClaimTypesOfferedElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.UriNamedClaimTypesOfferedElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "FederationID") + public JAXBElement createFederationID(AttributeExtensibleURI value) { + return new JAXBElement(_FederationID_QNAME, AttributeExtensibleURI.class, null, value); } /** - * Create an instance of RequestPseudonymType + * Create an instance of {@link JAXBElement }{@code <}{@link RequestProofTokenType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link RequestProofTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequestPseudonymType createRequestPseudonymType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequestPseudonymTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "RequestProofToken") + public JAXBElement createRequestProofToken(RequestProofTokenType value) { + return new JAXBElement(_RequestProofToken_QNAME, RequestProofTokenType.class, null, value); } /** - * Create an instance of FederationType + * Create an instance of {@link JAXBElement }{@code <}{@link ClientPseudonymType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ClientPseudonymType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FederationType createFederationType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "ClientPseudonym") + public JAXBElement createClientPseudonym(ClientPseudonymType value) { + return new JAXBElement(_ClientPseudonym_QNAME, ClientPseudonymType.class, null, value); } /** - * Create an instance of RequestPseudonymElement + * Create an instance of {@link JAXBElement }{@code <}{@link Freshness }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link Freshness }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequestPseudonymElement createRequestPseudonymElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequestPseudonymElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "Freshness") + public JAXBElement createFreshness(Freshness value) { + return new JAXBElement(_Freshness_QNAME, Freshness.class, null, value); } /** - * Create an instance of ClientPseudonymType + * Create an instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ClientPseudonymType createClientPseudonymType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ClientPseudonymTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "RequireReferenceToken") + public JAXBElement createRequireReferenceToken(TokenAssertionType value) { + return new JAXBElement(_RequireReferenceToken_QNAME, TokenAssertionType.class, null, value); } /** - * Create an instance of RequireReferenceTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequireReferenceTokenElement createRequireReferenceTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequireReferenceTokenElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "ReferenceToken11") + public JAXBElement createReferenceToken11(AssertionType value) { + return new JAXBElement(_ReferenceToken11_QNAME, AssertionType.class, null, value); } /** - * Create an instance of RequestProofTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RequestProofTokenElement createRequestProofTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RequestProofTokenElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "WebBinding") + public JAXBElement createWebBinding(NestedPolicyType value) { + return new JAXBElement(_WebBinding_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of AuthenticationTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.AuthenticationTokenElement createAuthenticationTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.AuthenticationTokenElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "AuthenticationToken") + public JAXBElement createAuthenticationToken(NestedPolicyType value) { + return new JAXBElement(_AuthenticationToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of FederationMetadataElement + * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FederationMetadataElement createFederationMetadataElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationMetadataElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "RequireSignedTokens") + public JAXBElement createRequireSignedTokens(AssertionType value) { + return new JAXBElement(_RequireSignedTokens_QNAME, AssertionType.class, null, value); } /** - * Create an instance of ReferenceToken11Element + * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceToken11Element createReferenceToken11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ReferenceToken11ElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "RequireBearerTokens") + public JAXBElement createRequireBearerTokens(AssertionType value) { + return new JAXBElement(_RequireBearerTokens_QNAME, AssertionType.class, null, value); } /** - * Create an instance of ReferenceTokenType + * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ReferenceTokenType createReferenceTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ReferenceTokenTypeImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "RequireSharedCookies") + public JAXBElement createRequireSharedCookies(AssertionType value) { + return new JAXBElement(_RequireSharedCookies_QNAME, AssertionType.class, null, value); } /** - * Create an instance of FederationElement + * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.FederationElement createFederationElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.FederationElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "RequiresGenericClaimDialect") + public JAXBElement createRequiresGenericClaimDialect(AssertionType value) { + return new JAXBElement(_RequiresGenericClaimDialect_QNAME, AssertionType.class, null, value); } /** - * Create an instance of PseudonymElement + * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.PseudonymElement createPseudonymElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.PseudonymElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "IssuesSpecificPolicyFault") + public JAXBElement createIssuesSpecificPolicyFault(AssertionType value) { + return new JAXBElement(_IssuesSpecificPolicyFault_QNAME, AssertionType.class, null, value); } /** - * Create an instance of RelativeToElement + * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsfederation.RelativeToElement createRelativeToElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.RelativeToElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/12/federation", name = "AdditionalContextProcessed") + public JAXBElement createAdditionalContextProcessed(AssertionType value) { + return new JAXBElement(_AdditionalContextProcessed_QNAME, AssertionType.class, null, value); } - /** - * Create an instance of SignOutBasisType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsfederation.SignOutBasisType createSignOutBasisType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.SignOutBasisTypeImpl(); - } + // ---- No-arg element factory methods for JAXB 1.x compatibility ---- - /** - * Create an instance of ProofTokenType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsfederation.ProofTokenType createProofTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsfederation.impl.ProofTokenTypeImpl(); - } + public FederationElement createFederationElement() { return new FederationElement(); } + public FederationMetadataElement createFederationMetadataElement() { return new FederationMetadataElement(); } + public TokenSigningKeyInfoElement createTokenSigningKeyInfoElement() { return new TokenSigningKeyInfoElement(); } + public TokenIssuerNameElement createTokenIssuerNameElement() { return new TokenIssuerNameElement(); } + public TokenIssuerEndpointElement createTokenIssuerEndpointElement() { return new TokenIssuerEndpointElement(); } + public TokenTypesOfferedElement createTokenTypesOfferedElement() { return new TokenTypesOfferedElement(); } + public UriNamedClaimTypesOfferedElement createUriNamedClaimTypesOfferedElement() { return new UriNamedClaimTypesOfferedElement(); } + public SingleSignOutNotificationEndpointElement createSingleSignOutNotificationEndpointElement() { return new SingleSignOutNotificationEndpointElement(); } } diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/SingleSignOutNotificationEndpointElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/SingleSignOutNotificationEndpointElement.java index 36634e93e1..a4bf8bc4f4 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/SingleSignOutNotificationEndpointElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/SingleSignOutNotificationEndpointElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsfederation; - - -/** - * Java content class for SingleSignOutNotificationEndpoint element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-federation.xsd line 145) - *

    - *

    - * <element name="SingleSignOutNotificationEndpoint" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/>
    - * 
    - * - */ -public interface SingleSignOutNotificationEndpointElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceType -{ - - -} +import com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceType; +/** Compatibility shim for JAXB 1.x SingleSignOutNotificationEndpointElement. */ +public class SingleSignOutNotificationEndpointElement extends EndpointReferenceType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenIssuerEndpointElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenIssuerEndpointElement.java index 622a0aaba3..e9f729576b 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenIssuerEndpointElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenIssuerEndpointElement.java @@ -1,26 +1,6 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsfederation; +import com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceType; -/** - * Java content class for TokenIssuerEndpoint element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-federation.xsd line 133) - *

    - *

    - * <element name="TokenIssuerEndpoint" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/>
    - * 
    - * - */ -public interface TokenIssuerEndpointElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsaddr.EndpointReferenceType -{ - - -} +/** Compatibility shim for JAXB 1.x TokenIssuerEndpointElement. */ +public class TokenIssuerEndpointElement extends EndpointReferenceType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenIssuerNameElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenIssuerNameElement.java index 8bbb6343c4..73326de0ca 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenIssuerNameElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenIssuerNameElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsfederation; - -/** - * Java content class for TokenIssuerName element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-federation.xsd line 123) - *

    - *

    - * <element name="TokenIssuerName" type="{http://schemas.xmlsoap.org/ws/2006/12/federation}AttributeExtensibleURI"/>
    - * 
    - * - */ -public interface TokenIssuerNameElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsfederation.AttributeExtensibleURI -{ - - -} +/** Compatibility shim for JAXB 1.x TokenIssuerNameElement. */ +public class TokenIssuerNameElement extends AttributeExtensibleURI {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenSigningKeyInfoElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenSigningKeyInfoElement.java index b306163c06..6b36a2909f 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenSigningKeyInfoElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenSigningKeyInfoElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsfederation; - -/** - * Java content class for TokenSigningKeyInfo element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-federation.xsd line 95) - *

    - *

    - * <element name="TokenSigningKeyInfo" type="{http://schemas.xmlsoap.org/ws/2006/12/federation}TokenKeyInfoType"/>
    - * 
    - * - */ -public interface TokenSigningKeyInfoElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsfederation.TokenKeyInfoType -{ - - -} +/** Compatibility shim for JAXB 1.x TokenSigningKeyInfoElement. */ +public class TokenSigningKeyInfoElement extends TokenKeyInfoType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenTypesOfferedElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenTypesOfferedElement.java index c97ac60cc9..e792a1b9d1 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenTypesOfferedElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/TokenTypesOfferedElement.java @@ -1,26 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsfederation; - - -/** - * Java content class for TokenTypesOffered element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-federation.xsd line 148) - *

    - *

    - * <element name="TokenTypesOffered" type="{http://schemas.xmlsoap.org/ws/2006/12/federation}TokenTypesOfferedType"/>
    - * 
    - * - */ -public interface TokenTypesOfferedElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsfederation.TokenTypesOfferedType -{ - - -} +/** Compatibility shim for JAXB 1.x TokenTypesOfferedElement. */ +public class TokenTypesOfferedElement extends TokenTypesOfferedType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/UriNamedClaimTypesOfferedElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/UriNamedClaimTypesOfferedElement.java index 62c4da398f..9d0e9eedad 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/UriNamedClaimTypesOfferedElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsfederation/UriNamedClaimTypesOfferedElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsfederation; - -/** - * Java content class for UriNamedClaimTypesOffered element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-federation.xsd line 166) - *

    - *

    - * <element name="UriNamedClaimTypesOffered" type="{http://schemas.xmlsoap.org/ws/2006/12/federation}UriNamedClaimTypesOfferedType"/>
    - * 
    - * - */ -public interface UriNamedClaimTypesOfferedElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsfederation.UriNamedClaimTypesOfferedType -{ - - -} +/** Compatibility shim for JAXB 1.x UriNamedClaimTypesOfferedElement. */ +public class UriNamedClaimTypesOfferedElement extends UriNamedClaimTypesOfferedType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/AllElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/AllElement.java index 2774d03666..6fe3312686 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/AllElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/AllElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wspolicy; - -/** - * Java content class for All element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-policy.xsd line 50) - *

    - *

    - * <element name="All" type="{http://schemas.xmlsoap.org/ws/2004/09/policy}OperatorContentType"/>
    - * 
    - * - */ -public interface AllElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wspolicy.OperatorContentType -{ - - -} +/** Compatibility shim for JAXB 1.x AllElement. */ +public class AllElement extends OperatorContentType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/ExactlyOneElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/ExactlyOneElement.java index 70fd0a46ea..aed4d5ca2b 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/ExactlyOneElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/ExactlyOneElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wspolicy; - -/** - * Java content class for ExactlyOne element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-policy.xsd line 51) - *

    - *

    - * <element name="ExactlyOne" type="{http://schemas.xmlsoap.org/ws/2004/09/policy}OperatorContentType"/>
    - * 
    - * - */ -public interface ExactlyOneElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wspolicy.OperatorContentType -{ - - -} +/** Compatibility shim for JAXB 1.x ExactlyOneElement. */ +public class ExactlyOneElement extends OperatorContentType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/ObjectFactory.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/ObjectFactory.java index e74cee21aa..3fc3320173 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/ObjectFactory.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wspolicy/ObjectFactory.java @@ -1,13 +1,11 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - package com.sun.identity.wsfederation.jaxb.wspolicy; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; + /** * This object contains factory methods for each @@ -23,227 +21,88 @@ * provided in this class. * */ -public class ObjectFactory - extends com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(16, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.wsfederation.jaxb.wspolicy.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.wsfederation.jaxb.wspolicy.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.PolicyAttachmentElement.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyAttachmentElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.OperatorContentType.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.OperatorContentTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.AllElement.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.AllElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.PolicyAttachmentType.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyAttachmentTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.AppliesToType.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.AppliesToTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.PolicyType.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.AppliesToElement.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.AppliesToElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.ExactlyOneElement.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.ExactlyOneElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.PolicyElement.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.PolicyReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wspolicy.PolicyReferenceType.class), "com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyReferenceTypeImpl"); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2004/09/policy", "All"), (com.sun.identity.wsfederation.jaxb.wspolicy.AllElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2004/09/policy", "PolicyAttachment"), (com.sun.identity.wsfederation.jaxb.wspolicy.PolicyAttachmentElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2004/09/policy", "ExactlyOne"), (com.sun.identity.wsfederation.jaxb.wspolicy.ExactlyOneElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2004/09/policy", "AppliesTo"), (com.sun.identity.wsfederation.jaxb.wspolicy.AppliesToElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2004/09/policy", "Policy"), (com.sun.identity.wsfederation.jaxb.wspolicy.PolicyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2004/09/policy", "PolicyReference"), (com.sun.identity.wsfederation.jaxb.wspolicy.PolicyReferenceElement.class)); - } +@XmlRegistry +public class ObjectFactory { + + private final static QName _All_QNAME = new QName("http://schemas.xmlsoap.org/ws/2004/09/policy", "All"); + private final static QName _ExactlyOne_QNAME = new QName("http://schemas.xmlsoap.org/ws/2004/09/policy", "ExactlyOne"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.wsfederation.jaxb.wspolicy * */ public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); } /** - * Create an instance of PolicyAttachmentElement + * Create an instance of {@link PolicyElement } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wspolicy.PolicyAttachmentElement createPolicyAttachmentElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyAttachmentElementImpl(); + public PolicyElement createPolicyElement() { + return new PolicyElement(); } /** - * Create an instance of OperatorContentType + * Create an instance of {@link OperatorContentType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wspolicy.OperatorContentType createOperatorContentType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.OperatorContentTypeImpl(); + public OperatorContentType createOperatorContentType() { + return new OperatorContentType(); } /** - * Create an instance of AllElement + * Create an instance of {@link PolicyReferenceElement } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wspolicy.AllElement createAllElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.AllElementImpl(); + public PolicyReferenceElement createPolicyReferenceElement() { + return new PolicyReferenceElement(); } /** - * Create an instance of PolicyAttachmentType + * Create an instance of {@link PolicyAttachmentElement } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wspolicy.PolicyAttachmentType createPolicyAttachmentType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyAttachmentTypeImpl(); + public PolicyAttachmentElement createPolicyAttachmentElement() { + return new PolicyAttachmentElement(); } /** - * Create an instance of AppliesToType + * Create an instance of {@link AppliesToElement } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wspolicy.AppliesToType createAppliesToType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.AppliesToTypeImpl(); + public AppliesToElement createAppliesToElement() { + return new AppliesToElement(); } /** - * Create an instance of PolicyType + * Create an instance of {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >} * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wspolicy.PolicyType createPolicyType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyTypeImpl(); - } - - /** - * Create an instance of AppliesToElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wspolicy.AppliesToElement createAppliesToElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.AppliesToElementImpl(); - } - - /** - * Create an instance of ExactlyOneElement - * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wspolicy.ExactlyOneElement createExactlyOneElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.ExactlyOneElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", name = "All") + public JAXBElement createAll(OperatorContentType value) { + return new JAXBElement(_All_QNAME, OperatorContentType.class, null, value); } /** - * Create an instance of PolicyElement + * Create an instance of {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wspolicy.PolicyElement createPolicyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyElementImpl(); + @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", name = "ExactlyOne") + public JAXBElement createExactlyOne(OperatorContentType value) { + return new JAXBElement(_ExactlyOne_QNAME, OperatorContentType.class, null, value); } - /** - * Create an instance of PolicyReferenceElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wspolicy.PolicyReferenceElement createPolicyReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyReferenceElementImpl(); - } + // ---- No-arg element factory methods for JAXB 1.x compatibility ---- - /** - * Create an instance of PolicyReferenceType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wspolicy.PolicyReferenceType createPolicyReferenceType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wspolicy.impl.PolicyReferenceTypeImpl(); - } + public ExactlyOneElement createExactlyOneElement() { return new ExactlyOneElement(); } + public AllElement createAllElement() { return new AllElement(); } } diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsse/ObjectFactory.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsse/ObjectFactory.java index 1aed86ca1b..7a7ca46d67 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsse/ObjectFactory.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsse/ObjectFactory.java @@ -1,13 +1,11 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - package com.sun.identity.wsfederation.jaxb.wsse; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; + /** * This object contains factory methods for each @@ -23,361 +21,247 @@ * provided in this class. * */ -public class ObjectFactory - extends com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(29, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.wsfederation.jaxb.wsse.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.wsfederation.jaxb.wsse.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.EmbeddedType.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.EmbeddedTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.ReferenceType.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.ReferenceTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.BinarySecurityTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.BinarySecurityTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.SecurityElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.SecurityElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.SecurityHeaderType.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.SecurityHeaderTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.EmbeddedElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.EmbeddedElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.UsernameTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.UsernameTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.TransformationParametersType.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.TransformationParametersTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.TransformationParametersElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.TransformationParametersElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.EncodedString.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.EncodedStringImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.PasswordElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.PasswordElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.SecurityTokenReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.SecurityTokenReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.SecurityTokenReferenceType.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.SecurityTokenReferenceTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.PasswordString.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.PasswordStringImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.KeyIdentifierElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.KeyIdentifierElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.BinarySecurityTokenType.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.BinarySecurityTokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.ReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.ReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.NonceElement.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.NonceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.AttributedString.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.AttributedStringImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.UsernameTokenType.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.UsernameTokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsse.KeyIdentifierType.class), "com.sun.identity.wsfederation.jaxb.wsse.impl.KeyIdentifierTypeImpl"); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Nonce"), (com.sun.identity.wsfederation.jaxb.wsse.NonceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Reference"), (com.sun.identity.wsfederation.jaxb.wsse.ReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "BinarySecurityToken"), (com.sun.identity.wsfederation.jaxb.wsse.BinarySecurityTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "UsernameToken"), (com.sun.identity.wsfederation.jaxb.wsse.UsernameTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "KeyIdentifier"), (com.sun.identity.wsfederation.jaxb.wsse.KeyIdentifierElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Embedded"), (com.sun.identity.wsfederation.jaxb.wsse.EmbeddedElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Security"), (com.sun.identity.wsfederation.jaxb.wsse.SecurityElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "SecurityTokenReference"), (com.sun.identity.wsfederation.jaxb.wsse.SecurityTokenReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Password"), (com.sun.identity.wsfederation.jaxb.wsse.PasswordElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "TransformationParameters"), (com.sun.identity.wsfederation.jaxb.wsse.TransformationParametersElement.class)); - } +@XmlRegistry +public class ObjectFactory { + + private final static QName _UsernameToken_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "UsernameToken"); + private final static QName _BinarySecurityToken_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "BinarySecurityToken"); + private final static QName _Reference_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Reference"); + private final static QName _Embedded_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Embedded"); + private final static QName _KeyIdentifier_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "KeyIdentifier"); + private final static QName _SecurityTokenReference_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "SecurityTokenReference"); + private final static QName _Security_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Security"); + private final static QName _TransformationParameters_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "TransformationParameters"); + private final static QName _Password_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Password"); + private final static QName _Nonce_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Nonce"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.wsfederation.jaxb.wsse * */ public ObjectFactory() { - super(grammarInfo); } /** - * Create an instance of the specified Java content interface. + * Create an instance of {@link UsernameTokenType } * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); + public UsernameTokenType createUsernameTokenType() { + return new UsernameTokenType(); } /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. + * Create an instance of {@link BinarySecurityTokenType } * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); + public BinarySecurityTokenType createBinarySecurityTokenType() { + return new BinarySecurityTokenType(); } /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. + * Create an instance of {@link ReferenceType } * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); + public ReferenceType createReferenceType() { + return new ReferenceType(); } /** - * Create an instance of EmbeddedType + * Create an instance of {@link EmbeddedType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsse.EmbeddedType createEmbeddedType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.EmbeddedTypeImpl(); + public EmbeddedType createEmbeddedType() { + return new EmbeddedType(); } /** - * Create an instance of ReferenceType + * Create an instance of {@link KeyIdentifierType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsse.ReferenceType createReferenceType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.ReferenceTypeImpl(); + public KeyIdentifierType createKeyIdentifierType() { + return new KeyIdentifierType(); } /** - * Create an instance of BinarySecurityTokenElement + * Create an instance of {@link SecurityTokenReferenceType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsse.BinarySecurityTokenElement createBinarySecurityTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.BinarySecurityTokenElementImpl(); + public SecurityTokenReferenceType createSecurityTokenReferenceType() { + return new SecurityTokenReferenceType(); } /** - * Create an instance of SecurityElement + * Create an instance of {@link SecurityHeaderType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsse.SecurityElement createSecurityElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.SecurityElementImpl(); + public SecurityHeaderType createSecurityHeaderType() { + return new SecurityHeaderType(); } /** - * Create an instance of SecurityHeaderType + * Create an instance of {@link TransformationParametersType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsse.SecurityHeaderType createSecurityHeaderType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.SecurityHeaderTypeImpl(); + public TransformationParametersType createTransformationParametersType() { + return new TransformationParametersType(); } /** - * Create an instance of EmbeddedElement + * Create an instance of {@link PasswordString } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsse.EmbeddedElement createEmbeddedElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.EmbeddedElementImpl(); + public PasswordString createPasswordString() { + return new PasswordString(); } /** - * Create an instance of UsernameTokenElement + * Create an instance of {@link EncodedString } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsse.UsernameTokenElement createUsernameTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.UsernameTokenElementImpl(); + public EncodedString createEncodedString() { + return new EncodedString(); } /** - * Create an instance of TransformationParametersType + * Create an instance of {@link AttributedString } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsse.TransformationParametersType createTransformationParametersType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.TransformationParametersTypeImpl(); + public AttributedString createAttributedString() { + return new AttributedString(); } /** - * Create an instance of TransformationParametersElement + * Create an instance of {@link JAXBElement }{@code <}{@link UsernameTokenType }{@code >} * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsse.TransformationParametersElement createTransformationParametersElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.TransformationParametersElementImpl(); - } - - /** - * Create an instance of EncodedString - * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link UsernameTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.EncodedString createEncodedString() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.EncodedStringImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "UsernameToken") + public JAXBElement createUsernameToken(UsernameTokenType value) { + return new JAXBElement(_UsernameToken_QNAME, UsernameTokenType.class, null, value); } /** - * Create an instance of PasswordElement + * Create an instance of {@link JAXBElement }{@code <}{@link BinarySecurityTokenType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link BinarySecurityTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.PasswordElement createPasswordElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.PasswordElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "BinarySecurityToken") + public JAXBElement createBinarySecurityToken(BinarySecurityTokenType value) { + return new JAXBElement(_BinarySecurityToken_QNAME, BinarySecurityTokenType.class, null, value); } /** - * Create an instance of SecurityTokenReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.SecurityTokenReferenceElement createSecurityTokenReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.SecurityTokenReferenceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Reference") + public JAXBElement createReference(ReferenceType value) { + return new JAXBElement(_Reference_QNAME, ReferenceType.class, null, value); } /** - * Create an instance of SecurityTokenReferenceType + * Create an instance of {@link JAXBElement }{@code <}{@link EmbeddedType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EmbeddedType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.SecurityTokenReferenceType createSecurityTokenReferenceType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.SecurityTokenReferenceTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Embedded") + public JAXBElement createEmbedded(EmbeddedType value) { + return new JAXBElement(_Embedded_QNAME, EmbeddedType.class, null, value); } /** - * Create an instance of PasswordString + * Create an instance of {@link JAXBElement }{@code <}{@link KeyIdentifierType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link KeyIdentifierType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.PasswordString createPasswordString() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.PasswordStringImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "KeyIdentifier") + public JAXBElement createKeyIdentifier(KeyIdentifierType value) { + return new JAXBElement(_KeyIdentifier_QNAME, KeyIdentifierType.class, null, value); } /** - * Create an instance of KeyIdentifierElement + * Create an instance of {@link JAXBElement }{@code <}{@link SecurityTokenReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SecurityTokenReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.KeyIdentifierElement createKeyIdentifierElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.KeyIdentifierElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "SecurityTokenReference") + public JAXBElement createSecurityTokenReference(SecurityTokenReferenceType value) { + return new JAXBElement(_SecurityTokenReference_QNAME, SecurityTokenReferenceType.class, null, value); } /** - * Create an instance of BinarySecurityTokenType + * Create an instance of {@link JAXBElement }{@code <}{@link SecurityHeaderType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SecurityHeaderType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.BinarySecurityTokenType createBinarySecurityTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.BinarySecurityTokenTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Security") + public JAXBElement createSecurity(SecurityHeaderType value) { + return new JAXBElement(_Security_QNAME, SecurityHeaderType.class, null, value); } /** - * Create an instance of ReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link TransformationParametersType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TransformationParametersType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.ReferenceElement createReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.ReferenceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "TransformationParameters") + public JAXBElement createTransformationParameters(TransformationParametersType value) { + return new JAXBElement(_TransformationParameters_QNAME, TransformationParametersType.class, null, value); } /** - * Create an instance of NonceElement + * Create an instance of {@link JAXBElement }{@code <}{@link PasswordString }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link PasswordString }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.NonceElement createNonceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.NonceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Password") + public JAXBElement createPassword(PasswordString value) { + return new JAXBElement(_Password_QNAME, PasswordString.class, null, value); } /** - * Create an instance of AttributedString + * Create an instance of {@link JAXBElement }{@code <}{@link EncodedString }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link EncodedString }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsse.AttributedString createAttributedString() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.AttributedStringImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Nonce") + public JAXBElement createNonce(EncodedString value) { + return new JAXBElement(_Nonce_QNAME, EncodedString.class, null, value); } - /** - * Create an instance of UsernameTokenType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsse.UsernameTokenType createUsernameTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.UsernameTokenTypeImpl(); - } + // ---- No-arg element factory methods for JAXB 1.x compatibility ---- - /** - * Create an instance of KeyIdentifierType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsse.KeyIdentifierType createKeyIdentifierType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsse.impl.KeyIdentifierTypeImpl(); - } + public SecurityTokenReferenceElement createSecurityTokenReferenceElement() { return new SecurityTokenReferenceElement(); } } diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsse/SecurityTokenReferenceElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsse/SecurityTokenReferenceElement.java index e56e929c5c..e9b0d5502a 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsse/SecurityTokenReferenceElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsse/SecurityTokenReferenceElement.java @@ -1,27 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsse; - -/** - * This element defines the wsse:SecurityTokenReference per Section 4.3. - * Java content class for SecurityTokenReference element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/oasis-200401-wss-wssecurity-secext-1.0.xsd line 167) - *

    - *

    - * <element name="SecurityTokenReference" type="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReferenceType"/>
    - * 
    - * - */ -public interface SecurityTokenReferenceElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsse.SecurityTokenReferenceType -{ - - -} +/** Compatibility shim for JAXB 1.x SecurityTokenReferenceElement. */ +public class SecurityTokenReferenceElement extends SecurityTokenReferenceType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/AlgorithmSuiteElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/AlgorithmSuiteElement.java index a2bf479e3a..bc6f6fa0e7 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/AlgorithmSuiteElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/AlgorithmSuiteElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.1 AlgorithmSuite Assertion - * - * Java content class for AlgorithmSuite element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 534) - *

    - *

    - * <element name="AlgorithmSuite" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}NestedPolicyType"/>
    - * 
    - * - */ -public interface AlgorithmSuiteElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType -{ - - -} +/** Compatibility shim for JAXB 1.x AlgorithmSuiteElement. */ +public class AlgorithmSuiteElement extends NestedPolicyType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/AsymmetricBindingElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/AsymmetricBindingElement.java index 0107c2f8da..a5e2d52fc3 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/AsymmetricBindingElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/AsymmetricBindingElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.5 AsymmetricBinding Assertion - * - * Java content class for AsymmetricBinding element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 828) - *

    - *

    - * <element name="AsymmetricBinding" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}NestedPolicyType"/>
    - * 
    - * - */ -public interface AsymmetricBindingElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType -{ - - -} +/** Compatibility shim for JAXB 1.x AsymmetricBindingElement. */ +public class AsymmetricBindingElement extends NestedPolicyType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic128Element.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic128Element.java index 1423dbbb63..e2bec22c9c 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic128Element.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic128Element.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.1 AlgorithmSuite Assertion - * - * Java content class for Basic128 element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 563) - *

    - *

    - * <element name="Basic128" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface Basic128Element - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x Basic128Element. */ +public class Basic128Element extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic192Element.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic192Element.java index cc1297adc7..b8d112090d 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic192Element.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic192Element.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.1 AlgorithmSuite Assertion - * - * Java content class for Basic192 element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 556) - *

    - *

    - * <element name="Basic192" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface Basic192Element - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x Basic192Element. */ +public class Basic192Element extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic256Element.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic256Element.java index badf7995b2..78893d7857 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic256Element.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/Basic256Element.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.1 AlgorithmSuite Assertion - * - * Java content class for Basic256 element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 549) - *

    - *

    - * <element name="Basic256" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface Basic256Element - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x Basic256Element. */ +public class Basic256Element extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/EncryptedPartsElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/EncryptedPartsElement.java index 0634e48ec3..c1c11888e2 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/EncryptedPartsElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/EncryptedPartsElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 4.2.1 EncryptedParts Assertion - * - * Java content class for EncryptedParts element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 35) - *

    - *

    - * <element name="EncryptedParts" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}SePartsType"/>
    - * 
    - * - */ -public interface EncryptedPartsElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.SePartsType -{ - - -} +/** Compatibility shim for JAXB 1.x EncryptedPartsElement. */ +public class EncryptedPartsElement extends SePartsType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/IncludeTimestampElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/IncludeTimestampElement.java index d7917b2246..3f9bc69999 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/IncludeTimestampElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/IncludeTimestampElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.3 TransportBinding Assertion - * - * Java content class for IncludeTimestamp element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 759) - *

    - *

    - * <element name="IncludeTimestamp" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface IncludeTimestampElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x IncludeTimestampElement. */ +public class IncludeTimestampElement extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/InitiatorTokenElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/InitiatorTokenElement.java index 27277b0d95..7c43737a4f 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/InitiatorTokenElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/InitiatorTokenElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.5 AsymmetricBinding Assertion - * - * Java content class for InitiatorToken element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 836) - *

    - *

    - * <element name="InitiatorToken" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}NestedPolicyType"/>
    - * 
    - * - */ -public interface InitiatorTokenElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType -{ - - -} +/** Compatibility shim for JAXB 1.x InitiatorTokenElement. */ +public class InitiatorTokenElement extends NestedPolicyType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/IssuedTokenElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/IssuedTokenElement.java index 56a863df1c..5ecc67a0bb 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/IssuedTokenElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/IssuedTokenElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.2 IssuedToken Assertion - * - * Java content class for IssuedToken element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 165) - *

    - *

    - * <element name="IssuedToken" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}IssuedTokenType"/>
    - * 
    - * - */ -public interface IssuedTokenElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.IssuedTokenType -{ - - -} +/** Compatibility shim for JAXB 1.x IssuedTokenElement. */ +public class IssuedTokenElement extends IssuedTokenType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/KerberosTokenElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/KerberosTokenElement.java index 2da86fc4d1..0f28fc4fba 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/KerberosTokenElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/KerberosTokenElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.4 KerberosToken Assertion - * - * Java content class for KerberosToken element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 318) - *

    - *

    - * <element name="KerberosToken" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}TokenAssertionType"/>
    - * 
    - * - */ -public interface KerberosTokenElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.TokenAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x KerberosTokenElement. */ +public class KerberosTokenElement extends TokenAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/LaxElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/LaxElement.java index 54567ceeb8..9b4de89fb4 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/LaxElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/LaxElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.2 Layout Assertion - * - * Java content class for Lax element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 719) - *

    - *

    - * <element name="Lax" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface LaxElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x LaxElement. */ +public class LaxElement extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/LayoutElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/LayoutElement.java index 13e0758e16..0b56f08b53 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/LayoutElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/LayoutElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.2 Layout Assertion - * - * Java content class for Layout element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 704) - *

    - *

    - * <element name="Layout" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}NestedPolicyType"/>
    - * 
    - * - */ -public interface LayoutElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType -{ - - -} +/** Compatibility shim for JAXB 1.x LayoutElement. */ +public class LayoutElement extends NestedPolicyType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/ObjectFactory.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/ObjectFactory.java index 60bbe868e0..8d186e1b2c 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/ObjectFactory.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/ObjectFactory.java @@ -1,13 +1,11 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - package com.sun.identity.wsfederation.jaxb.wsspolicy; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; + /** * This object contains factory methods for each @@ -23,1887 +21,1798 @@ * provided in this class. * */ -public class ObjectFactory - extends com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(175, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.wsfederation.jaxb.wsspolicy.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.wsfederation.jaxb.wsspolicy.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TripleDesElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Wss11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Wss11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.ProtectionTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.ProtectionTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.HttpBasicAuthenticationElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HttpBasicAuthenticationElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireClientCertificateElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireClientCertificateElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Rsa15Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic256Rsa15ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Rsa15Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic128Rsa15ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic128ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV20Token11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssSamlV20Token11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.XPathFilter20Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.XPathFilter20ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequestSecurityTokenTemplateType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequestSecurityTokenTemplateTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.HashPasswordElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HashPasswordElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.OnlySignEntireHeadersAndBodyElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.OnlySignEntireHeadersAndBodyElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.LayoutElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.LayoutElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.XPath10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.XPath10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV10Token10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssRelV10Token10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic192ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SupportingTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SupportingTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.InitiatorTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefIssuerSerialElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefIssuerSerialElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SecurityContextTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SecurityContextTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireIssuerSerialReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireIssuerSerialReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssKerberosV5ApReqToken11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssKerberosV5ApReqToken11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.QNameAssertionTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.STRTransform10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.STRTransform10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExplicitDerivedKeysElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireExplicitDerivedKeysElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.AbsXPathElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.AbsXPathElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesRsa15Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TripleDesRsa15ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptBeforeSigningElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptBeforeSigningElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptionTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptionTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireSignatureConfirmationElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireSignatureConfirmationElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SignatureTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignatureTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V3Token10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509V3Token10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Trust10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Trust10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExternalUriReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireExternalUriReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireServerEntropyElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireServerEntropyElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.IssuedTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.IssuedTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientSignatureTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RecipientSignatureTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.HeaderType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HeaderTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorSignatureTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.InitiatorSignatureTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.LaxTsLastElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.LaxTsLastElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SignedElementsElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedElementsElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.AsymmetricBindingElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.AsymmetricBindingElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SamlTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SamlTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.EndorsingSupportingTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EndorsingSupportingTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509Pkcs7Token11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509Pkcs7Token11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesSha256Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TripleDesSha256ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireDerivedKeysElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireDerivedKeysElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.TokenAssertionType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TokenAssertionTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.HttpDigestAuthenticationElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HttpDigestAuthenticationElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportClientChallengeElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportClientChallengeElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.IncludeTimestampElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.IncludeTimestampElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefThumbprintElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefThumbprintElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorEncryptionTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.InitiatorEncryptionTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SignedSupportingTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedSupportingTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV20Token11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssRelV20Token11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.LaxElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.LaxElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V3Token11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509V3Token11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportIssuedTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportIssuedTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireImplicitDerivedKeysElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireImplicitDerivedKeysElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEndorsingEncryptedSupportingTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedEndorsingEncryptedSupportingTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEncryptedSupportingTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedEncryptedSupportingTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SePartsType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SePartsTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireClientEntropyElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireClientEntropyElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptSignatureElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptSignatureElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Rsa15Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic192Rsa15ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesSha256Rsa15Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TripleDesSha256Rsa15ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportServerChallengeElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportServerChallengeElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireEmbeddedTokenReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireEmbeddedTokenReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.AlgorithmSuiteElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.AlgorithmSuiteElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExternalReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireExternalReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientEncryptionTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RecipientEncryptionTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssUsernameToken10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssUsernameToken10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.NestedPolicyTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.InclusiveC14NElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.InclusiveC14NElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.TransportBindingElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TransportBindingElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptedPartsElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptedPartsElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Wss10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Wss10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.TransportTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TransportTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.HttpsTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HttpsTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SecureConversationTokenType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SecureConversationTokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic256ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SecureConversationTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SecureConversationTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Sha256Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic192Sha256ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV20Token10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssRelV20Token10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Sha256Rsa15Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic192Sha256Rsa15ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV11Token11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssSamlV11Token11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefExternalURIElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefExternalURIElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptedElementsElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptedElementsElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssUsernameToken11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssUsernameToken11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509Pkcs7Token10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509Pkcs7Token10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SC200502SecurityContextTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SC200502SecurityContextTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RecipientTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SOAPNormalization10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SOAPNormalization10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.X509TokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.X509TokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.KerberosTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.KerberosTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefKeyIdentifierElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefKeyIdentifierElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Sha256Rsa15Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic256Sha256Rsa15ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV10Token11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssRelV10Token11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509PkiPathV1Token10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509PkiPathV1Token10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SignedPartsElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedPartsElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefEncryptedKeyElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefEncryptedKeyElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.NoPasswordElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.NoPasswordElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.StrictElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.StrictElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SerElementsType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SerElementsTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509PkiPathV1Token11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509PkiPathV1Token11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Sha256Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic128Sha256ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEndorsingSupportingTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedEndorsingSupportingTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefEmbeddedTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefEmbeddedTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SymmetricBindingElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SymmetricBindingElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV11Token10Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssSamlV11Token10ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.ProtectTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.ProtectTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.IssuedTokenType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.IssuedTokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequiredElementsElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequiredElementsElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.LaxTsFirstElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.LaxTsFirstElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireThumbprintReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireThumbprintReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.EmptyType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EmptyTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SpnegoContextTokenType.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SpnegoContextTokenTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.BootstrapPolicyElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.BootstrapPolicyElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V1Token11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509V1Token11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RelTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RelTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.UsernameTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.UsernameTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireInternalReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireInternalReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.SpnegoContextTokenElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SpnegoContextTokenElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.EndorsingEncryptedSupportingTokensElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EndorsingEncryptedSupportingTokensElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Sha256Rsa15Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic128Sha256Rsa15ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Sha256Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic256Sha256ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.WssGssKerberosV5ApReqToken11Element.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssGssKerberosV5ApReqToken11ElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireRequestSecurityTokenCollectionElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireRequestSecurityTokenCollectionElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.wsspolicy.RequireKeyIdentifierReferenceElement.class), "com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireKeyIdentifierReferenceElementImpl"); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "InitiatorEncryptionToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorEncryptionTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "X509Token"), (com.sun.identity.wsfederation.jaxb.wsspolicy.X509TokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RelToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RelTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EndorsingSupportingTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.EndorsingSupportingTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefIssuerSerial"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefIssuerSerialElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RecipientSignatureToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientSignatureTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefEncryptedKey"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefEncryptedKeyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "HttpBasicAuthentication"), (com.sun.identity.wsfederation.jaxb.wsspolicy.HttpBasicAuthenticationElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SecurityContextToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SecurityContextTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RecipientEncryptionToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientEncryptionTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireServerEntropy"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireServerEntropyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireExternalReference"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExternalReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EndorsingEncryptedSupportingTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.EndorsingEncryptedSupportingTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SymmetricBinding"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SymmetricBindingElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic128Sha256"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Sha256Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssUsernameToken11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssUsernameToken11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssUsernameToken10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssUsernameToken10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "IncludeTimestamp"), (com.sun.identity.wsfederation.jaxb.wsspolicy.IncludeTimestampElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefExternalURI"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefExternalURIElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic192Sha256Rsa15"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Sha256Rsa15Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Wss11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Wss11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Wss10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Wss10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptSignature"), (com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptSignatureElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireThumbprintReference"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireThumbprintReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefKeyIdentifier"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefKeyIdentifierElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireExplicitDerivedKeys"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExplicitDerivedKeysElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RecipientToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefThumbprint"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefThumbprintElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "BootstrapPolicy"), (com.sun.identity.wsfederation.jaxb.wsspolicy.BootstrapPolicyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509V1Token11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V1Token11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "UsernameToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.UsernameTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TripleDesSha256"), (com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesSha256Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic192"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "LaxTsLast"), (com.sun.identity.wsfederation.jaxb.wsspolicy.LaxTsLastElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedParts"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SignedPartsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireClientEntropy"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireClientEntropyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "IssuedToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.IssuedTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssSamlV20Token11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV20Token11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic256Rsa15"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Rsa15Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Trust10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Trust10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic128Sha256Rsa15"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Sha256Rsa15Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SpnegoContextToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SpnegoContextTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireDerivedKeys"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireDerivedKeysElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssKerberosV5ApReqToken11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssKerberosV5ApReqToken11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptBeforeSigning"), (com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptBeforeSigningElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssRelV20Token10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV20Token10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssRelV10Token11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV10Token11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssRelV20Token11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV20Token11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "InclusiveC14N"), (com.sun.identity.wsfederation.jaxb.wsspolicy.InclusiveC14NElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedSupportingTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SignedSupportingTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssRelV10Token10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV10Token10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefEmbeddedToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefEmbeddedTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignatureToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SignatureTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportIssuedTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportIssuedTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedEncryptedSupportingTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEncryptedSupportingTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "HttpDigestAuthentication"), (com.sun.identity.wsfederation.jaxb.wsspolicy.HttpDigestAuthenticationElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "XPathFilter20"), (com.sun.identity.wsfederation.jaxb.wsspolicy.XPathFilter20Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "ProtectTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.ProtectTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireExternalUriReference"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExternalUriReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "AsymmetricBinding"), (com.sun.identity.wsfederation.jaxb.wsspolicy.AsymmetricBindingElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SupportingTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SupportingTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "STRTransform10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.STRTransform10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "XPath10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.XPath10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TripleDesSha256Rsa15"), (com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesSha256Rsa15Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "HashPassword"), (com.sun.identity.wsfederation.jaxb.wsspolicy.HashPasswordElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509V3Token11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V3Token11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509V3Token10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V3Token10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireRequestSecurityTokenCollection"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireRequestSecurityTokenCollectionElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic192Rsa15"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Rsa15Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptionToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptionTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SOAPNormalization10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SOAPNormalization10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireInternalReference"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireInternalReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic256Sha256Rsa15"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Sha256Rsa15Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Lax"), (com.sun.identity.wsfederation.jaxb.wsspolicy.LaxElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportClientChallenge"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportClientChallengeElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "AlgorithmSuite"), (com.sun.identity.wsfederation.jaxb.wsspolicy.AlgorithmSuiteElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic256Sha256"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Sha256Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SamlToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SamlTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedElements"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SignedElementsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "InitiatorSignatureToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorSignatureTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SecureConversationToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SecureConversationTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireSignatureConfirmation"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireSignatureConfirmationElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "InitiatorToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TransportBinding"), (com.sun.identity.wsfederation.jaxb.wsspolicy.TransportBindingElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SC200502SecurityContextToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SC200502SecurityContextTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportServerChallenge"), (com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportServerChallengeElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509PkiPathV1Token10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509PkiPathV1Token10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic192Sha256"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Sha256Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "HttpsToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.HttpsTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509PkiPathV1Token11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509PkiPathV1Token11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic128Rsa15"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Rsa15Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequiredElements"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequiredElementsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireEmbeddedTokenReference"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireEmbeddedTokenReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic256"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Strict"), (com.sun.identity.wsfederation.jaxb.wsspolicy.StrictElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "AbsXPath"), (com.sun.identity.wsfederation.jaxb.wsspolicy.AbsXPathElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TransportToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.TransportTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "ProtectionToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.ProtectionTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedEndorsingEncryptedSupportingTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEndorsingEncryptedSupportingTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "OnlySignEntireHeadersAndBody"), (com.sun.identity.wsfederation.jaxb.wsspolicy.OnlySignEntireHeadersAndBodyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireImplicitDerivedKeys"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireImplicitDerivedKeysElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TripleDesRsa15"), (com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesRsa15Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "LaxTsFirst"), (com.sun.identity.wsfederation.jaxb.wsspolicy.LaxTsFirstElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptedElements"), (com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptedElementsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireKeyIdentifierReference"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireKeyIdentifierReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireIssuerSerialReference"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireIssuerSerialReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TripleDes"), (com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireClientCertificate"), (com.sun.identity.wsfederation.jaxb.wsspolicy.RequireClientCertificateElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "KerberosToken"), (com.sun.identity.wsfederation.jaxb.wsspolicy.KerberosTokenElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssSamlV11Token11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV11Token11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssSamlV11Token10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV11Token10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedEndorsingSupportingTokens"), (com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEndorsingSupportingTokensElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509Pkcs7Token10"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509Pkcs7Token10Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssGssKerberosV5ApReqToken11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssGssKerberosV5ApReqToken11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "NoPassword"), (com.sun.identity.wsfederation.jaxb.wsspolicy.NoPasswordElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509Pkcs7Token11"), (com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509Pkcs7Token11Element.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Layout"), (com.sun.identity.wsfederation.jaxb.wsspolicy.LayoutElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptedParts"), (com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptedPartsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic128"), (com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Element.class)); - } +@XmlRegistry +public class ObjectFactory { + + private final static QName _SignedParts_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedParts"); + private final static QName _EncryptedParts_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptedParts"); + private final static QName _SignedElements_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedElements"); + private final static QName _EncryptedElements_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptedElements"); + private final static QName _RequiredElements_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequiredElements"); + private final static QName _UsernameToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "UsernameToken"); + private final static QName _NoPassword_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "NoPassword"); + private final static QName _HashPassword_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "HashPassword"); + private final static QName _WssUsernameToken10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssUsernameToken10"); + private final static QName _WssUsernameToken11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssUsernameToken11"); + private final static QName _IssuedToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "IssuedToken"); + private final static QName _RequireDerivedKeys_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireDerivedKeys"); + private final static QName _RequireImplicitDerivedKeys_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireImplicitDerivedKeys"); + private final static QName _RequireExplicitDerivedKeys_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireExplicitDerivedKeys"); + private final static QName _RequireExternalReference_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireExternalReference"); + private final static QName _RequireInternalReference_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireInternalReference"); + private final static QName _X509Token_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "X509Token"); + private final static QName _RequireKeyIdentifierReference_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireKeyIdentifierReference"); + private final static QName _RequireIssuerSerialReference_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireIssuerSerialReference"); + private final static QName _RequireEmbeddedTokenReference_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireEmbeddedTokenReference"); + private final static QName _RequireThumbprintReference_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireThumbprintReference"); + private final static QName _WssX509V3Token10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509V3Token10"); + private final static QName _WssX509Pkcs7Token10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509Pkcs7Token10"); + private final static QName _WssX509PkiPathV1Token10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509PkiPathV1Token10"); + private final static QName _WssX509V1Token11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509V1Token11"); + private final static QName _WssX509V3Token11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509V3Token11"); + private final static QName _WssX509Pkcs7Token11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509Pkcs7Token11"); + private final static QName _WssX509PkiPathV1Token11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssX509PkiPathV1Token11"); + private final static QName _KerberosToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "KerberosToken"); + private final static QName _WssKerberosV5ApReqToken11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssKerberosV5ApReqToken11"); + private final static QName _WssGssKerberosV5ApReqToken11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssGssKerberosV5ApReqToken11"); + private final static QName _SpnegoContextToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SpnegoContextToken"); + private final static QName _SecurityContextToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SecurityContextToken"); + private final static QName _RequireExternalUriReference_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireExternalUriReference"); + private final static QName _SC200502SecurityContextToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SC200502SecurityContextToken"); + private final static QName _SecureConversationToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SecureConversationToken"); + private final static QName _BootstrapPolicy_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "BootstrapPolicy"); + private final static QName _SamlToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SamlToken"); + private final static QName _WssSamlV11Token10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssSamlV11Token10"); + private final static QName _WssSamlV11Token11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssSamlV11Token11"); + private final static QName _WssSamlV20Token11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssSamlV20Token11"); + private final static QName _RelToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RelToken"); + private final static QName _WssRelV10Token10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssRelV10Token10"); + private final static QName _WssRelV20Token10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssRelV20Token10"); + private final static QName _WssRelV10Token11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssRelV10Token11"); + private final static QName _WssRelV20Token11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "WssRelV20Token11"); + private final static QName _HttpsToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "HttpsToken"); + private final static QName _HttpBasicAuthentication_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "HttpBasicAuthentication"); + private final static QName _HttpDigestAuthentication_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "HttpDigestAuthentication"); + private final static QName _RequireClientCertificate_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireClientCertificate"); + private final static QName _AlgorithmSuite_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "AlgorithmSuite"); + private final static QName _Basic256_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic256"); + private final static QName _Basic192_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic192"); + private final static QName _Basic128_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic128"); + private final static QName _TripleDes_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TripleDes"); + private final static QName _Basic256Rsa15_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic256Rsa15"); + private final static QName _Basic192Rsa15_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic192Rsa15"); + private final static QName _Basic128Rsa15_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic128Rsa15"); + private final static QName _TripleDesRsa15_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TripleDesRsa15"); + private final static QName _Basic256Sha256_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic256Sha256"); + private final static QName _Basic192Sha256_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic192Sha256"); + private final static QName _Basic128Sha256_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic128Sha256"); + private final static QName _TripleDesSha256_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TripleDesSha256"); + private final static QName _Basic256Sha256Rsa15_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic256Sha256Rsa15"); + private final static QName _Basic192Sha256Rsa15_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic192Sha256Rsa15"); + private final static QName _Basic128Sha256Rsa15_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Basic128Sha256Rsa15"); + private final static QName _TripleDesSha256Rsa15_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TripleDesSha256Rsa15"); + private final static QName _InclusiveC14N_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "InclusiveC14N"); + private final static QName _SOAPNormalization10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SOAPNormalization10"); + private final static QName _STRTransform10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "STRTransform10"); + private final static QName _XPath10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "XPath10"); + private final static QName _XPathFilter20_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "XPathFilter20"); + private final static QName _AbsXPath_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "AbsXPath"); + private final static QName _Layout_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Layout"); + private final static QName _Strict_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Strict"); + private final static QName _Lax_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Lax"); + private final static QName _LaxTsFirst_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "LaxTsFirst"); + private final static QName _LaxTsLast_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "LaxTsLast"); + private final static QName _TransportBinding_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TransportBinding"); + private final static QName _TransportToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "TransportToken"); + private final static QName _IncludeTimestamp_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "IncludeTimestamp"); + private final static QName _SymmetricBinding_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SymmetricBinding"); + private final static QName _EncryptionToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptionToken"); + private final static QName _SignatureToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignatureToken"); + private final static QName _ProtectionToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "ProtectionToken"); + private final static QName _EncryptBeforeSigning_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptBeforeSigning"); + private final static QName _EncryptSignature_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EncryptSignature"); + private final static QName _ProtectTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "ProtectTokens"); + private final static QName _OnlySignEntireHeadersAndBody_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "OnlySignEntireHeadersAndBody"); + private final static QName _AsymmetricBinding_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "AsymmetricBinding"); + private final static QName _InitiatorToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "InitiatorToken"); + private final static QName _InitiatorSignatureToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "InitiatorSignatureToken"); + private final static QName _InitiatorEncryptionToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "InitiatorEncryptionToken"); + private final static QName _RecipientToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RecipientToken"); + private final static QName _RecipientSignatureToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RecipientSignatureToken"); + private final static QName _RecipientEncryptionToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RecipientEncryptionToken"); + private final static QName _SupportingTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SupportingTokens"); + private final static QName _SignedSupportingTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedSupportingTokens"); + private final static QName _EndorsingSupportingTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EndorsingSupportingTokens"); + private final static QName _SignedEndorsingSupportingTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedEndorsingSupportingTokens"); + private final static QName _SignedEncryptedSupportingTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedEncryptedSupportingTokens"); + private final static QName _EndorsingEncryptedSupportingTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "EndorsingEncryptedSupportingTokens"); + private final static QName _SignedEndorsingEncryptedSupportingTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "SignedEndorsingEncryptedSupportingTokens"); + private final static QName _Wss10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Wss10"); + private final static QName _MustSupportRefKeyIdentifier_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefKeyIdentifier"); + private final static QName _MustSupportRefIssuerSerial_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefIssuerSerial"); + private final static QName _MustSupportRefExternalURI_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefExternalURI"); + private final static QName _MustSupportRefEmbeddedToken_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefEmbeddedToken"); + private final static QName _Wss11_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Wss11"); + private final static QName _MustSupportRefThumbprint_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefThumbprint"); + private final static QName _MustSupportRefEncryptedKey_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportRefEncryptedKey"); + private final static QName _RequireSignatureConfirmation_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireSignatureConfirmation"); + private final static QName _Trust10_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "Trust10"); + private final static QName _MustSupportClientChallenge_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportClientChallenge"); + private final static QName _MustSupportServerChallenge_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportServerChallenge"); + private final static QName _RequireClientEntropy_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireClientEntropy"); + private final static QName _RequireServerEntropy_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireServerEntropy"); + private final static QName _MustSupportIssuedTokens_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "MustSupportIssuedTokens"); + private final static QName _RequireRequestSecurityTokenCollection_QNAME = new QName("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", "RequireRequestSecurityTokenCollection"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.wsfederation.jaxb.wsspolicy * */ public ObjectFactory() { - super(grammarInfo); } /** - * Create an instance of the specified Java content interface. + * Create an instance of {@link TokenAssertionType } * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); + public TokenAssertionType createTokenAssertionType() { + return new TokenAssertionType(); } /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. + * Create an instance of {@link NestedPolicyType } * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); + public NestedPolicyType createNestedPolicyType() { + return new NestedPolicyType(); } /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. + * Create an instance of {@link SePartsType } * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); + public SePartsType createSePartsType() { + return new SePartsType(); } /** - * Create an instance of TripleDesElement + * Create an instance of {@link SerElementsType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesElement createTripleDesElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TripleDesElementImpl(); + public SerElementsType createSerElementsType() { + return new SerElementsType(); } /** - * Create an instance of Wss11Element + * Create an instance of {@link QNameAssertionType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Wss11Element createWss11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Wss11ElementImpl(); + public QNameAssertionType createQNameAssertionType() { + return new QNameAssertionType(); } /** - * Create an instance of ProtectionTokenElement + * Create an instance of {@link IssuedTokenType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.ProtectionTokenElement createProtectionTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.ProtectionTokenElementImpl(); + public IssuedTokenType createIssuedTokenType() { + return new IssuedTokenType(); } /** - * Create an instance of HttpBasicAuthenticationElement + * Create an instance of {@link SpnegoContextTokenType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.HttpBasicAuthenticationElement createHttpBasicAuthenticationElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HttpBasicAuthenticationElementImpl(); + public SpnegoContextTokenType createSpnegoContextTokenType() { + return new SpnegoContextTokenType(); } /** - * Create an instance of RequireClientCertificateElement + * Create an instance of {@link SecureConversationTokenType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireClientCertificateElement createRequireClientCertificateElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireClientCertificateElementImpl(); + public SecureConversationTokenType createSecureConversationTokenType() { + return new SecureConversationTokenType(); } /** - * Create an instance of Basic256Rsa15Element + * Create an instance of {@link EmptyType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Rsa15Element createBasic256Rsa15Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic256Rsa15ElementImpl(); + public EmptyType createEmptyType() { + return new EmptyType(); } /** - * Create an instance of Basic128Rsa15Element + * Create an instance of {@link HeaderType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Rsa15Element createBasic128Rsa15Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic128Rsa15ElementImpl(); + public HeaderType createHeaderType() { + return new HeaderType(); } /** - * Create an instance of Basic128Element + * Create an instance of {@link RequestSecurityTokenTemplateType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Element createBasic128Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic128ElementImpl(); + public RequestSecurityTokenTemplateType createRequestSecurityTokenTemplateType() { + return new RequestSecurityTokenTemplateType(); } /** - * Create an instance of WssSamlV20Token11Element + * Create an instance of {@link JAXBElement }{@code <}{@link SePartsType }{@code >} * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV20Token11Element createWssSamlV20Token11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssSamlV20Token11ElementImpl(); - } - - /** - * Create an instance of XPathFilter20Element - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.XPathFilter20Element createXPathFilter20Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.XPathFilter20ElementImpl(); - } - - /** - * Create an instance of RequestSecurityTokenTemplateType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequestSecurityTokenTemplateType createRequestSecurityTokenTemplateType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequestSecurityTokenTemplateTypeImpl(); - } - - /** - * Create an instance of HashPasswordElement - * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SePartsType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.HashPasswordElement createHashPasswordElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HashPasswordElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SignedParts") + public JAXBElement createSignedParts(SePartsType value) { + return new JAXBElement(_SignedParts_QNAME, SePartsType.class, null, value); } /** - * Create an instance of OnlySignEntireHeadersAndBodyElement + * Create an instance of {@link JAXBElement }{@code <}{@link SePartsType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SePartsType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.OnlySignEntireHeadersAndBodyElement createOnlySignEntireHeadersAndBodyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.OnlySignEntireHeadersAndBodyElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "EncryptedParts") + public JAXBElement createEncryptedParts(SePartsType value) { + return new JAXBElement(_EncryptedParts_QNAME, SePartsType.class, null, value); } /** - * Create an instance of LayoutElement + * Create an instance of {@link JAXBElement }{@code <}{@link SerElementsType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SerElementsType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.LayoutElement createLayoutElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.LayoutElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SignedElements") + public JAXBElement createSignedElements(SerElementsType value) { + return new JAXBElement(_SignedElements_QNAME, SerElementsType.class, null, value); } /** - * Create an instance of XPath10Element + * Create an instance of {@link JAXBElement }{@code <}{@link SerElementsType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SerElementsType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.XPath10Element createXPath10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.XPath10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "EncryptedElements") + public JAXBElement createEncryptedElements(SerElementsType value) { + return new JAXBElement(_EncryptedElements_QNAME, SerElementsType.class, null, value); } /** - * Create an instance of WssRelV10Token10Element + * Create an instance of {@link JAXBElement }{@code <}{@link SerElementsType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SerElementsType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV10Token10Element createWssRelV10Token10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssRelV10Token10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequiredElements") + public JAXBElement createRequiredElements(SerElementsType value) { + return new JAXBElement(_RequiredElements_QNAME, SerElementsType.class, null, value); } /** - * Create an instance of Basic192Element + * Create an instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Element createBasic192Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic192ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "UsernameToken") + public JAXBElement createUsernameToken(TokenAssertionType value) { + return new JAXBElement(_UsernameToken_QNAME, TokenAssertionType.class, null, value); } /** - * Create an instance of SupportingTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SupportingTokensElement createSupportingTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SupportingTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "NoPassword") + public JAXBElement createNoPassword(QNameAssertionType value) { + return new JAXBElement(_NoPassword_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of InitiatorTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorTokenElement createInitiatorTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.InitiatorTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "HashPassword") + public JAXBElement createHashPassword(QNameAssertionType value) { + return new JAXBElement(_HashPassword_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of MustSupportRefIssuerSerialElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefIssuerSerialElement createMustSupportRefIssuerSerialElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefIssuerSerialElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssUsernameToken10") + public JAXBElement createWssUsernameToken10(QNameAssertionType value) { + return new JAXBElement(_WssUsernameToken10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SecurityContextTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SecurityContextTokenElement createSecurityContextTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SecurityContextTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssUsernameToken11") + public JAXBElement createWssUsernameToken11(QNameAssertionType value) { + return new JAXBElement(_WssUsernameToken11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireIssuerSerialReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link IssuedTokenType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link IssuedTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireIssuerSerialReferenceElement createRequireIssuerSerialReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireIssuerSerialReferenceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "IssuedToken") + public JAXBElement createIssuedToken(IssuedTokenType value) { + return new JAXBElement(_IssuedToken_QNAME, IssuedTokenType.class, null, value); } /** - * Create an instance of WssKerberosV5ApReqToken11Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssKerberosV5ApReqToken11Element createWssKerberosV5ApReqToken11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssKerberosV5ApReqToken11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireDerivedKeys") + public JAXBElement createRequireDerivedKeys(QNameAssertionType value) { + return new JAXBElement(_RequireDerivedKeys_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of QNameAssertionType + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType createQNameAssertionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.QNameAssertionTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireImplicitDerivedKeys") + public JAXBElement createRequireImplicitDerivedKeys(QNameAssertionType value) { + return new JAXBElement(_RequireImplicitDerivedKeys_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of STRTransform10Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.STRTransform10Element createSTRTransform10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.STRTransform10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireExplicitDerivedKeys") + public JAXBElement createRequireExplicitDerivedKeys(QNameAssertionType value) { + return new JAXBElement(_RequireExplicitDerivedKeys_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireExplicitDerivedKeysElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExplicitDerivedKeysElement createRequireExplicitDerivedKeysElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireExplicitDerivedKeysElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireExternalReference") + public JAXBElement createRequireExternalReference(QNameAssertionType value) { + return new JAXBElement(_RequireExternalReference_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of AbsXPathElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.AbsXPathElement createAbsXPathElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.AbsXPathElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireInternalReference") + public JAXBElement createRequireInternalReference(QNameAssertionType value) { + return new JAXBElement(_RequireInternalReference_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of TripleDesRsa15Element + * Create an instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesRsa15Element createTripleDesRsa15Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TripleDesRsa15ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "X509Token") + public JAXBElement createX509Token(TokenAssertionType value) { + return new JAXBElement(_X509Token_QNAME, TokenAssertionType.class, null, value); } /** - * Create an instance of EncryptBeforeSigningElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptBeforeSigningElement createEncryptBeforeSigningElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptBeforeSigningElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireKeyIdentifierReference") + public JAXBElement createRequireKeyIdentifierReference(QNameAssertionType value) { + return new JAXBElement(_RequireKeyIdentifierReference_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of EncryptionTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptionTokenElement createEncryptionTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptionTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireIssuerSerialReference") + public JAXBElement createRequireIssuerSerialReference(QNameAssertionType value) { + return new JAXBElement(_RequireIssuerSerialReference_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireSignatureConfirmationElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireSignatureConfirmationElement createRequireSignatureConfirmationElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireSignatureConfirmationElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireEmbeddedTokenReference") + public JAXBElement createRequireEmbeddedTokenReference(QNameAssertionType value) { + return new JAXBElement(_RequireEmbeddedTokenReference_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SignatureTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SignatureTokenElement createSignatureTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignatureTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireThumbprintReference") + public JAXBElement createRequireThumbprintReference(QNameAssertionType value) { + return new JAXBElement(_RequireThumbprintReference_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssX509V3Token10Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V3Token10Element createWssX509V3Token10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509V3Token10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssX509V3Token10") + public JAXBElement createWssX509V3Token10(QNameAssertionType value) { + return new JAXBElement(_WssX509V3Token10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of Trust10Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Trust10Element createTrust10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Trust10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssX509Pkcs7Token10") + public JAXBElement createWssX509Pkcs7Token10(QNameAssertionType value) { + return new JAXBElement(_WssX509Pkcs7Token10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireExternalUriReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExternalUriReferenceElement createRequireExternalUriReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireExternalUriReferenceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssX509PkiPathV1Token10") + public JAXBElement createWssX509PkiPathV1Token10(QNameAssertionType value) { + return new JAXBElement(_WssX509PkiPathV1Token10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireServerEntropyElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireServerEntropyElement createRequireServerEntropyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireServerEntropyElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssX509V1Token11") + public JAXBElement createWssX509V1Token11(QNameAssertionType value) { + return new JAXBElement(_WssX509V1Token11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of IssuedTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.IssuedTokenElement createIssuedTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.IssuedTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssX509V3Token11") + public JAXBElement createWssX509V3Token11(QNameAssertionType value) { + return new JAXBElement(_WssX509V3Token11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RecipientSignatureTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientSignatureTokenElement createRecipientSignatureTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RecipientSignatureTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssX509Pkcs7Token11") + public JAXBElement createWssX509Pkcs7Token11(QNameAssertionType value) { + return new JAXBElement(_WssX509Pkcs7Token11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of HeaderType + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.HeaderType createHeaderType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HeaderTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssX509PkiPathV1Token11") + public JAXBElement createWssX509PkiPathV1Token11(QNameAssertionType value) { + return new JAXBElement(_WssX509PkiPathV1Token11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of InitiatorSignatureTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorSignatureTokenElement createInitiatorSignatureTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.InitiatorSignatureTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "KerberosToken") + public JAXBElement createKerberosToken(TokenAssertionType value) { + return new JAXBElement(_KerberosToken_QNAME, TokenAssertionType.class, null, value); } /** - * Create an instance of LaxTsLastElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.LaxTsLastElement createLaxTsLastElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.LaxTsLastElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssKerberosV5ApReqToken11") + public JAXBElement createWssKerberosV5ApReqToken11(QNameAssertionType value) { + return new JAXBElement(_WssKerberosV5ApReqToken11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SignedElementsElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SignedElementsElement createSignedElementsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedElementsElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssGssKerberosV5ApReqToken11") + public JAXBElement createWssGssKerberosV5ApReqToken11(QNameAssertionType value) { + return new JAXBElement(_WssGssKerberosV5ApReqToken11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of AsymmetricBindingElement + * Create an instance of {@link JAXBElement }{@code <}{@link SpnegoContextTokenType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SpnegoContextTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.AsymmetricBindingElement createAsymmetricBindingElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.AsymmetricBindingElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SpnegoContextToken") + public JAXBElement createSpnegoContextToken(SpnegoContextTokenType value) { + return new JAXBElement(_SpnegoContextToken_QNAME, SpnegoContextTokenType.class, null, value); } /** - * Create an instance of SamlTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SamlTokenElement createSamlTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SamlTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SecurityContextToken") + public JAXBElement createSecurityContextToken(TokenAssertionType value) { + return new JAXBElement(_SecurityContextToken_QNAME, TokenAssertionType.class, null, value); } /** - * Create an instance of EndorsingSupportingTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.EndorsingSupportingTokensElement createEndorsingSupportingTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EndorsingSupportingTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireExternalUriReference") + public JAXBElement createRequireExternalUriReference(QNameAssertionType value) { + return new JAXBElement(_RequireExternalUriReference_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssX509Pkcs7Token11Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509Pkcs7Token11Element createWssX509Pkcs7Token11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509Pkcs7Token11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SC200502SecurityContextToken") + public JAXBElement createSC200502SecurityContextToken(QNameAssertionType value) { + return new JAXBElement(_SC200502SecurityContextToken_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of TripleDesSha256Element + * Create an instance of {@link JAXBElement }{@code <}{@link SecureConversationTokenType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SecureConversationTokenType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesSha256Element createTripleDesSha256Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TripleDesSha256ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SecureConversationToken") + public JAXBElement createSecureConversationToken(SecureConversationTokenType value) { + return new JAXBElement(_SecureConversationToken_QNAME, SecureConversationTokenType.class, null, value); } /** - * Create an instance of RequireDerivedKeysElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireDerivedKeysElement createRequireDerivedKeysElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireDerivedKeysElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "BootstrapPolicy") + public JAXBElement createBootstrapPolicy(NestedPolicyType value) { + return new JAXBElement(_BootstrapPolicy_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of TokenAssertionType + * Create an instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.TokenAssertionType createTokenAssertionType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TokenAssertionTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SamlToken") + public JAXBElement createSamlToken(TokenAssertionType value) { + return new JAXBElement(_SamlToken_QNAME, TokenAssertionType.class, null, value); } /** - * Create an instance of HttpDigestAuthenticationElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.HttpDigestAuthenticationElement createHttpDigestAuthenticationElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HttpDigestAuthenticationElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssSamlV11Token10") + public JAXBElement createWssSamlV11Token10(QNameAssertionType value) { + return new JAXBElement(_WssSamlV11Token10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of MustSupportClientChallengeElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportClientChallengeElement createMustSupportClientChallengeElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportClientChallengeElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssSamlV11Token11") + public JAXBElement createWssSamlV11Token11(QNameAssertionType value) { + return new JAXBElement(_WssSamlV11Token11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of IncludeTimestampElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.IncludeTimestampElement createIncludeTimestampElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.IncludeTimestampElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssSamlV20Token11") + public JAXBElement createWssSamlV20Token11(QNameAssertionType value) { + return new JAXBElement(_WssSamlV20Token11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of MustSupportRefThumbprintElement + * Create an instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefThumbprintElement createMustSupportRefThumbprintElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefThumbprintElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RelToken") + public JAXBElement createRelToken(TokenAssertionType value) { + return new JAXBElement(_RelToken_QNAME, TokenAssertionType.class, null, value); } /** - * Create an instance of InitiatorEncryptionTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.InitiatorEncryptionTokenElement createInitiatorEncryptionTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.InitiatorEncryptionTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssRelV10Token10") + public JAXBElement createWssRelV10Token10(QNameAssertionType value) { + return new JAXBElement(_WssRelV10Token10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SignedSupportingTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SignedSupportingTokensElement createSignedSupportingTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedSupportingTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssRelV20Token10") + public JAXBElement createWssRelV20Token10(QNameAssertionType value) { + return new JAXBElement(_WssRelV20Token10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssRelV20Token11Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV20Token11Element createWssRelV20Token11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssRelV20Token11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssRelV10Token11") + public JAXBElement createWssRelV10Token11(QNameAssertionType value) { + return new JAXBElement(_WssRelV10Token11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of LaxElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.LaxElement createLaxElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.LaxElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "WssRelV20Token11") + public JAXBElement createWssRelV20Token11(QNameAssertionType value) { + return new JAXBElement(_WssRelV20Token11_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssX509V3Token11Element + * Create an instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TokenAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V3Token11Element createWssX509V3Token11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509V3Token11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "HttpsToken") + public JAXBElement createHttpsToken(TokenAssertionType value) { + return new JAXBElement(_HttpsToken_QNAME, TokenAssertionType.class, null, value); } /** - * Create an instance of MustSupportIssuedTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportIssuedTokensElement createMustSupportIssuedTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportIssuedTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "HttpBasicAuthentication") + public JAXBElement createHttpBasicAuthentication(QNameAssertionType value) { + return new JAXBElement(_HttpBasicAuthentication_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireImplicitDerivedKeysElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireImplicitDerivedKeysElement createRequireImplicitDerivedKeysElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireImplicitDerivedKeysElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "HttpDigestAuthentication") + public JAXBElement createHttpDigestAuthentication(QNameAssertionType value) { + return new JAXBElement(_HttpDigestAuthentication_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SignedEndorsingEncryptedSupportingTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEndorsingEncryptedSupportingTokensElement createSignedEndorsingEncryptedSupportingTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedEndorsingEncryptedSupportingTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireClientCertificate") + public JAXBElement createRequireClientCertificate(QNameAssertionType value) { + return new JAXBElement(_RequireClientCertificate_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SignedEncryptedSupportingTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEncryptedSupportingTokensElement createSignedEncryptedSupportingTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedEncryptedSupportingTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "AlgorithmSuite") + public JAXBElement createAlgorithmSuite(NestedPolicyType value) { + return new JAXBElement(_AlgorithmSuite_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of SePartsType + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SePartsType createSePartsType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SePartsTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic256") + public JAXBElement createBasic256(QNameAssertionType value) { + return new JAXBElement(_Basic256_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireClientEntropyElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireClientEntropyElement createRequireClientEntropyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireClientEntropyElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic192") + public JAXBElement createBasic192(QNameAssertionType value) { + return new JAXBElement(_Basic192_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of EncryptSignatureElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptSignatureElement createEncryptSignatureElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptSignatureElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic128") + public JAXBElement createBasic128(QNameAssertionType value) { + return new JAXBElement(_Basic128_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of Basic192Rsa15Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Rsa15Element createBasic192Rsa15Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic192Rsa15ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "TripleDes") + public JAXBElement createTripleDes(QNameAssertionType value) { + return new JAXBElement(_TripleDes_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of TripleDesSha256Rsa15Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.TripleDesSha256Rsa15Element createTripleDesSha256Rsa15Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TripleDesSha256Rsa15ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic256Rsa15") + public JAXBElement createBasic256Rsa15(QNameAssertionType value) { + return new JAXBElement(_Basic256Rsa15_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of MustSupportServerChallengeElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportServerChallengeElement createMustSupportServerChallengeElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportServerChallengeElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic192Rsa15") + public JAXBElement createBasic192Rsa15(QNameAssertionType value) { + return new JAXBElement(_Basic192Rsa15_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireEmbeddedTokenReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireEmbeddedTokenReferenceElement createRequireEmbeddedTokenReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireEmbeddedTokenReferenceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic128Rsa15") + public JAXBElement createBasic128Rsa15(QNameAssertionType value) { + return new JAXBElement(_Basic128Rsa15_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of AlgorithmSuiteElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.AlgorithmSuiteElement createAlgorithmSuiteElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.AlgorithmSuiteElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "TripleDesRsa15") + public JAXBElement createTripleDesRsa15(QNameAssertionType value) { + return new JAXBElement(_TripleDesRsa15_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireExternalReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireExternalReferenceElement createRequireExternalReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireExternalReferenceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic256Sha256") + public JAXBElement createBasic256Sha256(QNameAssertionType value) { + return new JAXBElement(_Basic256Sha256_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RecipientEncryptionTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientEncryptionTokenElement createRecipientEncryptionTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RecipientEncryptionTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic192Sha256") + public JAXBElement createBasic192Sha256(QNameAssertionType value) { + return new JAXBElement(_Basic192Sha256_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssUsernameToken10Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssUsernameToken10Element createWssUsernameToken10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssUsernameToken10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic128Sha256") + public JAXBElement createBasic128Sha256(QNameAssertionType value) { + return new JAXBElement(_Basic128Sha256_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of NestedPolicyType + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType createNestedPolicyType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.NestedPolicyTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "TripleDesSha256") + public JAXBElement createTripleDesSha256(QNameAssertionType value) { + return new JAXBElement(_TripleDesSha256_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of InclusiveC14NElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.InclusiveC14NElement createInclusiveC14NElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.InclusiveC14NElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic256Sha256Rsa15") + public JAXBElement createBasic256Sha256Rsa15(QNameAssertionType value) { + return new JAXBElement(_Basic256Sha256Rsa15_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of TransportBindingElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.TransportBindingElement createTransportBindingElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TransportBindingElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic192Sha256Rsa15") + public JAXBElement createBasic192Sha256Rsa15(QNameAssertionType value) { + return new JAXBElement(_Basic192Sha256Rsa15_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of EncryptedPartsElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptedPartsElement createEncryptedPartsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptedPartsElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Basic128Sha256Rsa15") + public JAXBElement createBasic128Sha256Rsa15(QNameAssertionType value) { + return new JAXBElement(_Basic128Sha256Rsa15_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of Wss10Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Wss10Element createWss10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Wss10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "TripleDesSha256Rsa15") + public JAXBElement createTripleDesSha256Rsa15(QNameAssertionType value) { + return new JAXBElement(_TripleDesSha256Rsa15_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of TransportTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.TransportTokenElement createTransportTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.TransportTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "InclusiveC14N") + public JAXBElement createInclusiveC14N(QNameAssertionType value) { + return new JAXBElement(_InclusiveC14N_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of HttpsTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.HttpsTokenElement createHttpsTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.HttpsTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SOAPNormalization10") + public JAXBElement createSOAPNormalization10(QNameAssertionType value) { + return new JAXBElement(_SOAPNormalization10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SecureConversationTokenType + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SecureConversationTokenType createSecureConversationTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SecureConversationTokenTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "STRTransform10") + public JAXBElement createSTRTransform10(QNameAssertionType value) { + return new JAXBElement(_STRTransform10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of Basic256Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Element createBasic256Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic256ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "XPath10") + public JAXBElement createXPath10(QNameAssertionType value) { + return new JAXBElement(_XPath10_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SecureConversationTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SecureConversationTokenElement createSecureConversationTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SecureConversationTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "XPathFilter20") + public JAXBElement createXPathFilter20(QNameAssertionType value) { + return new JAXBElement(_XPathFilter20_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of Basic192Sha256Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Sha256Element createBasic192Sha256Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic192Sha256ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "AbsXPath") + public JAXBElement createAbsXPath(QNameAssertionType value) { + return new JAXBElement(_AbsXPath_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssRelV20Token10Element + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV20Token10Element createWssRelV20Token10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssRelV20Token10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Layout") + public JAXBElement createLayout(NestedPolicyType value) { + return new JAXBElement(_Layout_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of Basic192Sha256Rsa15Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic192Sha256Rsa15Element createBasic192Sha256Rsa15Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic192Sha256Rsa15ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Strict") + public JAXBElement createStrict(QNameAssertionType value) { + return new JAXBElement(_Strict_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssSamlV11Token11Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV11Token11Element createWssSamlV11Token11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssSamlV11Token11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Lax") + public JAXBElement createLax(QNameAssertionType value) { + return new JAXBElement(_Lax_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of MustSupportRefExternalURIElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefExternalURIElement createMustSupportRefExternalURIElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefExternalURIElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "LaxTsFirst") + public JAXBElement createLaxTsFirst(QNameAssertionType value) { + return new JAXBElement(_LaxTsFirst_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of EncryptedElementsElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.EncryptedElementsElement createEncryptedElementsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EncryptedElementsElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "LaxTsLast") + public JAXBElement createLaxTsLast(QNameAssertionType value) { + return new JAXBElement(_LaxTsLast_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssUsernameToken11Element + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssUsernameToken11Element createWssUsernameToken11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssUsernameToken11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "TransportBinding") + public JAXBElement createTransportBinding(NestedPolicyType value) { + return new JAXBElement(_TransportBinding_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of WssX509Pkcs7Token10Element + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509Pkcs7Token10Element createWssX509Pkcs7Token10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509Pkcs7Token10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "TransportToken") + public JAXBElement createTransportToken(NestedPolicyType value) { + return new JAXBElement(_TransportToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of SC200502SecurityContextTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SC200502SecurityContextTokenElement createSC200502SecurityContextTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SC200502SecurityContextTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "IncludeTimestamp") + public JAXBElement createIncludeTimestamp(QNameAssertionType value) { + return new JAXBElement(_IncludeTimestamp_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RecipientTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RecipientTokenElement createRecipientTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RecipientTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SymmetricBinding") + public JAXBElement createSymmetricBinding(NestedPolicyType value) { + return new JAXBElement(_SymmetricBinding_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of SOAPNormalization10Element + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SOAPNormalization10Element createSOAPNormalization10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SOAPNormalization10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "EncryptionToken") + public JAXBElement createEncryptionToken(NestedPolicyType value) { + return new JAXBElement(_EncryptionToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of X509TokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.X509TokenElement createX509TokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.X509TokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SignatureToken") + public JAXBElement createSignatureToken(NestedPolicyType value) { + return new JAXBElement(_SignatureToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of KerberosTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.KerberosTokenElement createKerberosTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.KerberosTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "ProtectionToken") + public JAXBElement createProtectionToken(NestedPolicyType value) { + return new JAXBElement(_ProtectionToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of MustSupportRefKeyIdentifierElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefKeyIdentifierElement createMustSupportRefKeyIdentifierElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefKeyIdentifierElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "EncryptBeforeSigning") + public JAXBElement createEncryptBeforeSigning(QNameAssertionType value) { + return new JAXBElement(_EncryptBeforeSigning_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of Basic256Sha256Rsa15Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Sha256Rsa15Element createBasic256Sha256Rsa15Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic256Sha256Rsa15ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "EncryptSignature") + public JAXBElement createEncryptSignature(QNameAssertionType value) { + return new JAXBElement(_EncryptSignature_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssRelV10Token11Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssRelV10Token11Element createWssRelV10Token11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssRelV10Token11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "ProtectTokens") + public JAXBElement createProtectTokens(QNameAssertionType value) { + return new JAXBElement(_ProtectTokens_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssX509PkiPathV1Token10Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509PkiPathV1Token10Element createWssX509PkiPathV1Token10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509PkiPathV1Token10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "OnlySignEntireHeadersAndBody") + public JAXBElement createOnlySignEntireHeadersAndBody(QNameAssertionType value) { + return new JAXBElement(_OnlySignEntireHeadersAndBody_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SignedPartsElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SignedPartsElement createSignedPartsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedPartsElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "AsymmetricBinding") + public JAXBElement createAsymmetricBinding(NestedPolicyType value) { + return new JAXBElement(_AsymmetricBinding_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of MustSupportRefEncryptedKeyElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefEncryptedKeyElement createMustSupportRefEncryptedKeyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefEncryptedKeyElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "InitiatorToken") + public JAXBElement createInitiatorToken(NestedPolicyType value) { + return new JAXBElement(_InitiatorToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of NoPasswordElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.NoPasswordElement createNoPasswordElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.NoPasswordElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "InitiatorSignatureToken") + public JAXBElement createInitiatorSignatureToken(NestedPolicyType value) { + return new JAXBElement(_InitiatorSignatureToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of StrictElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.StrictElement createStrictElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.StrictElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "InitiatorEncryptionToken") + public JAXBElement createInitiatorEncryptionToken(NestedPolicyType value) { + return new JAXBElement(_InitiatorEncryptionToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of SerElementsType + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SerElementsType createSerElementsType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SerElementsTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RecipientToken") + public JAXBElement createRecipientToken(NestedPolicyType value) { + return new JAXBElement(_RecipientToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of WssX509PkiPathV1Token11Element + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509PkiPathV1Token11Element createWssX509PkiPathV1Token11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509PkiPathV1Token11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RecipientSignatureToken") + public JAXBElement createRecipientSignatureToken(NestedPolicyType value) { + return new JAXBElement(_RecipientSignatureToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of Basic128Sha256Element + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Sha256Element createBasic128Sha256Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic128Sha256ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RecipientEncryptionToken") + public JAXBElement createRecipientEncryptionToken(NestedPolicyType value) { + return new JAXBElement(_RecipientEncryptionToken_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of SignedEndorsingSupportingTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SignedEndorsingSupportingTokensElement createSignedEndorsingSupportingTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SignedEndorsingSupportingTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SupportingTokens") + public JAXBElement createSupportingTokens(NestedPolicyType value) { + return new JAXBElement(_SupportingTokens_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of MustSupportRefEmbeddedTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.MustSupportRefEmbeddedTokenElement createMustSupportRefEmbeddedTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.MustSupportRefEmbeddedTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SignedSupportingTokens") + public JAXBElement createSignedSupportingTokens(NestedPolicyType value) { + return new JAXBElement(_SignedSupportingTokens_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of SymmetricBindingElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SymmetricBindingElement createSymmetricBindingElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SymmetricBindingElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "EndorsingSupportingTokens") + public JAXBElement createEndorsingSupportingTokens(NestedPolicyType value) { + return new JAXBElement(_EndorsingSupportingTokens_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of WssSamlV11Token10Element + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssSamlV11Token10Element createWssSamlV11Token10Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssSamlV11Token10ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SignedEndorsingSupportingTokens") + public JAXBElement createSignedEndorsingSupportingTokens(NestedPolicyType value) { + return new JAXBElement(_SignedEndorsingSupportingTokens_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of ProtectTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.ProtectTokensElement createProtectTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.ProtectTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SignedEncryptedSupportingTokens") + public JAXBElement createSignedEncryptedSupportingTokens(NestedPolicyType value) { + return new JAXBElement(_SignedEncryptedSupportingTokens_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of IssuedTokenType + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.IssuedTokenType createIssuedTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.IssuedTokenTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "EndorsingEncryptedSupportingTokens") + public JAXBElement createEndorsingEncryptedSupportingTokens(NestedPolicyType value) { + return new JAXBElement(_EndorsingEncryptedSupportingTokens_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of RequiredElementsElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequiredElementsElement createRequiredElementsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequiredElementsElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "SignedEndorsingEncryptedSupportingTokens") + public JAXBElement createSignedEndorsingEncryptedSupportingTokens(NestedPolicyType value) { + return new JAXBElement(_SignedEndorsingEncryptedSupportingTokens_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of LaxTsFirstElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.LaxTsFirstElement createLaxTsFirstElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.LaxTsFirstElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Wss10") + public JAXBElement createWss10(NestedPolicyType value) { + return new JAXBElement(_Wss10_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of RequireThumbprintReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireThumbprintReferenceElement createRequireThumbprintReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireThumbprintReferenceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportRefKeyIdentifier") + public JAXBElement createMustSupportRefKeyIdentifier(QNameAssertionType value) { + return new JAXBElement(_MustSupportRefKeyIdentifier_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of EmptyType + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.EmptyType createEmptyType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EmptyTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportRefIssuerSerial") + public JAXBElement createMustSupportRefIssuerSerial(QNameAssertionType value) { + return new JAXBElement(_MustSupportRefIssuerSerial_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SpnegoContextTokenType + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SpnegoContextTokenType createSpnegoContextTokenType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SpnegoContextTokenTypeImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportRefExternalURI") + public JAXBElement createMustSupportRefExternalURI(QNameAssertionType value) { + return new JAXBElement(_MustSupportRefExternalURI_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of BootstrapPolicyElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.BootstrapPolicyElement createBootstrapPolicyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.BootstrapPolicyElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportRefEmbeddedToken") + public JAXBElement createMustSupportRefEmbeddedToken(QNameAssertionType value) { + return new JAXBElement(_MustSupportRefEmbeddedToken_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssX509V1Token11Element + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssX509V1Token11Element createWssX509V1Token11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssX509V1Token11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Wss11") + public JAXBElement createWss11(NestedPolicyType value) { + return new JAXBElement(_Wss11_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of RelTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RelTokenElement createRelTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RelTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportRefThumbprint") + public JAXBElement createMustSupportRefThumbprint(QNameAssertionType value) { + return new JAXBElement(_MustSupportRefThumbprint_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of UsernameTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.UsernameTokenElement createUsernameTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.UsernameTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportRefEncryptedKey") + public JAXBElement createMustSupportRefEncryptedKey(QNameAssertionType value) { + return new JAXBElement(_MustSupportRefEncryptedKey_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireInternalReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireInternalReferenceElement createRequireInternalReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireInternalReferenceElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireSignatureConfirmation") + public JAXBElement createRequireSignatureConfirmation(QNameAssertionType value) { + return new JAXBElement(_RequireSignatureConfirmation_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of SpnegoContextTokenElement + * Create an instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link NestedPolicyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.SpnegoContextTokenElement createSpnegoContextTokenElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.SpnegoContextTokenElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "Trust10") + public JAXBElement createTrust10(NestedPolicyType value) { + return new JAXBElement(_Trust10_QNAME, NestedPolicyType.class, null, value); } /** - * Create an instance of EndorsingEncryptedSupportingTokensElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.EndorsingEncryptedSupportingTokensElement createEndorsingEncryptedSupportingTokensElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.EndorsingEncryptedSupportingTokensElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportClientChallenge") + public JAXBElement createMustSupportClientChallenge(QNameAssertionType value) { + return new JAXBElement(_MustSupportClientChallenge_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of Basic128Sha256Rsa15Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic128Sha256Rsa15Element createBasic128Sha256Rsa15Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic128Sha256Rsa15ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportServerChallenge") + public JAXBElement createMustSupportServerChallenge(QNameAssertionType value) { + return new JAXBElement(_MustSupportServerChallenge_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of Basic256Sha256Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.Basic256Sha256Element createBasic256Sha256Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.Basic256Sha256ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireClientEntropy") + public JAXBElement createRequireClientEntropy(QNameAssertionType value) { + return new JAXBElement(_RequireClientEntropy_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of WssGssKerberosV5ApReqToken11Element + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.WssGssKerberosV5ApReqToken11Element createWssGssKerberosV5ApReqToken11Element() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.WssGssKerberosV5ApReqToken11ElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireServerEntropy") + public JAXBElement createRequireServerEntropy(QNameAssertionType value) { + return new JAXBElement(_RequireServerEntropy_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireRequestSecurityTokenCollectionElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireRequestSecurityTokenCollectionElement createRequireRequestSecurityTokenCollectionElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireRequestSecurityTokenCollectionElementImpl(); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "MustSupportIssuedTokens") + public JAXBElement createMustSupportIssuedTokens(QNameAssertionType value) { + return new JAXBElement(_MustSupportIssuedTokens_QNAME, QNameAssertionType.class, null, value); } /** - * Create an instance of RequireKeyIdentifierReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.wsspolicy.RequireKeyIdentifierReferenceElement createRequireKeyIdentifierReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.wsspolicy.impl.RequireKeyIdentifierReferenceElementImpl(); - } + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link QNameAssertionType }{@code >} + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512", name = "RequireRequestSecurityTokenCollection") + public JAXBElement createRequireRequestSecurityTokenCollection(QNameAssertionType value) { + return new JAXBElement(_RequireRequestSecurityTokenCollection_QNAME, QNameAssertionType.class, null, value); + } + + // ---- No-arg element factory methods for JAXB 1.x compatibility ---- + + public AsymmetricBindingElement createAsymmetricBindingElement() { return new AsymmetricBindingElement(); } + public SymmetricBindingElement createSymmetricBindingElement() { return new SymmetricBindingElement(); } + public InitiatorTokenElement createInitiatorTokenElement() { return new InitiatorTokenElement(); } + public RecipientTokenElement createRecipientTokenElement() { return new RecipientTokenElement(); } + public ProtectionTokenElement createProtectionTokenElement() { return new ProtectionTokenElement(); } + public AlgorithmSuiteElement createAlgorithmSuiteElement() { return new AlgorithmSuiteElement(); } + public LayoutElement createLayoutElement() { return new LayoutElement(); } + public X509TokenElement createX509TokenElement() { return new X509TokenElement(); } + public UsernameTokenElement createUsernameTokenElement() { return new UsernameTokenElement(); } + public SamlTokenElement createSamlTokenElement() { return new SamlTokenElement(); } + public KerberosTokenElement createKerberosTokenElement() { return new KerberosTokenElement(); } + public WssX509V3Token10Element createWssX509V3Token10Element() { return new WssX509V3Token10Element(); } + public WssUsernameToken10Element createWssUsernameToken10Element() { return new WssUsernameToken10Element(); } + public WssSamlV20Token11Element createWssSamlV20Token11Element() { return new WssSamlV20Token11Element(); } + public WssSamlV11Token11Element createWssSamlV11Token11Element() { return new WssSamlV11Token11Element(); } + public Basic128Element createBasic128Element() { return new Basic128Element(); } + public Basic192Element createBasic192Element() { return new Basic192Element(); } + public Basic256Element createBasic256Element() { return new Basic256Element(); } + public TripleDesElement createTripleDesElement() { return new TripleDesElement(); } + public WssKerberosV5ApReqToken11Element createWssKerberosV5ApReqToken11Element() { return new WssKerberosV5ApReqToken11Element(); } + public IncludeTimestampElement createIncludeTimestampElement() { return new IncludeTimestampElement(); } + public OnlySignEntireHeadersAndBodyElement createOnlySignEntireHeadersAndBodyElement() { return new OnlySignEntireHeadersAndBodyElement(); } + public LaxElement createLaxElement() { return new LaxElement(); } + public SignedPartsElement createSignedPartsElement() { return new SignedPartsElement(); } + public EncryptedPartsElement createEncryptedPartsElement() { return new EncryptedPartsElement(); } + public IssuedTokenElement createIssuedTokenElement() { return new IssuedTokenElement(); } } diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/OnlySignEntireHeadersAndBodyElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/OnlySignEntireHeadersAndBodyElement.java index 5624005088..d9da5926bf 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/OnlySignEntireHeadersAndBodyElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/OnlySignEntireHeadersAndBodyElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.4 SymmetricBinding Assertion - * - * Java content class for OnlySignEntireHeadersAndBody element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 820) - *

    - *

    - * <element name="OnlySignEntireHeadersAndBody" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface OnlySignEntireHeadersAndBodyElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x OnlySignEntireHeadersAndBodyElement. */ +public class OnlySignEntireHeadersAndBodyElement extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/ProtectionTokenElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/ProtectionTokenElement.java index 17fa6c750b..3cc6659f4f 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/ProtectionTokenElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/ProtectionTokenElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.4 SymmetricBinding Assertion - * - * Java content class for ProtectionToken element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 788) - *

    - *

    - * <element name="ProtectionToken" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}NestedPolicyType"/>
    - * 
    - * - */ -public interface ProtectionTokenElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType -{ - - -} +/** Compatibility shim for JAXB 1.x ProtectionTokenElement. */ +public class ProtectionTokenElement extends NestedPolicyType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/RecipientTokenElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/RecipientTokenElement.java index 880831a681..74b35a062e 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/RecipientTokenElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/RecipientTokenElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.5 AsymmetricBinding Assertion - * - * Java content class for RecipientToken element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 860) - *

    - *

    - * <element name="RecipientToken" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}NestedPolicyType"/>
    - * 
    - * - */ -public interface RecipientTokenElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType -{ - - -} +/** Compatibility shim for JAXB 1.x RecipientTokenElement. */ +public class RecipientTokenElement extends NestedPolicyType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SamlTokenElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SamlTokenElement.java index e43439a0ad..bb23188540 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SamlTokenElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SamlTokenElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.8 SamlToken Assertion - * - * Java content class for SamlToken element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 427) - *

    - *

    - * <element name="SamlToken" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}TokenAssertionType"/>
    - * 
    - * - */ -public interface SamlTokenElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.TokenAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x SamlTokenElement. */ +public class SamlTokenElement extends TokenAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SignedPartsElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SignedPartsElement.java index 3ba49e270f..f76df87735 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SignedPartsElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SignedPartsElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 4.1.1 SignedParts Assertion - * - * Java content class for SignedParts element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 28) - *

    - *

    - * <element name="SignedParts" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}SePartsType"/>
    - * 
    - * - */ -public interface SignedPartsElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.SePartsType -{ - - -} +/** Compatibility shim for JAXB 1.x SignedPartsElement. */ +public class SignedPartsElement extends SePartsType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SymmetricBindingElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SymmetricBindingElement.java index 139d329322..f70d33fba1 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SymmetricBindingElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/SymmetricBindingElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.4 SymmetricBinding Assertion - * - * Java content class for SymmetricBinding element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 767) - *

    - *

    - * <element name="SymmetricBinding" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}NestedPolicyType"/>
    - * 
    - * - */ -public interface SymmetricBindingElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.NestedPolicyType -{ - - -} +/** Compatibility shim for JAXB 1.x SymmetricBindingElement. */ +public class SymmetricBindingElement extends NestedPolicyType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/TripleDesElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/TripleDesElement.java index 5c70167380..10793a3530 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/TripleDesElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/TripleDesElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 7.1 AlgorithmSuite Assertion - * - * Java content class for TripleDes element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 570) - *

    - *

    - * <element name="TripleDes" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface TripleDesElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x TripleDesElement. */ +public class TripleDesElement extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/UsernameTokenElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/UsernameTokenElement.java index d33fca48bc..fd5a2d6615 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/UsernameTokenElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/UsernameTokenElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.1 UsernameToken Assertion - * - * Java content class for UsernameToken element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 110) - *

    - *

    - * <element name="UsernameToken" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}TokenAssertionType"/>
    - * 
    - * - */ -public interface UsernameTokenElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.TokenAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x UsernameTokenElement. */ +public class UsernameTokenElement extends TokenAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssKerberosV5ApReqToken11Element.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssKerberosV5ApReqToken11Element.java index a88f476dcd..03b9fcbe8c 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssKerberosV5ApReqToken11Element.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssKerberosV5ApReqToken11Element.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.4 KerberosToken Assertion - * - * Java content class for WssKerberosV5ApReqToken11 element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 330) - *

    - *

    - * <element name="WssKerberosV5ApReqToken11" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface WssKerberosV5ApReqToken11Element - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x WssKerberosV5ApReqToken11Element. */ +public class WssKerberosV5ApReqToken11Element extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssSamlV11Token11Element.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssSamlV11Token11Element.java index ec71146122..9c0e95f0ec 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssSamlV11Token11Element.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssSamlV11Token11Element.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.8 SamlToken Assertion - * - * Java content class for WssSamlV11Token11 element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 446) - *

    - *

    - * <element name="WssSamlV11Token11" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface WssSamlV11Token11Element - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x WssSamlV11Token11Element. */ +public class WssSamlV11Token11Element extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssSamlV20Token11Element.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssSamlV20Token11Element.java index 0313a8a637..872dcb6642 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssSamlV20Token11Element.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssSamlV20Token11Element.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.8 SamlToken Assertion - * - * Java content class for WssSamlV20Token11 element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 453) - *

    - *

    - * <element name="WssSamlV20Token11" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface WssSamlV20Token11Element - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x WssSamlV20Token11Element. */ +public class WssSamlV20Token11Element extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssUsernameToken10Element.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssUsernameToken10Element.java index 9944864234..b038711782 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssUsernameToken10Element.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssUsernameToken10Element.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.1 UsernameToken Assertion - * - * Java content class for WssUsernameToken10 element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 143) - *

    - *

    - * <element name="WssUsernameToken10" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface WssUsernameToken10Element - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x WssUsernameToken10Element. */ +public class WssUsernameToken10Element extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssX509V3Token10Element.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssX509V3Token10Element.java index 181f2601da..6069935df1 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssX509V3Token10Element.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/WssX509V3Token10Element.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.3 X509Token Assertion - * - * Java content class for WssX509V3Token10 element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 268) - *

    - *

    - * <element name="WssX509V3Token10" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}QNameAssertionType"/>
    - * 
    - * - */ -public interface WssX509V3Token10Element - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.QNameAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x WssX509V3Token10Element. */ +public class WssX509V3Token10Element extends QNameAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/X509TokenElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/X509TokenElement.java index 0cc72f34e7..016f6e39c1 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/X509TokenElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/wsspolicy/X509TokenElement.java @@ -1,28 +1,3 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.wsspolicy; - - -/** - * 5.3.3 X509Token Assertion - * - * Java content class for X509Token element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-securitypolicy-1.2.xsd line 229) - *

    - *

    - * <element name="X509Token" type="{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512}TokenAssertionType"/>
    - * 
    - * - */ -public interface X509TokenElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.wsspolicy.TokenAssertionType -{ - - -} +/** Compatibility shim for JAXB 1.x X509TokenElement. */ +public class X509TokenElement extends TokenAssertionType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/ObjectFactory.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/ObjectFactory.java index d215340f01..b8d8e17535 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/ObjectFactory.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/ObjectFactory.java @@ -1,13 +1,12 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - package com.sun.identity.wsfederation.jaxb.xmlsig; +import java.math.BigInteger; +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; + /** * This object contains factory methods for each @@ -23,924 +22,675 @@ * provided in this class. * */ -public class ObjectFactory - extends com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.DefaultJAXBContextImpl -{ - - private static java.util.HashMap defaultImplementations = new java.util.HashMap(73, 0.75F); - private static java.util.HashMap rootTagMap = new java.util.HashMap(); - public final static com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfo grammarInfo = new com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.identity.wsfederation.jaxb.xmlsig.ObjectFactory.class)); - public final static java.lang.Class version = (com.sun.identity.wsfederation.jaxb.xmlsig.impl.JAXBVersion.class); - - static { - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.KeyValueElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyValueElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertyElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignaturePropertyElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignatureElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.X509IssuerSerialType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509IssuerSerialTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.KeyValueType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyValueTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.KeyInfoType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyInfoTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.KeyNameElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyNameElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.DigestMethodType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.DigestMethodTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.X509DataElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.RSAKeyValueType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.RSAKeyValueTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.PGPDataElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.PGPDataElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.TransformType.XPath.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformTypeImpl$XPathImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignatureMethodType.HMACOutputLength.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureMethodTypeImpl$HMACOutputLengthImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignatureType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.RSAKeyValueElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.RSAKeyValueElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignatureMethodType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureMethodTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.TransformElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.ObjectElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.ObjectElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.DSAKeyValueType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.DSAKeyValueTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.TransformType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignatureValueElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureValueElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.TransformsElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformsElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509CRL.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl$X509CRLImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509IssuerSerial.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl$X509IssuerSerialImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignedInfoElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignedInfoElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509Certificate.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl$X509CertificateImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.TransformsType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformsTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SPKIDataType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SPKIDataTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignatureValueType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureValueTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.ReferenceType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.ReferenceTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.RetrievalMethodType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.RetrievalMethodTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SPKIDataType.SPKISexp.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SPKIDataTypeImpl$SPKISexpImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.KeyInfoElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyInfoElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509SubjectName.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl$X509SubjectNameImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.DigestValueElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.DigestValueElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignedInfoType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignedInfoTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.CanonicalizationMethodElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.CanonicalizationMethodElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignatureMethodElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureMethodElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertyType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignaturePropertyTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.DigestMethodElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.DigestMethodElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.DSAKeyValueElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.DSAKeyValueElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.ReferenceElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.ReferenceElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.MgmtDataElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.MgmtDataElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.CanonicalizationMethodType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.CanonicalizationMethodTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.ManifestType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.ManifestTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertiesElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignaturePropertiesElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.RetrievalMethodElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.RetrievalMethodElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertiesType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignaturePropertiesTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.PGPDataType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.PGPDataTypeImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.ManifestElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.ManifestElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.SPKIDataElement.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.SPKIDataElementImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509SKI.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl$X509SKIImpl"); - defaultImplementations.put((com.sun.identity.wsfederation.jaxb.xmlsig.ObjectType.class), "com.sun.identity.wsfederation.jaxb.xmlsig.impl.ObjectTypeImpl"); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"), (com.sun.identity.wsfederation.jaxb.xmlsig.X509DataElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "Signature"), (com.sun.identity.wsfederation.jaxb.xmlsig.SignatureElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"), (com.sun.identity.wsfederation.jaxb.xmlsig.PGPDataElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"), (com.sun.identity.wsfederation.jaxb.xmlsig.DSAKeyValueElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"), (com.sun.identity.wsfederation.jaxb.xmlsig.SignatureMethodElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"), (com.sun.identity.wsfederation.jaxb.xmlsig.SPKIDataElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"), (com.sun.identity.wsfederation.jaxb.xmlsig.KeyInfoElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"), (com.sun.identity.wsfederation.jaxb.xmlsig.SignedInfoElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue"), (com.sun.identity.wsfederation.jaxb.xmlsig.DigestValueElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"), (com.sun.identity.wsfederation.jaxb.xmlsig.RetrievalMethodElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"), (com.sun.identity.wsfederation.jaxb.xmlsig.DigestMethodElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"), (com.sun.identity.wsfederation.jaxb.xmlsig.CanonicalizationMethodElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"), (com.sun.identity.wsfederation.jaxb.xmlsig.MgmtDataElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "Object"), (com.sun.identity.wsfederation.jaxb.xmlsig.ObjectElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"), (com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertiesElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "KeyName"), (com.sun.identity.wsfederation.jaxb.xmlsig.KeyNameElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue"), (com.sun.identity.wsfederation.jaxb.xmlsig.KeyValueElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "Reference"), (com.sun.identity.wsfederation.jaxb.xmlsig.ReferenceElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"), (com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertyElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"), (com.sun.identity.wsfederation.jaxb.xmlsig.TransformsElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"), (com.sun.identity.wsfederation.jaxb.xmlsig.SignatureValueElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"), (com.sun.identity.wsfederation.jaxb.xmlsig.ManifestElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"), (com.sun.identity.wsfederation.jaxb.xmlsig.RSAKeyValueElement.class)); - rootTagMap.put(new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "Transform"), (com.sun.identity.wsfederation.jaxb.xmlsig.TransformElement.class)); - } +@XmlRegistry +public class ObjectFactory { + + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); + private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); + private final static QName _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); + private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); + private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference"); + private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"); + private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform"); + private final static QName _DigestMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"); + private final static QName _DigestValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue"); + private final static QName _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); + private final static QName _KeyName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyName"); + private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); + private final static QName _KeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue"); + private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); + private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"); + private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"); + private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); + private final static QName _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object"); + private final static QName _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"); + private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); + private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); + private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); + private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); + private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKISexp"); + private final static QName _PGPDataTypePGPKeyID_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID"); + private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket"); + private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); + private final static QName _X509DataTypeX509SKI_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SKI"); + private final static QName _X509DataTypeX509SubjectName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName"); + private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); + private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); + private final static QName _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath"); + private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.wsfederation.jaxb.xmlsig * */ public ObjectFactory() { - super(grammarInfo); - } - - /** - * Create an instance of the specified Java content interface. - * - * @param javaContentInterface - * the Class object of the javacontent interface to instantiate - * @return - * a new instance - * @throws JAXBException - * if an error occurs - */ - public java.lang.Object newInstance(java.lang.Class javaContentInterface) - throws javax.xml.bind.JAXBException - { - return super.newInstance(javaContentInterface); - } - - /** - * Get the specified property. This method can only be - * used to get provider specific properties. - * Attempting to get an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @return - * the value of the requested property - * @throws PropertyException - * when there is an error retrieving the given property or value - */ - public java.lang.Object getProperty(java.lang.String name) - throws javax.xml.bind.PropertyException - { - return super.getProperty(name); - } - - /** - * Set the specified property. This method can only be - * used to set provider specific properties. - * Attempting to set an undefined property will result - * in a PropertyException being thrown. - * - * @param name - * the name of the property to retrieve - * @param value - * the value of the property to be set - * @throws PropertyException - * when there is an error processing the given property or value - */ - public void setProperty(java.lang.String name, java.lang.Object value) - throws javax.xml.bind.PropertyException - { - super.setProperty(name, value); - } - - /** - * Create an instance of KeyValueElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.xmlsig.KeyValueElement createKeyValueElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyValueElementImpl(); - } - - /** - * Create an instance of SignaturePropertyElement - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertyElement createSignaturePropertyElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignaturePropertyElementImpl(); } /** - * Create an instance of SignatureElement + * Create an instance of {@link SignatureType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignatureElement createSignatureElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureElementImpl(); + public SignatureType createSignatureType() { + return new SignatureType(); } /** - * Create an instance of X509IssuerSerialType + * Create an instance of {@link SignatureValueType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509IssuerSerialType createX509IssuerSerialType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509IssuerSerialTypeImpl(); + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); } /** - * Create an instance of KeyValueType + * Create an instance of {@link SignedInfoType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.KeyValueType createKeyValueType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyValueTypeImpl(); + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); } /** - * Create an instance of KeyInfoType + * Create an instance of {@link CanonicalizationMethodType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.KeyInfoType createKeyInfoType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyInfoTypeImpl(); + public CanonicalizationMethodType createCanonicalizationMethodType() { + return new CanonicalizationMethodType(); } /** - * Create an instance of KeyNameElement + * Create an instance of {@link SignatureMethodType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.KeyNameElement createKeyNameElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyNameElementImpl(); + public SignatureMethodType createSignatureMethodType() { + return new SignatureMethodType(); } /** - * Create an instance of KeyNameElement + * Create an instance of {@link ReferenceType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.KeyNameElement createKeyNameElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyNameElementImpl(value); + public ReferenceType createReferenceType() { + return new ReferenceType(); } /** - * Create an instance of DigestMethodType + * Create an instance of {@link TransformsType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.DigestMethodType createDigestMethodType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.DigestMethodTypeImpl(); + public TransformsType createTransformsType() { + return new TransformsType(); } /** - * Create an instance of X509DataElement + * Create an instance of {@link TransformType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataElement createX509DataElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataElementImpl(); + public TransformType createTransformType() { + return new TransformType(); } /** - * Create an instance of RSAKeyValueType + * Create an instance of {@link DigestMethodType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.RSAKeyValueType createRSAKeyValueType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.RSAKeyValueTypeImpl(); + public DigestMethodType createDigestMethodType() { + return new DigestMethodType(); } /** - * Create an instance of PGPDataElement + * Create an instance of {@link KeyInfoType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.PGPDataElement createPGPDataElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.PGPDataElementImpl(); + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); } /** - * Create an instance of TransformTypeXPath + * Create an instance of {@link KeyValueType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.TransformType.XPath createTransformTypeXPath() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformTypeImpl.XPathImpl(); + public KeyValueType createKeyValueType() { + return new KeyValueType(); } /** - * Create an instance of TransformTypeXPath + * Create an instance of {@link RetrievalMethodType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.TransformType.XPath createTransformTypeXPath(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformTypeImpl.XPathImpl(value); + public RetrievalMethodType createRetrievalMethodType() { + return new RetrievalMethodType(); } /** - * Create an instance of SignatureMethodTypeHMACOutputLength + * Create an instance of {@link X509DataType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignatureMethodType.HMACOutputLength createSignatureMethodTypeHMACOutputLength() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureMethodTypeImpl.HMACOutputLengthImpl(); + public X509DataType createX509DataType() { + return new X509DataType(); } /** - * Create an instance of SignatureMethodTypeHMACOutputLength + * Create an instance of {@link PGPDataType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignatureMethodType.HMACOutputLength createSignatureMethodTypeHMACOutputLength(java.math.BigInteger value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureMethodTypeImpl.HMACOutputLengthImpl(value); + public PGPDataType createPGPDataType() { + return new PGPDataType(); } /** - * Create an instance of SignatureType + * Create an instance of {@link SPKIDataType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignatureType createSignatureType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureTypeImpl(); + public SPKIDataType createSPKIDataType() { + return new SPKIDataType(); } /** - * Create an instance of RSAKeyValueElement + * Create an instance of {@link ObjectType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.RSAKeyValueElement createRSAKeyValueElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.RSAKeyValueElementImpl(); + public ObjectType createObjectType() { + return new ObjectType(); } /** - * Create an instance of SignatureMethodType + * Create an instance of {@link ManifestType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignatureMethodType createSignatureMethodType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureMethodTypeImpl(); + public ManifestType createManifestType() { + return new ManifestType(); } /** - * Create an instance of TransformElement + * Create an instance of {@link SignaturePropertiesType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.TransformElement createTransformElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformElementImpl(); + public SignaturePropertiesType createSignaturePropertiesType() { + return new SignaturePropertiesType(); } /** - * Create an instance of ObjectElement + * Create an instance of {@link SignaturePropertyType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.ObjectElement createObjectElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.ObjectElementImpl(); + public SignaturePropertyType createSignaturePropertyType() { + return new SignaturePropertyType(); } /** - * Create an instance of DSAKeyValueType + * Create an instance of {@link DSAKeyValueType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.DSAKeyValueType createDSAKeyValueType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.DSAKeyValueTypeImpl(); + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); } /** - * Create an instance of TransformType + * Create an instance of {@link RSAKeyValueType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.TransformType createTransformType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformTypeImpl(); + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); } /** - * Create an instance of SignatureValueElement + * Create an instance of {@link X509IssuerSerialType } * - * @throws JAXBException - * if an error occurs */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignatureValueElement createSignatureValueElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureValueElementImpl(); + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); } /** - * Create an instance of TransformsElement + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.xmlsig.TransformsElement createTransformsElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformsElementImpl(); - } - - /** - * Create an instance of X509DataTypeX509CRL - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509CRL createX509DataTypeX509CRL() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509CRLImpl(); - } - - /** - * Create an instance of X509DataTypeX509CRL - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509CRL createX509DataTypeX509CRL(byte[] value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509CRLImpl(value); - } - - /** - * Create an instance of X509DataTypeX509IssuerSerial - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509IssuerSerial createX509DataTypeX509IssuerSerial() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509IssuerSerialImpl(); - } - - /** - * Create an instance of SignedInfoElement - * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignedInfoElement createSignedInfoElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignedInfoElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement createSignature(SignatureType value) { + return new JAXBElement(_Signature_QNAME, SignatureType.class, null, value); } /** - * Create an instance of X509DataTypeX509Certificate + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureValueType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignatureValueType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509Certificate createX509DataTypeX509Certificate() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509CertificateImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue") + public JAXBElement createSignatureValue(SignatureValueType value) { + return new JAXBElement(_SignatureValue_QNAME, SignatureValueType.class, null, value); } /** - * Create an instance of X509DataTypeX509Certificate + * Create an instance of {@link JAXBElement }{@code <}{@link SignedInfoType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignedInfoType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509Certificate createX509DataTypeX509Certificate(byte[] value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509CertificateImpl(value); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo") + public JAXBElement createSignedInfo(SignedInfoType value) { + return new JAXBElement(_SignedInfo_QNAME, SignedInfoType.class, null, value); } /** - * Create an instance of TransformsType + * Create an instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethodType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethodType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.TransformsType createTransformsType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.TransformsTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod") + public JAXBElement createCanonicalizationMethod(CanonicalizationMethodType value) { + return new JAXBElement(_CanonicalizationMethod_QNAME, CanonicalizationMethodType.class, null, value); } /** - * Create an instance of SPKIDataType + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureMethodType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignatureMethodType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SPKIDataType createSPKIDataType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SPKIDataTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod") + public JAXBElement createSignatureMethod(SignatureMethodType value) { + return new JAXBElement(_SignatureMethod_QNAME, SignatureMethodType.class, null, value); } /** - * Create an instance of SignatureValueType + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignatureValueType createSignatureValueType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureValueTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference") + public JAXBElement createReference(ReferenceType value) { + return new JAXBElement(_Reference_QNAME, ReferenceType.class, null, value); } /** - * Create an instance of ReferenceType + * Create an instance of {@link JAXBElement }{@code <}{@link TransformsType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TransformsType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.ReferenceType createReferenceType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.ReferenceTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms") + public JAXBElement createTransforms(TransformsType value) { + return new JAXBElement(_Transforms_QNAME, TransformsType.class, null, value); } /** - * Create an instance of RetrievalMethodType + * Create an instance of {@link JAXBElement }{@code <}{@link TransformType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TransformType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.RetrievalMethodType createRetrievalMethodType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.RetrievalMethodTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform") + public JAXBElement createTransform(TransformType value) { + return new JAXBElement(_Transform_QNAME, TransformType.class, null, value); } /** - * Create an instance of X509DataType + * Create an instance of {@link JAXBElement }{@code <}{@link DigestMethodType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link DigestMethodType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType createX509DataType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod") + public JAXBElement createDigestMethod(DigestMethodType value) { + return new JAXBElement(_DigestMethod_QNAME, DigestMethodType.class, null, value); } /** - * Create an instance of SPKIDataTypeSPKISexp + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SPKIDataType.SPKISexp createSPKIDataTypeSPKISexp() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SPKIDataTypeImpl.SPKISexpImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") + public JAXBElement createDigestValue(byte[] value) { + return new JAXBElement(_DigestValue_QNAME, byte[].class, null, ((byte[]) value)); } /** - * Create an instance of SPKIDataTypeSPKISexp + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SPKIDataType.SPKISexp createSPKIDataTypeSPKISexp(byte[] value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SPKIDataTypeImpl.SPKISexpImpl(value); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo") + public JAXBElement createKeyInfo(KeyInfoType value) { + return new JAXBElement(_KeyInfo_QNAME, KeyInfoType.class, null, value); } /** - * Create an instance of KeyInfoElement + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.KeyInfoElement createKeyInfoElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.KeyInfoElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName") + public JAXBElement createKeyName(String value) { + return new JAXBElement(_KeyName_QNAME, String.class, null, value); } /** - * Create an instance of X509DataTypeX509SubjectName + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509SubjectName createX509DataTypeX509SubjectName() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509SubjectNameImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData") + public JAXBElement createMgmtData(String value) { + return new JAXBElement(_MgmtData_QNAME, String.class, null, value); } /** - * Create an instance of X509DataTypeX509SubjectName + * Create an instance of {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509SubjectName createX509DataTypeX509SubjectName(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509SubjectNameImpl(value); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue") + public JAXBElement createKeyValue(KeyValueType value) { + return new JAXBElement(_KeyValue_QNAME, KeyValueType.class, null, value); } /** - * Create an instance of DigestValueElement + * Create an instance of {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.DigestValueElement createDigestValueElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.DigestValueElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod") + public JAXBElement createRetrievalMethod(RetrievalMethodType value) { + return new JAXBElement(_RetrievalMethod_QNAME, RetrievalMethodType.class, null, value); } /** - * Create an instance of DigestValueElement + * Create an instance of {@link JAXBElement }{@code <}{@link X509DataType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link X509DataType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.DigestValueElement createDigestValueElement(byte[] value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.DigestValueElementImpl(value); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data") + public JAXBElement createX509Data(X509DataType value) { + return new JAXBElement(_X509Data_QNAME, X509DataType.class, null, value); } /** - * Create an instance of SignedInfoType + * Create an instance of {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignedInfoType createSignedInfoType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignedInfoTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData") + public JAXBElement createPGPData(PGPDataType value) { + return new JAXBElement(_PGPData_QNAME, PGPDataType.class, null, value); } /** - * Create an instance of CanonicalizationMethodElement + * Create an instance of {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.CanonicalizationMethodElement createCanonicalizationMethodElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.CanonicalizationMethodElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData") + public JAXBElement createSPKIData(SPKIDataType value) { + return new JAXBElement(_SPKIData_QNAME, SPKIDataType.class, null, value); } /** - * Create an instance of SignatureMethodElement + * Create an instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignatureMethodElement createSignatureMethodElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignatureMethodElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object") + public JAXBElement createObject(ObjectType value) { + return new JAXBElement(_Object_QNAME, ObjectType.class, null, value); } /** - * Create an instance of SignaturePropertyType + * Create an instance of {@link JAXBElement }{@code <}{@link ManifestType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link ManifestType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertyType createSignaturePropertyType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignaturePropertyTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest") + public JAXBElement createManifest(ManifestType value) { + return new JAXBElement(_Manifest_QNAME, ManifestType.class, null, value); } /** - * Create an instance of DigestMethodElement + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertiesType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignaturePropertiesType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.DigestMethodElement createDigestMethodElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.DigestMethodElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties") + public JAXBElement createSignatureProperties(SignaturePropertiesType value) { + return new JAXBElement(_SignatureProperties_QNAME, SignaturePropertiesType.class, null, value); } /** - * Create an instance of DSAKeyValueElement + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertyType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignaturePropertyType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.DSAKeyValueElement createDSAKeyValueElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.DSAKeyValueElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty") + public JAXBElement createSignatureProperty(SignaturePropertyType value) { + return new JAXBElement(_SignatureProperty_QNAME, SignaturePropertyType.class, null, value); } /** - * Create an instance of ReferenceElement + * Create an instance of {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.ReferenceElement createReferenceElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.ReferenceElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue") + public JAXBElement createDSAKeyValue(DSAKeyValueType value) { + return new JAXBElement(_DSAKeyValue_QNAME, DSAKeyValueType.class, null, value); } /** - * Create an instance of MgmtDataElement + * Create an instance of {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.MgmtDataElement createMgmtDataElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.MgmtDataElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue") + public JAXBElement createRSAKeyValue(RSAKeyValueType value) { + return new JAXBElement(_RSAKeyValue_QNAME, RSAKeyValueType.class, null, value); } /** - * Create an instance of MgmtDataElement + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.MgmtDataElement createMgmtDataElement(java.lang.String value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.MgmtDataElementImpl(value); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) + public JAXBElement createSPKIDataTypeSPKISexp(byte[] value) { + return new JAXBElement(_SPKIDataTypeSPKISexp_QNAME, byte[].class, SPKIDataType.class, ((byte[]) value)); } /** - * Create an instance of CanonicalizationMethodType + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.CanonicalizationMethodType createCanonicalizationMethodType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.CanonicalizationMethodTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) + public JAXBElement createPGPDataTypePGPKeyID(byte[] value) { + return new JAXBElement(_PGPDataTypePGPKeyID_QNAME, byte[].class, PGPDataType.class, ((byte[]) value)); } /** - * Create an instance of ManifestType + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.ManifestType createManifestType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.ManifestTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) + public JAXBElement createPGPDataTypePGPKeyPacket(byte[] value) { + return new JAXBElement(_PGPDataTypePGPKeyPacket_QNAME, byte[].class, PGPDataType.class, ((byte[]) value)); } /** - * Create an instance of SignaturePropertiesElement + * Create an instance of {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertiesElement createSignaturePropertiesElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignaturePropertiesElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509DataType.class) + public JAXBElement createX509DataTypeX509IssuerSerial(X509IssuerSerialType value) { + return new JAXBElement(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerialType.class, X509DataType.class, value); } /** - * Create an instance of RetrievalMethodElement + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.RetrievalMethodElement createRetrievalMethodElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.RetrievalMethodElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) + public JAXBElement createX509DataTypeX509SKI(byte[] value) { + return new JAXBElement(_X509DataTypeX509SKI_QNAME, byte[].class, X509DataType.class, ((byte[]) value)); } /** - * Create an instance of SignaturePropertiesType + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SignaturePropertiesType createSignaturePropertiesType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SignaturePropertiesTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class) + public JAXBElement createX509DataTypeX509SubjectName(String value) { + return new JAXBElement(_X509DataTypeX509SubjectName_QNAME, String.class, X509DataType.class, value); } /** - * Create an instance of PGPDataType + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.PGPDataType createPGPDataType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.PGPDataTypeImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) + public JAXBElement createX509DataTypeX509Certificate(byte[] value) { + return new JAXBElement(_X509DataTypeX509Certificate_QNAME, byte[].class, X509DataType.class, ((byte[]) value)); } /** - * Create an instance of ManifestElement + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.ManifestElement createManifestElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.ManifestElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) + public JAXBElement createX509DataTypeX509CRL(byte[] value) { + return new JAXBElement(_X509DataTypeX509CRL_QNAME, byte[].class, X509DataType.class, ((byte[]) value)); } /** - * Create an instance of SPKIDataElement + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.SPKIDataElement createSPKIDataElement() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.SPKIDataElementImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class) + public JAXBElement createTransformTypeXPath(String value) { + return new JAXBElement(_TransformTypeXPath_QNAME, String.class, TransformType.class, value); } /** - * Create an instance of X509DataTypeX509SKI + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >} * - * @throws JAXBException - * if an error occurs + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >} */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509SKI createX509DataTypeX509SKI() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509SKIImpl(); + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class) + public JAXBElement createSignatureMethodTypeHMACOutputLength(BigInteger value) { + return new JAXBElement(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger.class, SignatureMethodType.class, value); } - /** - * Create an instance of X509DataTypeX509SKI - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509SKI createX509DataTypeX509SKI(byte[] value) - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.X509DataTypeImpl.X509SKIImpl(value); - } + // ---- No-arg element factory methods for JAXB 1.x compatibility ---- + public X509DataElement createX509DataElement() { return new X509DataElement(); } - /** - * Create an instance of ObjectType - * - * @throws JAXBException - * if an error occurs - */ - public com.sun.identity.wsfederation.jaxb.xmlsig.ObjectType createObjectType() - throws javax.xml.bind.JAXBException - { - return new com.sun.identity.wsfederation.jaxb.xmlsig.impl.ObjectTypeImpl(); + /** No-arg override of the XJC method; creates an X509DataType.X509Certificate inner-class shim. */ + public X509DataType.X509Certificate createX509DataTypeX509Certificate() { + return new X509DataType.X509Certificate(); } } diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/X509DataElement.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/X509DataElement.java index 2b61894f1e..1fba04cce5 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/X509DataElement.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/X509DataElement.java @@ -1,26 +1,4 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - - package com.sun.identity.wsfederation.jaxb.xmlsig; - -/** - * Java content class for X509Data element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/xmldsig-core-schema.xsd line 186) - *

    - *

    - * <element name="X509Data" type="{http://www.w3.org/2000/09/xmldsig#}X509DataType"/>
    - * 
    - * - */ -public interface X509DataElement - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType -{ - - -} +/** Compatibility shim for JAXB 1.x X509DataElement. */ +public class X509DataElement extends X509DataType {} diff --git a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/X509DataType.java b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/X509DataType.java index 8d4eccaf1f..9b4ee6558d 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/X509DataType.java +++ b/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/xmlsig/X509DataType.java @@ -1,49 +1,68 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.06.11 at 10:34:16 AM PDT -// - package com.sun.identity.wsfederation.jaxb.xmlsig; +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAnyElement; +import jakarta.xml.bind.annotation.XmlElementRef; +import jakarta.xml.bind.annotation.XmlElementRefs; +import jakarta.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + /** - * Java content class for X509DataType complex type. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/xmldsig-core-schema.xsd line 187) - *

    + *

    Java class for X509DataType complex type. + * + *

    The following schema fragment specifies the expected content contained within this class. + * *

    - * <complexType name="X509DataType">
    - *   <complexContent>
    - *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    - *       <sequence maxOccurs="unbounded">
    - *         <choice>
    - *           <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/>
    - *           <element name="X509SKI" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    - *           <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
    - *           <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    - *           <element name="X509CRL" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    - *           <any/>
    - *         </choice>
    - *       </sequence>
    - *     </restriction>
    - *   </complexContent>
    - * </complexType>
    + * <complexType name="X509DataType">
    + *   <complexContent>
    + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *       <sequence maxOccurs="unbounded">
    + *         <choice>
    + *           <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/>
    + *           <element name="X509SKI" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    + *           <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
    + *           <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    + *           <element name="X509CRL" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    + *           <any processContents='lax' namespace='##other'/>
    + *         </choice>
    + *       </sequence>
    + *     </restriction>
    + *   </complexContent>
    + * </complexType>
      * 
    * + * */ -public interface X509DataType { - +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", propOrder = { + "x509IssuerSerialOrX509SKIOrX509SubjectName" +}) +public class X509DataType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509IssuerSerial", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509SKI", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509SubjectName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509CRL", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false) + }) + @XmlAnyElement(lax = true) + protected List x509IssuerSerialOrX509SKIOrX509SubjectName; /** - * Gets the value of the X509IssuerSerialOrX509SKIOrX509SubjectName property. + * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property. * *

    * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the X509IssuerSerialOrX509SKIOrX509SubjectName property. + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the x509IssuerSerialOrX509SKIOrX509SubjectName property. * *

    * For example, to add a new item, do as follows: @@ -54,171 +73,34 @@ public interface X509DataType { * *

    * Objects of the following type(s) are allowed in the list - * {@link com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509SubjectName} - * {@link com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509Certificate} - * {@link com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509CRL} - * {@link com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509IssuerSerial} - * {@link java.lang.Object} - * {@link com.sun.identity.wsfederation.jaxb.xmlsig.X509DataType.X509SKI} + * {@link JAXBElement }{@code <}{@link byte[]}{@code >} + * {@link JAXBElement }{@code <}{@link byte[]}{@code >} + * {@link JAXBElement }{@code <}{@link byte[]}{@code >} + * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link Element } * - */ - java.util.List getX509IssuerSerialOrX509SKIOrX509SubjectName(); - - - /** - * Java content class for X509CRL element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/xmldsig-core-schema.xsd line 194) - *

    - *

    -     * <element name="X509CRL" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    -     * 
    * */ - public interface X509CRL - extends javax.xml.bind.Element - { - - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * byte[] - */ - byte[] getValue(); - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * byte[] - */ - void setValue(byte[] value); - + public List getX509IssuerSerialOrX509SKIOrX509SubjectName() { + if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) { + x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList(); + } + return this.x509IssuerSerialOrX509SKIOrX509SubjectName; } - /** - * Java content class for X509Certificate element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/xmldsig-core-schema.xsd line 193) - *

    - *

    -     * <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    -     * 
    - * + * Compatibility shim for JAXB 1.x X509Certificate element. + * In JAXB 4.x XJC, X509Certificate is handled via JAXBElement factory methods. + * This inner class provides JAXB 1.x source-level compatibility. */ - public interface X509Certificate - extends javax.xml.bind.Element - { - - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * byte[] - */ - byte[] getValue(); - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * byte[] - */ - void setValue(byte[] value); - - } - - - /** - * Java content class for X509IssuerSerial element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/xmldsig-core-schema.xsd line 190) - *

    - *

    -     * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/>
    -     * 
    - * - */ - public interface X509IssuerSerial - extends javax.xml.bind.Element, com.sun.identity.wsfederation.jaxb.xmlsig.X509IssuerSerialType - { - - - } - - - /** - * Java content class for X509SKI element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/xmldsig-core-schema.xsd line 191) - *

    - *

    -     * <element name="X509SKI" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
    -     * 
    - * - */ - public interface X509SKI - extends javax.xml.bind.Element - { - - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * byte[] - */ - byte[] getValue(); - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * byte[] - */ - void setValue(byte[] value); - - } - - - /** - * Java content class for X509SubjectName element declaration. - *

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/xmldsig-core-schema.xsd line 192) - *

    - *

    -     * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
    -     * 
    - * - */ - public interface X509SubjectName - extends javax.xml.bind.Element - { - - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link java.lang.String} - */ - java.lang.String getValue(); - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link java.lang.String} - */ - void setValue(java.lang.String value); - + @jakarta.xml.bind.annotation.XmlRootElement(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#") + public static class X509Certificate { + @jakarta.xml.bind.annotation.XmlValue + private byte[] value; + public byte[] getValue() { return value; } + public void setValue(byte[] value) { this.value = value; } } } diff --git a/openam-schema/openam-wsfederation-schema/src/main/xjb/wsfederation.xjb b/openam-schema/openam-wsfederation-schema/src/main/xjb/wsfederation.xjb index 024c276d92..a8e5310296 100644 --- a/openam-schema/openam-wsfederation-schema/src/main/xjb/wsfederation.xjb +++ b/openam-schema/openam-wsfederation-schema/src/main/xjb/wsfederation.xjb @@ -26,8 +26,8 @@ --> - diff --git a/openam-schema/openam-xacml3-schema/pom.xml b/openam-schema/openam-xacml3-schema/pom.xml index d13cc7250a..a8af689861 100644 --- a/openam-schema/openam-xacml3-schema/pom.xml +++ b/openam-schema/openam-xacml3-schema/pom.xml @@ -78,18 +78,16 @@ org.glassfish.metro wsit-impl - + - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.2 - com.sun.xml.bind - jaxb-core - - - com.sun.xml.bind - jaxb-impl + org.glassfish.jaxb + jaxb-runtime + 4.0.5 diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Advice.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Advice.java index 4b9b48d785..f0da302fe0 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Advice.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Advice.java @@ -36,12 +36,12 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AdviceExpression.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AdviceExpression.java index 44c44f87d0..00c73e6a79 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AdviceExpression.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AdviceExpression.java @@ -37,12 +37,12 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AdviceExpressions.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AdviceExpressions.java index 2955399c9b..1ec37a3b80 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AdviceExpressions.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AdviceExpressions.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AllOf.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AllOf.java index 2547193520..7d9dff90cd 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AllOf.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AllOf.java @@ -37,10 +37,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AnyOf.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AnyOf.java index 97d02eaa9c..40a1631f01 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AnyOf.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AnyOf.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Apply.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Apply.java index b4c267cd9a..802ac684a7 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Apply.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Apply.java @@ -36,14 +36,14 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlElementRef; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AssociatedAdvice.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AssociatedAdvice.java index 408a24f76b..b64e80e70c 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AssociatedAdvice.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AssociatedAdvice.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Attribute.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Attribute.java index 7022e6564a..cb16068dfd 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Attribute.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Attribute.java @@ -36,12 +36,12 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeAssignment.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeAssignment.java index 4aad62ec6f..28838ed7ea 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeAssignment.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeAssignment.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeAssignmentExpression.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeAssignmentExpression.java index 7de4b3b651..5b1f0322f0 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeAssignmentExpression.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeAssignmentExpression.java @@ -34,13 +34,13 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElementRef; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeDesignator.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeDesignator.java index ca0a6fdadb..b35a6b299a 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeDesignator.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeDesignator.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeSelector.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeSelector.java index 3c849b5d2f..59ae794041 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeSelector.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeSelector.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeValue.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeValue.java index 0eace49675..6299987cb2 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeValue.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributeValue.java @@ -38,15 +38,15 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlMixed; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAnyAttribute; +import jakarta.xml.bind.annotation.XmlAnyElement; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlMixed; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlSeeAlso; +import jakarta.xml.bind.annotation.XmlType; import javax.xml.namespace.QName; import org.w3c.dom.Element; diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Attributes.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Attributes.java index 86e49e39dc..271a559f64 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Attributes.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Attributes.java @@ -36,15 +36,15 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlID; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlID; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; +import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributesReference.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributesReference.java index 7fb459a578..34388c7d7e 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributesReference.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/AttributesReference.java @@ -34,12 +34,12 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlIDREF; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlIDREF; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/CombinerParameter.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/CombinerParameter.java index 4d191c6313..4af65b25d1 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/CombinerParameter.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/CombinerParameter.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/CombinerParameters.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/CombinerParameters.java index 79744578f5..97a805444a 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/CombinerParameters.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/CombinerParameters.java @@ -36,11 +36,11 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSeeAlso; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Condition.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Condition.java index 6dee7f7cbf..9997c4fd94 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Condition.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Condition.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElementRef; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Content.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Content.java index e04b6f0bd0..f2eb7581ed 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Content.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Content.java @@ -36,11 +36,11 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlMixed; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAnyElement; +import jakarta.xml.bind.annotation.XmlMixed; +import jakarta.xml.bind.annotation.XmlType; import org.w3c.dom.Element; diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/DecisionType.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/DecisionType.java index cb03bcdbda..3c72bc877d 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/DecisionType.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/DecisionType.java @@ -34,9 +34,9 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlEnum; +import jakarta.xml.bind.annotation.XmlEnumValue; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Defaults.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Defaults.java index 3020893d27..3c43117732 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Defaults.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Defaults.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/EffectType.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/EffectType.java index 40726636f1..7686fdf47d 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/EffectType.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/EffectType.java @@ -34,9 +34,9 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlEnum; +import jakarta.xml.bind.annotation.XmlEnumValue; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Expression.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Expression.java index 3622178b13..6def6ebdea 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Expression.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Expression.java @@ -34,10 +34,10 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlSeeAlso; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Function.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Function.java index 9cddb0d935..fbe2e45572 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Function.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Function.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/IdReference.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/IdReference.java index 694f8e2a06..0455e36e24 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/IdReference.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/IdReference.java @@ -34,12 +34,12 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Match.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Match.java index 3c2d94ee6b..bd7d5975a9 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Match.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Match.java @@ -34,12 +34,12 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/MissingAttributeDetail.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/MissingAttributeDetail.java index 8624bc0760..b768c7d540 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/MissingAttributeDetail.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/MissingAttributeDetail.java @@ -36,12 +36,12 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/MultiRequests.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/MultiRequests.java index a92ce0f7f0..9a6fa1a02e 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/MultiRequests.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/MultiRequests.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObjectFactory.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObjectFactory.java index fbc445ed9c..4cc20f2d55 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObjectFactory.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObjectFactory.java @@ -34,9 +34,9 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Obligation.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Obligation.java index 57c7e2a8c1..081d9ed3bf 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Obligation.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Obligation.java @@ -36,12 +36,12 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObligationExpression.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObligationExpression.java index 7884ef6c73..5e070b723c 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObligationExpression.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObligationExpression.java @@ -36,12 +36,12 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObligationExpressions.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObligationExpressions.java index eb9d6444d3..5c4c2d4a36 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObligationExpressions.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/ObligationExpressions.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Obligations.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Obligations.java index 767d233fa8..d96b86d217 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Obligations.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Obligations.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Policy.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Policy.java index 3ac168245f..aee0dd4bb1 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Policy.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Policy.java @@ -37,13 +37,13 @@ import java.math.BigInteger; import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlElements; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyCombinerParameters.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyCombinerParameters.java index 8fab7e56fb..d554846c30 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyCombinerParameters.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyCombinerParameters.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyIdentifierList.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyIdentifierList.java index d999fd3d92..53d8028e8a 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyIdentifierList.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyIdentifierList.java @@ -36,12 +36,12 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlElementRefs; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElementRef; +import jakarta.xml.bind.annotation.XmlElementRefs; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyIssuer.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyIssuer.java index 5b8a6295c4..4cc360522d 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyIssuer.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicyIssuer.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicySet.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicySet.java index 091352db6e..86a4381b58 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicySet.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicySet.java @@ -37,15 +37,15 @@ import java.math.BigInteger; import java.util.ArrayList; import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlElementRefs; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlElementRef; +import jakarta.xml.bind.annotation.XmlElementRefs; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicySetCombinerParameters.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicySetCombinerParameters.java index 8ff4518082..423dcd8594 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicySetCombinerParameters.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/PolicySetCombinerParameters.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Request.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Request.java index f6bc63462a..5431d232bf 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Request.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Request.java @@ -37,17 +37,17 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RequestDefaults.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RequestDefaults.java index fa56490c38..8430580b2a 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RequestDefaults.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RequestDefaults.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RequestReference.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RequestReference.java index f2ef9d8adf..5d5f379368 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RequestReference.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RequestReference.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Response.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Response.java index 406a73aa6e..c7238f93f5 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Response.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Response.java @@ -37,7 +37,7 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import javax.xml.bind.annotation.*; +import jakarta.xml.bind.annotation.*; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Result.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Result.java index 22bfec4eff..f94b6a1ab9 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Result.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Result.java @@ -37,10 +37,10 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Rule.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Rule.java index 365dca527d..666165618c 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Rule.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Rule.java @@ -34,11 +34,11 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RuleCombinerParameters.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RuleCombinerParameters.java index 030321816e..464c6b7941 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RuleCombinerParameters.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/RuleCombinerParameters.java @@ -34,10 +34,10 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Status.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Status.java index 794285a14a..6985a04587 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Status.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Status.java @@ -34,10 +34,10 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/StatusCode.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/StatusCode.java index 60759ece91..7cacc449c6 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/StatusCode.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/StatusCode.java @@ -34,12 +34,12 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlSchemaType; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/StatusDetail.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/StatusDetail.java index fb062b9fac..915b3b50c8 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/StatusDetail.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/StatusDetail.java @@ -37,10 +37,10 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAnyElement; +import jakarta.xml.bind.annotation.XmlType; import org.w3c.dom.Element; diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Target.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Target.java index 1c390bb578..7c250c7ff8 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Target.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Target.java @@ -36,10 +36,10 @@ import java.util.ArrayList; import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VariableDefinition.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VariableDefinition.java index be7adea39d..7c4f910321 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VariableDefinition.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VariableDefinition.java @@ -34,12 +34,12 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElementRef; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VariableReference.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VariableReference.java index 671814730f..8628e9f808 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VariableReference.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VariableReference.java @@ -34,10 +34,10 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Version.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Version.java index 7c0abb6b87..8452fbfa4d 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Version.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/Version.java @@ -34,10 +34,10 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VersionMatch.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VersionMatch.java index 2d83c12efd..d4671bb2e9 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VersionMatch.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/VersionMatch.java @@ -34,10 +34,10 @@ package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; /** diff --git a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/package-info.java b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/package-info.java index 03436e8ad7..dbe2c1e287 100644 --- a/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/package-info.java +++ b/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/package-info.java @@ -31,18 +31,18 @@ // Generated on: 2013.01.21 at 10:40:04 AM PST // -@javax.xml.bind.annotation.XmlSchema( namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", +@jakarta.xml.bind.annotation.XmlSchema( namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", xmlns = { - @javax.xml.bind.annotation.XmlNs(prefix = "xacml", + @jakarta.xml.bind.annotation.XmlNs(prefix = "xacml", namespaceURI = "classpath:xsd/xacml-core-v3-schema-wd-17.xsd"), - @javax.xml.bind.annotation.XmlNs(prefix = "xacml3", + @jakarta.xml.bind.annotation.XmlNs(prefix = "xacml3", namespaceURI = "classpath:xsd/xacml-core-v3-schema-wd-17.xsd"), - @javax.xml.bind.annotation.XmlNs(prefix = "xacml-context", + @jakarta.xml.bind.annotation.XmlNs(prefix = "xacml-context", namespaceURI = "classpath:xsd/xacml-core-v3-schema-wd-17.xsd"), - @javax.xml.bind.annotation.XmlNs(prefix = "xacml-ctx", + @jakarta.xml.bind.annotation.XmlNs(prefix = "xacml-ctx", namespaceURI = "classpath:xsd/xacml-core-v3-schema-wd-17.xsd") }, elementFormDefault = XmlNsForm.QUALIFIED) package com.sun.identity.entitlement.xacml3.core; -import javax.xml.bind.annotation.XmlNsForm; +import jakarta.xml.bind.annotation.XmlNsForm; diff --git a/openam-shared/pom.xml b/openam-shared/pom.xml index b52415c433..d56b242356 100755 --- a/openam-shared/pom.xml +++ b/openam-shared/pom.xml @@ -154,5 +154,12 @@ testng test + + + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.2 + diff --git a/openam-shared/src/main/java/com/sun/identity/shared/xml/XMLUtils.java b/openam-shared/src/main/java/com/sun/identity/shared/xml/XMLUtils.java index 06207cb04e..5eeed243d0 100644 --- a/openam-shared/src/main/java/com/sun/identity/shared/xml/XMLUtils.java +++ b/openam-shared/src/main/java/com/sun/identity/shared/xml/XMLUtils.java @@ -47,7 +47,7 @@ import org.xml.sax.SAXException; import org.xml.sax.SAXParseException; -import javax.xml.bind.JAXBException; +import jakarta.xml.bind.JAXBException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; diff --git a/pom.xml b/pom.xml index 1d22b488f9..da6fab3491 100644 --- a/pom.xml +++ b/pom.xml @@ -75,8 +75,8 @@ UTF-8 - 11 - 11 + 21 + 21 checkstyle/suppressions.xml 5.0.4 @@ -2037,6 +2037,7 @@ 8 none + false true org.apache.click;org.openidentityplatform.openam.click;org.openidentityplatform.openam.velocity;*.taglib*;*.taglib