All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hp.autonomy.hod.sso.HodUserMetadataResolver Maven / Gradle / Ivy

There is a newer version: 0.9.2
Show newest version
/*
 * Copyright 2015 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

package com.hp.autonomy.hod.sso;

import com.fasterxml.jackson.databind.JsonNode;

import java.util.Map;

/**
 * Strategy interface for resolving a username from a map of HOD user metadata.
 */
@SuppressWarnings("WeakerAccess")
public interface HodUserMetadataResolver {

    /**
     * Resolve the username from a map of HOD user metadata
     * @param unparsedMetadata The user's metadata
     * @return The username or null if there isn't one
     */
    HodUserMetadata resolve(Map unparsedMetadata);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy