/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { IDPSSODescriptor descriptor = (IDPSSODescriptor) samlObject; if (attribute.getLocalName().equals(IDPSSODescriptor.WANT_AUTHN_REQ_SIGNED_ATTRIB_NAME)) { descriptor.setWantAuthnRequestsSigned(XSBooleanValue.valueOf(attribute.getValue())); } else { super.processAttribute(samlObject, attribute); } } }
idpssoDescriptor.setWantAuthnRequestsSigned(true);
IDPSSODescriptor descriptor = getIDPSSODescriptor(); roleDescriptor = descriptor; descriptor.setWantAuthnRequestsSigned(idp.getWantAuthnRequestsSigned()); for (NameId id : p.getNameIds()) { descriptor.getNameIDFormats().add(getNameIDFormat(id));