Module iu.util.auth.principal
Package iu.auth.principal
Interface PrincipalVerifier<I extends IuPrincipalIdentity>
- Type Parameters:
I
- principal identity type
- All Superinterfaces:
IuAuthConfig
- All Known Implementing Classes:
CaVerifier
,PkiVerifier
Verifies a principal as valid for a realm.
-
Method Summary
Methods inherited from interface iu.auth.config.IuAuthConfig
getAuthenticationEndpoint, getAuthScheme, getRealm
-
Method Details
-
getType
Gets the identity type.- Returns:
- identity type; must be a final implementation class
-
isAuthoritative
boolean isAuthoritative()Determines if this verifier is authoritative for the realm.- Returns:
- true if the identity principal is managed by the authorization module, or verifiable through an established trust relationship with a remote authentication provider; false verification is based solely on an implicit trust relationship based on well-known information about the authentication provider.
-
verify
Verifies a principal identity.- Parameters:
id
- principal identity- Throws:
IuAuthenticationException
- If the principal could not be verified
-