You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Marco Di Sabatino Di Diodoro (JIRA)" <ji...@apache.org> on 2014/11/06 19:41:34 UTC

[jira] [Created] (SYNCOPE-603) Remote unauthorized exception when a user makes a request to add a role to his profile

Marco Di Sabatino Di Diodoro created SYNCOPE-603:
----------------------------------------------------

             Summary: Remote unauthorized exception when a user makes a request to add a role to his profile
                 Key: SYNCOPE-603
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-603
             Project: Syncope
          Issue Type: Bug
          Components: core
    Affects Versions: 1.2.1
            Reporter: Marco Di Sabatino Di Diodoro
             Fix For: 1.2.1, 1.3.0


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:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)