[OPENAM-13969] AMIdentityRepository.authenticate(Callback[] callbacks) is not part of the public JavaDoc / API Created: 13/Nov/18  Updated: 14/Nov/18

Status: Open
Project: OpenAM
Component/s: API descriptor, idrepo
Affects Version/s: 12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 13.0.0, 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,,,,,
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bernhard Thalmayr Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Rank: 1|hzx4vr:
Support Ticket IDs:


Bug description

AMIdentityRepository.authenticate(Callback[]) is not part of public API so can not be used by customers to write a custom authentication node if the provided DataStoreAuthDecisionNode is not sufficient.

How to reproduce the issue

  1. Try to use the public API provided classes / interfaces to build a custom Authentication Node that performs data store authentication
Expected behaviour
Method should be listed at https://backstage.forgerock.com/docs/am/6/apidocs/com/sun/identity/idm/AMIdentityRepository.html
Current behaviour
Method is not listed at https://backstage.forgerock.com/docs/am/6/apidocs/com/sun/identity/idm/AMIdentityRepository.html

Work around

OPTIONAL - If you have a workaround, please put the details here (remove this text)

Code analysis

     * @supported.api
     * Non-javadoc, non-public methods Returns <code>true</code> if the data
     * store has successfully authenticated the identity with the provided
     * credentials. In case the data store requires additional credentials, the
     * list would be returned via the <code>IdRepoException</code> exception.
     * @param credentials
     *            Array of callback objects containing information such as
     *            username and password.
     * @return <code>true</code> if data store authenticates the identity;
     *         else <code>false</code>
    public boolean authenticate(Callback[] credentials) throws IdRepoException,
            com.sun.identity.authentication.spi.AuthLoginException {
        IdServices idServices = IdServicesFactory.getDataStoreServices();
        return (idServices.authenticate(organizationDN, credentials));

Generated at Thu Feb 25 16:29:10 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.