public final class EveryoneFilter extends java.lang.Object
|Modifier and Type||Method and Description|
Inject the everyone principal in the result if the given query (defined by name hint and search type) matched everyone and the search expects the complete set to be return (i.e.
public static java.util.Iterator<java.security.Principal> filter(@NotNull @NotNull java.util.Iterator<java.security.Principal> resultPrincipals, @Nullable @Nullable java.lang.String nameHint, int searchType, long offset, long limit)
resultPrincipals- The principals returned by the query.
nameHint- The original name hint as passed to the query.
searchType- The original search type as passed to the query.
offset- The offset as passed to the query.
limit- The limit as passed to the query.
EveryonePrincipalattached if the given query matches the everyone principal name or search-type and doesn't specify a range (offset or limit). If the query doesn't match everyone or if a range was defined the original iterator is returned unmodified.
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.