Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-603

Remote unauthorized exception when a user makes a request to add a role to his profile

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.1
    • 1.2.1, 2.0.0-M1
    • core
    • None

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ilgrosso Francesco Chicchiriccò
            mdisabatino Marco Di Sabatino Di Diodoro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment