zowe / sample-spring-boot-api-service

Zowe REST API service SDK and sample API service that integrates with Zowe API Mediation Layer
Other
26 stars 18 forks source link

PassTicket support #98

Closed plavjanik closed 4 years ago

plavjanik commented 4 years ago

This PR makes possible to use PassTickets for authentication using HTTP Basic method.

More details are in the updated documentation.

The IBM Java PlatformUser.authentication does not have a parameter with the APPLID so it is set for each thread by native method Secur.setApplid().

codecov[bot] commented 4 years ago

Codecov Report

Merging #98 into master will decrease coverage by 0.2%. The diff coverage is 60%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #98      +/-   ##
============================================
- Coverage     75.89%   75.69%   -0.21%     
- Complexity      306      310       +4     
============================================
  Files            69       71       +2     
  Lines          1170     1185      +15     
  Branches        119      122       +3     
============================================
+ Hits            888      897       +9     
- Misses          224      226       +2     
- Partials         58       62       +4
Impacted Files Coverage Δ Complexity Δ
.../java/org/zowe/commons/zos/security/jni/Secur.java 0% <ø> (ø) 0 <0> (ø) :arrow_down:
...g/src/main/java/org/zowe/commons/zos/ZosUtils.java 100% <100%> (ø) 1 <1> (?)
...rity/authentication/ZosAuthenticationProvider.java 70.58% <50%> (-2.75%) 9 <0> (ø)
...g/zowe/commons/zos/security/platform/SafUtils.java 55.55% <55.55%> (ø) 3 <3> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 86f5bda...f8b18d4. Read the comment docs.