/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { SubjectConfirmation subjectConfirmation = (SubjectConfirmation) samlObject; if (attribute.getLocalName().equals(SubjectConfirmation.METHOD_ATTRIB_NAME)) { subjectConfirmation.setMethod(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { if (Action.NAMESPACE_ATTRIB_NAME.equals(attribute.getLocalName())) { Action action = (Action) samlObject; action.setNamespace(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(final XMLObject xmlObject, final Attr attribute) throws UnmarshallingException { final DelegationPolicy delegationPolicy = (DelegationPolicy) xmlObject; if (attribute.getLocalName().equals(DelegationPolicy.MAX_DELEGATION_CHAIN_LENGTH_ATTRIB_NAME)) { delegationPolicy.setMaximumTokenDelegationChainLength(Long.valueOf(attribute.getValue())); } else { super.processAttribute(xmlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(@Nonnull XMLObject xmlObject, @Nonnull Attr attribute) throws UnmarshallingException { DigestMethod digestMethod = (DigestMethod) xmlObject; if (attribute.getLocalName().equals(DigestMethod.ALGORITHM_ATTRIB_NAME)) { digestMethod.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { Scoping scoping = (Scoping) samlObject; if (attribute.getLocalName().equals(Scoping.PROXY_COUNT_ATTRIB_NAME)) { scoping.setProxyCount(Integer.valueOf(attribute.getValue())); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { ProxyRestriction proxyRestriction = (ProxyRestriction) samlObject; if (attribute.getLocalName().equals(ProxyRestriction.COUNT_ATTRIB_NAME)) { proxyRestriction.setProxyCount(Integer.valueOf(attribute.getValue())); } else { super.processAttribute(samlObject, attribute); } } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { StatusCode statusCode = (StatusCode) samlObject; if (attribute.getLocalName().equals(StatusCode.VALUE_ATTRIB_NAME)) { statusCode.setValue(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { if (attribute.getLocalName().equals(AdditionalMetadataLocation.NAMESPACE_ATTRIB_NAME)) { AdditionalMetadataLocation aml = (AdditionalMetadataLocation) samlObject; aml.setNamespaceURI(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { Action action = (Action) samlObject; if (attribute.getLocalName().equals(Action.NAMEPSACE_ATTRIB_NAME)) { action.setNamespace(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { SubjectLocality subjectLocality = (SubjectLocality) samlObject; if (SubjectLocality.DNSADDRESS_ATTRIB_NAME.equals(attribute.getLocalName())) { subjectLocality.setDNSAddress(attribute.getValue()); } else if (SubjectLocality.IPADDRESS_ATTRIB_NAME.equals(attribute.getLocalName())) { subjectLocality.setIPAddress(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { AttributeDesignator designator = (AttributeDesignator) samlObject; if (AttributeDesignator.ATTRIBUTENAME_ATTRIB_NAME.equals(attribute.getLocalName())) { designator.setAttributeName(attribute.getValue()); } else if (AttributeDesignator.ATTRIBUTENAMESPACE_ATTRIB_NAME.equals(attribute.getLocalName())) { designator.setAttributeNamespace(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { BaseID baseID = (BaseID) samlObject; if (attribute.getLocalName().equals(BaseID.NAME_QUALIFIER_ATTRIB_NAME)) { baseID.setNameQualifier(attribute.getValue()); } else if (attribute.getLocalName().equals(BaseID.SP_NAME_QUALIFIER_ATTRIB_NAME)) { baseID.setSPNameQualifier(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { SubjectLocality subjectLocality = (SubjectLocality) samlObject; if (attribute.getLocalName().equals(SubjectLocality.ADDRESS_ATTRIB_NAME)) { subjectLocality.setAddress(attribute.getValue()); } else if (attribute.getLocalName().equals(SubjectLocality.DNS_NAME_ATTRIB_NAME)) { subjectLocality.setDNSName(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { NameIdentifier nameIdentifier = (NameIdentifier) samlObject; if (NameIdentifier.FORMAT_ATTRIB_NAME.equals(attribute.getLocalName())) { nameIdentifier.setFormat(attribute.getValue()); } else if (NameIdentifier.NAMEQUALIFIER_ATTRIB_NAME.equals(attribute.getLocalName())) { nameIdentifier.setNameQualifier(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { RegistrationInfo info = (RegistrationInfo) samlObject; if (RegistrationInfo.REGISTRATION_AUTHORITY_ATTRIB_NAME.equals(attribute.getName())) { info.setRegistrationAuthority(attribute.getValue()); } else if (RegistrationInfo.REGISTRATION_INSTANT_ATTRIB_NAME.equals(attribute.getName())) { info.setRegistrationInstant(new DateTime(attribute.getValue(), ISOChronology.getInstanceUTC())); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { AttributeConsumingService service = (AttributeConsumingService) samlObject; if (attribute.getLocalName().equals(AttributeConsumingService.INDEX_ATTRIB_NAME)) { service.setIndex(Integer.valueOf(attribute.getValue())); } else if (attribute.getLocalName().equals(AttributeConsumingService.IS_DEFAULT_ATTRIB_NAME)) { service.setIsDefault(XSBooleanValue.valueOf(attribute.getValue())); } else { super.processAttribute(samlObject, attribute); } } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { StatusCode statusCode = (StatusCode) samlObject; if (attribute.getName().equals(StatusCode.VALUE_ATTRIB_NAME)) { statusCode.setValue(AttributeSupport.getAttributeValueAsQName(attribute)); } else { super.processAttribute(samlObject, attribute); } } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { Delegate delegate = (Delegate) samlObject; String attrName = attribute.getLocalName(); if (Delegate.CONFIRMATION_METHOD_ATTRIB_NAME.equals(attrName)) { delegate.setConfirmationMethod(attribute.getValue()); } else if (Delegate.DELEGATION_INSTANT_ATTRIB_NAME.equals(attrName)) { delegate.setDelegationInstant(new DateTime(attribute.getValue(), ISOChronology.getInstanceUTC())); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { PublicationInfo info = (PublicationInfo) samlObject; if (PublicationInfo.PUBLISHER_ATTRIB_NAME.equals(attribute.getName())) { info.setPublisher(attribute.getValue()); } else if (PublicationInfo.CREATION_INSTANT_ATTRIB_NAME.equals(attribute.getName())) { info.setCreationInstant(new DateTime(attribute.getValue(), ISOChronology.getInstanceUTC())); } else if (PublicationInfo.PUBLICATION_ID_ATTRIB_NAME.equals(attribute.getName())) { info.setPublicationId(attribute.getValue()); } else { super.processAttribute(samlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { RequestAuthenticated ra = (RequestAuthenticated) xmlObject; QName attrName = QNameSupport.getNodeQName(attribute); if (RequestAuthenticated.SOAP11_MUST_UNDERSTAND_ATTR_NAME.equals(attrName)) { ra.setSOAP11MustUnderstand(XSBooleanValue.valueOf(attribute.getValue())); } else if (RequestAuthenticated.SOAP11_ACTOR_ATTR_NAME.equals(attrName)) { ra.setSOAP11Actor(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }