- All Superinterfaces:
IuAuthConfig
- All Known Implementing Classes:
CaVerifier,PkiVerifier
Represents a configured private key principal trusted as a token issuer.
-
Method Summary
Modifier and TypeMethodDescriptiongetPrincipal(IuPrivateKeyPrincipal privateKeyPrincipal) Gets a verifiableIuPrincipalIdentitythat corresponds to a configured private key principal, if the private key was registered as trusted.Methods inherited from interface iu.auth.config.IuAuthConfig
getAuthenticationEndpoint, getAuthScheme, getRealm
-
Method Details
-
getPrincipal
Gets a verifiableIuPrincipalIdentitythat corresponds to a configured private key principal, if the private key was registered as trusted.If the private key is held locally by the incoming config, the principal returned by this method will verify as authoritative. If a
certificatein the private key's well-known certificate chain is held, but not the private key itself, the principal returned will verify as non-authoritative.- Parameters:
privateKeyPrincipal- private key principal configuration- Returns:
- Verifiable
IuPrincipalIdentityif trusted; else null
-