-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat: revoke personal access token #2422
Conversation
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: achmelo <[email protected]>
…into rip/GH2306/revoke_access_token
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: achmelo <[email protected]>
…into rip/GH2306/revoke_access_token # Conflicts: # caching-service/src/main/java/org/zowe/apiml/caching/service/infinispan/storage/InfinispanStorage.java
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: achmelo <[email protected]>
Signed-off-by: achmelo <[email protected]>
…into rip/GH2306/revoke_access_token
Signed-off-by: at670475 <[email protected]>
Signed-off-by: achmelo <[email protected]>
…into rip/GH2306/revoke_access_token
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: achmelo <[email protected]>
…into rip/GH2306/revoke_access_token
This reverts commit 4c8eb80.
Signed-off-by: achmelo <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
Signed-off-by: at670475 <[email protected]>
} | ||
} | ||
|
||
public Map<String,String> readInvalidatedTokens(String key) throws CachingServiceClientException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the usage of key
parameter? I see that it is used only in exceptions... Also the usage of this method shows that actual token is provided as key parameter. Is it intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, but overall it looks good.
Signed-off-by: at670475 <[email protected]>
Signed-off-by: achmelo <[email protected]>
…into rip/GH2306/revoke_access_token
Signed-off-by: at670475 <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
Description
Added personal access token revokation. The revoked token is stored in the Caching Service (Infinispan).
Linked to #2306
Type of change
Please delete options that are not relevant.
Checklist:
For more details about how should the code look like read the Contributing guideline