You'll need to set a password for the admin account. See [1] for more details on migrating existing applications.

[1] https://docs.basex.org/wiki/BaseX_10#Migrating_Applications



chandra sekhar n <vcsred@gmail.com> schrieb am Fr., 6. Jan. 2023, 13:21:
Dear basex team,
I downloaded basex latest version ,but I am not able to get a client session.i used below code

ClientSession session = new ClientSession("localhost", 1984, "admin", "admin");

Getting below exception :

org.basex.server.LoginException: Access denied: admin.
at org.basex.api.client.ClientSession.<init>(ClientSession.java:123)
at org.basex.api.client.ClientSession.<init>(ClientSession.java:76)

Regards,
Chandrasekhar