Skip to content

authenticateSession always receives a null byte array password #232

@EltonSaraci99

Description

@EltonSaraci99

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions