continue; for (final AttributeEncoder encoder : idpAttribute.getEncoders()) { if (encoderType.isInstance(encoder) && ((NameIdentifierAttributeEncoder) encoder).apply(format) && encoder.getActivationCondition().apply(profileRequestContext)) {
/** * Clones an attribute. The clone will contains defensive copies of this objects display descriptions and names, * encoders, and values. The elements of each collection, however, are not themselves cloned. * * {@inheritDoc} */ @Override @Nonnull public IdPAttribute clone() throws CloneNotSupportedException { final IdPAttribute clone = (IdPAttribute) super.clone(); clone.setDisplayDescriptions(getDisplayDescriptions()); clone.setDisplayNames(getDisplayNames()); clone.setEncoders(getEncoders()); clone.setValues(getValues()); return clone; }
final Set<AttributeEncoder<?>> encoders = attribute.getEncoders(); if (encoders.isEmpty()) { log.debug("{} Attribute {} does not have any encoders, nothing to do", getLogPrefix(), attribute.getId());
final Set<AttributeEncoder<?>> encoders = attribute.getEncoders(); if (encoders.isEmpty()) { log.debug("{} Attribute {} does not have any encoders, nothing to do", getLogPrefix(), attribute.getId());