You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2025/03/19 11:41:00 UTC
[jira] [Resolved] (OAK-11610) Clarify javadoc of o.a.j.api.security.user.UserManager.createUser() with respect to null passwords
[ https://issues.apache.org/jira/browse/OAK-11610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved OAK-11610.
-----------------------------------
Resolution: Fixed
> Clarify javadoc of o.a.j.api.security.user.UserManager.createUser() with respect to null passwords
> --------------------------------------------------------------------------------------------------
>
> Key: OAK-11610
> URL: https://issues.apache.org/jira/browse/OAK-11610
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: jackrabbit-api
> Affects Versions: 1.76.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 1.78.0
>
>
> Currently the javadoc in https://github.com/apache/jackrabbit-oak/blob/709fab2f6506336e6eb0002257bee125d689d9ef/oak-jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/UserManager.java#L170-L171 states
> bq. Creates an User for the given userID / password pair; neither of the specified parameters can be null
> However the {{password}} parameter is explicitly marked as {{Nullable}}.
> So is null allowed or not? If yes, what happens if null is passed. Can one authenticate then without providing a password?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)