public interface PrincipalEvalPredicate extends com.google.common.base.Predicate<PrincipalSupportingComponent>
Predicate to evaluate a Principal that represents a requested form of
authentication against a set of principals supported by a PrincipalSupportingComponent.
The predicate contains an additional method that makes available the actual
Principal object that satisfied the predicate. In concrete terms, this
represents the actual authentication method that was performed.
| Modifier and Type | Method and Description |
|---|---|
Principal |
getMatchingPrincipal()
Get the
Principal object from the evaluated PrincipalSupportingComponent
that actually satisfied the predicate, if any. |
@Nullable Principal getMatchingPrincipal()
Principal object from the evaluated PrincipalSupportingComponent
that actually satisfied the predicate, if any.Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.