- All Known Implementing Classes:
PrincipalVerifierRegistry
public interface IuPrincipalSpi
Service provider interface supporting principal identify verification.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
verify
(IuPrincipalIdentity id, String realm) Verifies that a principal identity was issued by a registered identity provider for an authentication realm.
-
Method Details
-
verify
Verifies that a principal identity was issued by a registered identity provider for an authentication realm.- Parameters:
id
- principal identityrealm
- authentication realm- Returns:
- true if the authorization module is considered authoritative for the realm
- Throws:
IuAuthenticationException
- with an authentication challenge if the id was well-formed for the realm but credentials were invalid
-