Class ValidateUserInfoJSONObjectClaims

    • Constructor Detail

      • ValidateUserInfoJSONObjectClaims

        public ValidateUserInfoJSONObjectClaims()
        Constructor.
    • Method Detail

      • doPreExecute

        protected boolean doPreExecute​(@Nonnull
                                       ProfileRequestContext profileRequestContext,
                                       @Nonnull
                                       net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext)
        Overrides:
        doPreExecute in class net.shibboleth.idp.authn.AbstractAuthenticationAction
      • doExecute

        protected void doExecute​(@Nonnull
                                 ProfileRequestContext profileRequestContext,
                                 @Nonnull
                                 net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext)
        Overrides:
        doExecute in class net.shibboleth.idp.authn.AbstractAuthenticationAction
      • resolveClaimsSet

        @Nullable
        private com.nimbusds.openid.connect.sdk.claims.ClaimsSet resolveClaimsSet​(@Nonnull
                                                                                  com.nimbusds.openid.connect.sdk.UserInfoResponse response)
        Resolve the UserInfo claims from the user info response. If JWT type, extract from the JWT claims. If plain JSON object type, resolve directly from the UserInfo claims set.
        Parameters:
        response - the UserInfo response
        Returns:
        the UserInfo claims. Return null if not found, wrong response type, or there was a parsing exception