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

Draft: feat(server): credentials (with credssp) #558

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

elmarco
Copy link
Contributor

@elmarco elmarco commented Oct 9, 2024

Modify Acceptor to take optionally Credentials at construct time.

The credentials can be changed via ServerEvent::SetCredentials.

Unauthorized connections are no longer accepted.

However, I don't know how to report the error to the client correctly. For now it returns a SetErrorInfo/DeniedConnection, but that doesn't seem appropriate during the connection sequence.

@CBenoit CBenoit marked this pull request as draft October 9, 2024 16:23
@CBenoit CBenoit changed the title Draft: feat(server): allow setting credentials feat(server): allow setting credentials Oct 9, 2024
@elmarco elmarco changed the title feat(server): allow setting credentials Draft: feat(server): credentials (with credssp) Oct 16, 2024
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Modify Acceptor to take optionally Credentials at construct time.

The credentials can be changed via ServerEvent::SetCredentials.

Unauthorized connections are no longer accepted.

However, I don't know how to report the error to the client correctly.
For now it returns a SetErrorInfo/DeniedConnection, but that doesn't
seem appropriate during the connection sequence.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant