Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authenticateSession always receives a null byte array password #232

Open
EltonSaraci99 opened this issue Feb 14, 2023 · 0 comments
Open

Comments

@EltonSaraci99
Copy link

EltonSaraci99 commented Feb 14, 2023

I am trying to implement the ServerEvents method "authenticateSession" to provide an authentication layer for my backend anytime a charge point tries to connect. The method that I am talking about:

`@Override
public void authenticateSession(SessionInformation sessionInformation, String s, byte[] bytes) throws AuthenticationException {

			log.info("identifier: " + sessionInformation.getIdentifier());
                             log.info("password in byte array: " + bytes);

		}`

However, for some reason, the password byte array always comes as a null value, despite me adding a password in the charge points that I have (tried with several different wallboxes, choosing basic auth). Is there something I am missing? No exceptions get thrown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant