public abstract class BaseOpenIdResolver extends Object implements OpenIdResolver
CLIENT_SECRET_KEY, ISSUER_KEY, JWK, KEY_ALIAS_KEY, KEYSTORE_LOCATION_KEY, KEYSTORE_PASS_KEY, KEYSTORE_TYPE_KEY, WELL_KNOWN_CONFIGURATION
Constructor and Description |
---|
BaseOpenIdResolver(String issuer)
Abstract constructor for setting the issuer's identity.
|
Modifier and Type | Method and Description |
---|---|
String |
getIssuer()
Returns the issuer (IdP) for which this resolver will resolve identities.
|
void |
validateIdentity(SignedJwt idClaim)
Validates the supplied Jwt against this OpenId Connect Idp.
|
public BaseOpenIdResolver(String issuer)
issuer
- The issuer (provider) of the Open Id Connect id tokenpublic void validateIdentity(SignedJwt idClaim) throws OpenIdConnectVerificationException
validateIdentity
in interface OpenIdResolver
idClaim
- The Jwt to test is authenticated from this issuerOpenIdConnectVerificationException
- If the Jwt is unable to be verifiedpublic String getIssuer()
getIssuer
in interface OpenIdResolver
Copyright © 2010-2018, ForgeRock All Rights Reserved.