Class InexactPrincipalEvalPredicateFactory

All Implemented Interfaces:

public class InexactPrincipalEvalPredicateFactory extends Object implements PrincipalEvalPredicateFactory
PrincipalEvalPredicateFactory that implements inexact matching of principals, based on an arbitrary set of "matches" configured at runtime.

Matching is based on string equality between two principals via the Principal.getName() method.

This component implements essentially arbitrary comparison rules by being unaware of the actual semantics implied by a match. For example, a given instance of the component could be configured with rules for matching principals that are "at least as good as" or "better than" a candidate value, but the component doesn't know or care about that meaning.