-
Notifications
You must be signed in to change notification settings - Fork 220
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
Add support for passwordExpiryTime in user claims on request #856
Add support for passwordExpiryTime in user claims on request #856
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #856 +/- ##
============================================
+ Coverage 50.32% 50.76% +0.43%
- Complexity 2385 2428 +43
============================================
Files 297 298 +1
Lines 17899 17887 -12
Branches 2558 2537 -21
============================================
+ Hits 9008 9080 +72
+ Misses 7747 7662 -85
- Partials 1144 1145 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
....expiry/src/main/java/org/wso2/carbon/identity/password/expiry/util/PasswordPolicyUtils.java
Outdated
Show resolved
Hide resolved
PR builder started |
PR builder completed |
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.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/12132798611
PR builder started |
PR builder completed |
PR builder started |
PR builder completed |
Failing with following error
|
PR builder started |
.put(PasswordPolicyConstants.PASSWORD_EXPIRY_TIME_CLAIM, String.valueOf(expiryTime))); | ||
} | ||
} catch (PostAuthenticationFailedException e) { | ||
throw new UserStoreException("Error while retrieving password expiry time.", e); |
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.
Check if these are logged.
...main/java/org/wso2/carbon/identity/password/expiry/listener/PasswordExpiryEventListener.java
Outdated
Show resolved
Hide resolved
PR builder completed |
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.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/12310234311
....expiry/src/main/java/org/wso2/carbon/identity/password/expiry/util/PasswordPolicyUtils.java
Outdated
Show resolved
Hide resolved
PR builder started |
PR builder completed |
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.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/12314642239
Proposed changes in this pull request
getUserPasswordExpiryTime
.passwordExpiryTime
to user's claims map.Related Issues