public static final class AuthenticationIdentitiesProvider.Utils extends Object
Modifier and Type | Field and Description |
---|---|
static Comparator<Object> |
KEYPAIR_IDENTITY_COMPARATOR
|
static Comparator<Object> |
PASSWORD_IDENTITY_COMPARATOR
Compares 2 password identities - returns zero ONLY if both compared
objects are
String s and equal to each other |
Modifier and Type | Method and Description |
---|---|
static int |
findIdentityIndex(List<?> identities,
Comparator<? super Object> comp,
Object target) |
static AuthenticationIdentitiesProvider |
wrap(Iterable<?> identities) |
public static final Comparator<Object> PASSWORD_IDENTITY_COMPARATOR
String
s and equal to each otherpublic static final Comparator<Object> KEYPAIR_IDENTITY_COMPARATOR
public static int findIdentityIndex(List<?> identities, Comparator<? super Object> comp, Object target)
public static AuthenticationIdentitiesProvider wrap(Iterable<?> identities)
identities
- The Iterable
identities - OK if null
/emptyAuthenticationIdentitiesProvider
wrapping the identitiesCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.