-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0, 2.2
-
Component/s: API
-
Tags:
-
Backlog priority:700
-
Sprint:nxfit 9.1.1
-
Story Points:5
How to reproduce:
NuxeoClient nuxeoClient = new NuxeoClient("http://localhost:8080/nuxeo", "Administrator", "Administrator"); nuxeoClient.setAuthenticationMethod(new PortalSSOAuthInterceptor("nuxeo5secretkey", "user1")); CurrentUser currentUser = nuxeoClient.fetchCurrentUser(); System.out.println("current user: " + currentUser.getUsername());
Output should be current user: user1 but is current user: Administrator.
The following works:
NuxeoClient nuxeoClient = new NuxeoClient("http://localhost:8080/nuxeo", "Administrator", "Administrator"); nuxeoClient.setAuthenticationMethod(new PortalSSOAuthInterceptor("nuxeo5secretkey", "user1")).timeout(10); CurrentUser currentUser = nuxeoClient.fetchCurrentUser(); System.out.println("current user: " + currentUser.getUsername());
Output is current user: user1.
- is related to
-
NXP-21172 nuxeo-platform-login-portal-sso shouldn't have a transitive dependency on javax.servlet:javax.servlet-api
- Resolved
- is required by
-
JAVACLIENT-109 Release Java Client 2.3
- Resolved