@Override
    public Optional<Pair<AttributeDefinition, List<Object>>> resolveAttributeValues(
        final String key,
        final AttributeDefinitionResolutionContext context) {
        val result = locateAttributeDefinition(key);
        return result.flatMap(definition -> FunctionUtils.doUnchecked(() -> {
            val currentValues = definition.resolveAttributeValues(context.withScope(this.scope));
            return Optional.of(Pair.of(definition, currentValues));
        }));
    }
Register attribute definitions.

@param entries the entries
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/attribute/DefaultAttributeDefinitionStore.java