Skip to content

Using custom implementation for auth token ,How to leverage security context holder to get authentication if token is not changed for subsequent request #388

Open
@Dinesh123

Description

@Dinesh123

I am using custom implementation for authentication as mentioned in your document.
Using authsceheme selector and provider , I don't want to authenticate for every request instead i want to leverage
Context to get current authentication object and check if token has not changed.

I am not sure how authentication object is saved in SecurityContextHolder, i do see it gets cleared with every request.
overall i don't understand intention behind saving authentication object in security context holder if its not used for subsequent request.

I am using unary call's

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