-
Notifications
You must be signed in to change notification settings - Fork 70
feat: API for delegating credentials to generate a z/OS PassTicket #4368
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
base: v3.x.x
Are you sure you want to change the base?
Conversation
|
OLD PR: #4364 |
|
@balhar-jakub @pablocarle there was some issue with the previous pr for signing, hence created this new one. we will discuss in this pr. |
|
@pablocarle @balhar-jakub PR is ready for review |
8d9766d to
aae08aa
Compare
aae08aa to
2a26ebb
Compare
Signed-off-by: Gowtham Selvaraj <Gowtham.Selvaraj1@ibm.com>
931fc9b to
1ace669
Compare
44ba182 to
36654ae
Compare
| @SecurityRequirement(name = "Bearer"), | ||
| @SecurityRequirement(name = "LoginBasicAuth"), |
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.
This api is supported only for client certificate. we should remove the bearer and basic options.
| if (response.getRc() == 0 && StringUtils.isNotEmpty(response.getUserId())) { | ||
| zosUserId = response.getUserId(); | ||
| } | ||
| log.info("Getting ZOS_User_id: {} ", zosUserId); |
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.
" Got ZOS_User_id
| } | ||
| log.info("Getting ZOS_User_id: {} ", zosUserId); | ||
| var ticket = passTicketService.generate(zosUserId, applID); | ||
| log.info("Getting request email id: {} and ZOS_Userid: {}", emailID, zosUserId); |
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.
User emailD : {} and ZOS_User_id : {}
gateway-service/src/main/java/org/zowe/apiml/gateway/config/AuthEndpointConfig.java
Show resolved
Hide resolved
| } | ||
|
|
||
| } | ||
| } |
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.
NO change in this file, we should not checkin
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Linked to #4365
Part of the # (epic)
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