Interface AuthenticationIdentitiesProvider

    • Field Detail

      • PASSWORD_IDENTITY_COMPARATOR

        static final java.util.Comparator<java.lang.Object> PASSWORD_IDENTITY_COMPARATOR
        Compares 2 password identities - returns zero ONLY if both compared objects are Strings and equal to each other
      • KEYPAIR_IDENTITY_COMPARATOR

        static final java.util.Comparator<java.lang.Object> KEYPAIR_IDENTITY_COMPARATOR
        Compares 2 KeyPair identities - returns zero ONLY if both compared objects are KeyPairs and equal to each other
    • Method Detail

      • loadIdentities

        java.lang.Iterable<?> loadIdentities()
        Returns:
        All the currently available identities - passwords, keys, etc...
      • findIdentityIndex

        static int findIdentityIndex​(java.util.List<?> identities,
                                     java.util.Comparator<? super java.lang.Object> comp,
                                     java.lang.Object target)