Class PrincipalVerifierRegistry

java.lang.Object
iu.auth.principal.PrincipalVerifierRegistry
All Implemented Interfaces:
IuPrincipalSpi

public class PrincipalVerifierRegistry extends Object implements IuPrincipalSpi
Provides identity verification support for internal implementation modules.
  • Constructor Details

    • PrincipalVerifierRegistry

      public PrincipalVerifierRegistry()
      Default constructor.
  • Method Details

    • isAuthoritative

      public static boolean isAuthoritative(String realm)
      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

      public boolean verify(IuPrincipalIdentity id, String realm) throws IuAuthenticationException
      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 interface IuPrincipalSpi
      Parameters:
      id - principal identity
      realm - 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