public <T> T find(final String attributeName, final Class<T> clazz) {
        return clazz.cast(record.getFirst(attributeName));
    }
Find attribute.

@param <T>           the type parameter
@param attributeName the attribute name
@param clazz         the clazz
@return the string
support/cas-server-support-pm-core/src/main/java/org/apereo/cas/pm/PasswordManagementQuery.java