java.lang.Object
iu.auth.principal.PrincipalVerifierRegistry
- All Implemented Interfaces:
IuPrincipalSpi
Provides identity verification support for internal implementation modules.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAuthoritative
(String realm) Determines if the indicated realm has been registered as authoritative for the local node.boolean
verify
(IuPrincipalIdentity id, String realm) Verifies that a principal identity was issued by a registered identity provider for an authentication realm.
-
Constructor Details
-
PrincipalVerifierRegistry
public PrincipalVerifierRegistry()Default constructor.
-
-
Method Details
-
isAuthoritative
Determines if the indicated realm has been registered as authoritative for the local node.- Parameters:
realm
- authentication realm- Returns:
- true of the local node registered as authoritative for the realm
-
verify
Description copied from interface:IuPrincipalSpi
Verifies that a principal identity was issued by a registered identity provider for an authentication realm.- Specified by:
verify
in interfaceIuPrincipalSpi
- 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
-