[OPENAM-15663] UserInfoClaims is not part of public API Created: 11/Nov/19  Updated: 05/Oct/20  Resolved: 02/Sep/20

Status: Resolved
Project: OpenAM
Component/s: API descriptor
Affects Version/s: 13.5.0, 13.5.1, 13.5.2, 14.0.0, 14.1.0, 14.1.1, 14.5.0, 14.5.1, 5.5.1,,,, 6.0.0,,,,,,,,, 6.5.0,,,,, 6.5.1,,, 6.5.2,,,,
Fix Version/s: 5.5.3, 6.5.3, 7.1.0, 7.0.1

Type: Bug Priority: Major
Reporter: Bernhard Thalmayr Assignee: Lawrence Yarham
Resolution: Fixed Votes: 0
Labels: EDISON, javadocs
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is duplicated by OPENAM-16872 public API does not include classes u... Resolved
is related to OPENAM-16502 Make OpenAMScopeValidator source avai... Closed
Target Version/s:
Rank: 1|hzzf3j:
Sprint: AM Sustaining Sprint 78
Story Points: 2
Support Ticket IDs:
Functional tests:
Are the reproduction steps defined?:
Yes and I used the same an in the description


Bug description

UserInfoClaims is not part of public API

How to reproduce the issue

  1. check https://backstage.forgerock.com/docs/am/6.5/apidocs/index.html

and try to implement a custome scope validator (https://backstage.forgerock.com/docs/am/6.5/apidocs/org/forgerock/oauth2/core/ScopeValidator.html) without looking the source.

Expected behaviour
UserInfoClaims needs to be part of the public API in order to implement a custom Scope Validator
Current behaviour
UserInfoClaims is not mentioned in public API

Comment by Anastasios Kampas [ 10/Jun/20 ]

OIDC claims script also imports UserInfoClaims package:

import com.iplanet.sso.SSOException
import com.sun.identity.idm.IdRepoException
import org.forgerock.oauth2.core.exceptions.InvalidRequestException
import org.forgerock.oauth2.core.UserInfoClaims
import org.forgerock.openidconnect.Claim 

In fact only com.iplanet.sso.SSOException & com.sun.identity.idm.IdRepoException are part of the public API. Perhaps as part of this JIRA, we can add the other 2?

Generated at Wed Mar 03 02:16:01 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.