Interface AccountProvider


  • @SupportedAll
    public interface AccountProvider
    Implementations of this interface provide the means to search for and create users given a map of attributes.
    See Also:
    DefaultAccountProvider
    • Method Detail

      • searchUser

        AMIdentity searchUser​(AMIdentityRepository idrepo,
                              Map<String,​Set<String>> attr)
        Search for a user given a map of attributes.
        Parameters:
        idrepo - The identity repository.
        attr - The set of attributes, which should be treated as 'or' statements.
        Returns:
        The first matching user found.