Module iu.util.auth

Interface IuPrincipalSpi

All Known Implementing Classes:
PrincipalVerifierRegistry

public interface IuPrincipalSpi
Service provider interface supporting principal identify verification.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Verifies that a principal identity was issued by a registered identity provider for an authentication realm.
  • Method Details

    • verify

      boolean verify(IuPrincipalIdentity id, String realm) throws IuAuthenticationException
      Verifies that a principal identity was issued by a registered identity provider for an authentication realm.
      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