[
https://issues.apache.org/jira/browse/SYNCOPE-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483205#comment-17483205
]
ASF subversion and git services commented on SYNCOPE-1660:
----------------------------------------------------------
Commit b1d11bd9f1e7a9e8a5f836376879e22cec07fae0 in syncope's branch
refs/heads/master from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=b1d11bd ]
[SYNCOPE-1660] Using SyncopeAuthenticationDetailsSource with
AnonymousAuthenticationFilter
> Anonymous requests does not store domain and delegatedBy information in the
> auth context
> ----------------------------------------------------------------------------------------
>
> Key: SYNCOPE-1660
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1660
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 2.1.10
> Reporter: Andrea Patricelli
> Assignee: Francesco Chicchiriccò
> Priority: Major
> Fix For: 2.1.11, 3.0.0
>
>
> # Define a new domain or take sample domain Two as reference
> # Create an user under that domain
> # Try to perform a requestPasswordReset, here is the call:
> {code:java}
> curl -X 'POST' \
>
> 'http://host:port/syncope/rest/users/self/requestPasswordReset?username=myusername'
> \
> -H 'accept: */*' \
> -H 'X-Syncope-Domain: Two' \
> -H 'Content-Type: */*' \
> -d '' {code}
> you'll get a "not found" error since domain is not tracked in the auth
> context.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)