Description
Steps to reproduce the exception:
1) Create a new user
2) Sign in with the new user
3) Click the name of the user to edit the profile
4) Add a role and save
5) Open again the profile
returns an error:
Caused by: java.security.AccessControlException: Remote unauthorized exception
at org.apache.syncope.client.rest.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:65) ~[syncope-client-1.2.1-SNAPSHOT.jar:?]
at org.apache.syncope.client.rest.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:39) ~[syncope-client-1.2.1-SNAPSHOT.jar:?]
at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:302) ~[cxf-rt-rs-client-3.0.2.jar:3.0.2]
at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:725) ~[cxf-rt-rs-client-3.0.2.jar:3.0.2]
at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:683) ~[cxf-rt-rs-client-3.0.2.jar:3.0.2]
at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:224) ~[cxf-rt-rs-client-3.0.2.jar:3.0.2]
at com.sun.proxy.$Proxy228.read(Unknown Source) ~[?:?]
at org.apache.syncope.console.rest.UserSelfRestClient.read(UserSelfRestClient.java:47) ~[UserSelfRestClient.class:?]