-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
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, 6.0.0.1, 6.0.0.2, 6.0.0.3, 6.0.0.4, 6.0.0.5
-
Fix Version/s: None
-
Component/s: API descriptor, idrepo
-
Labels:None
-
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
- 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
com.sun.identity.idm.AMIdentityRepository.java
/** * @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)); }