/** * Adds the ids of the specified credential type that are available to the specified context as the current * authentication. * * @param context the context to add credentials from. * @param type the base class of the credentials to add. * @return {@code this} for method chaining. * @see CredentialsProvider#listCredentials(Class, ItemGroup, Authentication, List, CredentialsMatcher) * @since 2.1.0 */ public AbstractIdCredentialsListBoxModel<T, C> include(@NonNull ItemGroup context, @NonNull Class<? extends C> type) { return include(context, type, Collections.<DomainRequirement>emptyList()); }
/** * Adds the ids of the specified credential type that are available to the specified context as the current * authentication. * * @param context the context to add credentials from. * @param type the base class of the credentials to add. * @return {@code this} for method chaining. * @see CredentialsProvider#listCredentials(Class, Item, Authentication, List, CredentialsMatcher) * @since 2.1.0 */ public AbstractIdCredentialsListBoxModel<T, C> include(@Nullable Item context, @NonNull Class<? extends C> type) { return include(context, type, Collections.<DomainRequirement>emptyList()); }
/** * Adds the ids of the specified credential type that are available to the specified context as the current * authentication. * * @param context the context to add credentials from. * @param type the base class of the credentials to add. * @return {@code this} for method chaining. * @see CredentialsProvider#listCredentials(Class, Item, Authentication, List, CredentialsMatcher) * @since 2.1.0 */ public AbstractIdCredentialsListBoxModel<T, C> include(@Nullable Item context, @NonNull Class<? extends C> type) { return include(context, type, Collections.<DomainRequirement>emptyList()); }
/** * Adds the ids of the specified credential type that are available to the specified context as the current * authentication. * * @param context the context to add credentials from. * @param type the base class of the credentials to add. * @return {@code this} for method chaining. * @see CredentialsProvider#listCredentials(Class, ItemGroup, Authentication, List, CredentialsMatcher) * @since 2.1.0 */ public AbstractIdCredentialsListBoxModel<T, C> include(@NonNull ItemGroup context, @NonNull Class<? extends C> type) { return include(context, type, Collections.<DomainRequirement>emptyList()); }