You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Manfredo Hopp <mh...@gmail.com> on 2015/03/05 21:00:18 UTC

error on role panel V1.2.2

Use cas: generate new role, click on link of generated role:

Unexpected RuntimeException

Last cause: Remote unauthorized exception
WicketMessage: Method onRequest of interface
org.apache.wicket.behavior.IBehaviorListener targeted at
org.apache.wicket.ajax.markup.html.AjaxFallbackLink$1@55779b03 on
component [AjaxFallbackLink [Component id = link]] threw an exception

Stacktrace

Root cause:

java.security.AccessControlException: Remote unauthorized exception
     at org.apache.syncope.client.rest.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:65)
     at org.apache.syncope.client.rest.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:39)
     at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:302)
     at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:725)
     at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:683)
     at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:224)
     at com.sun.proxy.$Proxy63.read(Unknown Source)
     at org.apache.syncope.console.rest.RoleRestClient.read(RoleRestClient.java:85)
     at WICKET_org.apache.syncope.console.rest.RoleRestCl

Complete stack:

org.apache.wicket.WicketRuntimeException: Method onRequest of
interface org.apache.wicket.behavior.IBehaviorListener targeted at
org.apache.wicket.ajax.markup.html.AjaxFallbackLink$1@55779b03 on
component [AjaxFallbackLink [Component id = link]] threw an exception
     at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268)
     at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
     at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250)
     at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)
     at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
     at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
     at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
     at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
     at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
     at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)

java.lang.reflect.InvocationTargetException
     at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
     at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
     at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250)
     at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)
     at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
     at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)

Re: error on role panel V1.2.2

Posted by Manfredo Hopp <mh...@gmail.com>.
Marco checked console.properties and no error on core.log.



2015-03-20 5:11 GMT-03:00 Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net>:

>
>
> Il 19/03/2015 22:06, Manfredo Hopp ha scritto:
>
> Marco, as far as I undesrtand if not in admin mode noone is able to see
> roles. This should confirm that I efectively was admin!
> But in case of doubt I confirm that when error happened I was admin.
>
>
> There are no difference if you install syncope in different tomcats (you
> must correctly configure the console.properties).
> Check  in the core logs for more information about your error.
>
>
> M
>
>  Regards
>
> 2015-03-19 14:18 GMT-03:00 Marco Di Sabatino Di Diodoro <
> marco.disabatino@tirasa.net>:
>
>>
>>
>> Il 06/03/2015 21:12, Manfredo Hopp ha scritto:
>>
>> Hi
>>  though this is a new installed Syncope,  there is a sligth difference
>> with standard installation in which console and core are running in
>> different Tomcats.
>>
>>  Thank you
>>
>> 2015-03-06 2:45 GMT-03:00 Francesco Chicchiriccò <il...@apache.org>:
>>
>>> On 05/03/2015 21:00, Manfredo Hopp wrote:
>>>
>>>> Use case: generate new role, click on link of generated role:
>>>>
>>>
>>> Hi Manfredo,
>>> as usual, you should provide some more background on what you are trying
>>> to do: creating a new role and working with it (clicking, editing, etc.)
>>> works fine - I've just tested it again - when you have all the required
>>> entitlements.
>>>
>>> Are you attempting to perform the operations above as admin or not? In
>>> the latter case, you're probably missing some entitlements ("Last cause:
>>> Remote unauthorized exception").
>>>
>>
>> You haven't answered to question: "Are you attempting to perform the
>> operations above as admin or not?"
>>
>> M
>>
>>   HTH
>>> Regards.
>>>
>>> --
>>> Francesco Chicchiriccò
>>>
>>> Tirasa - Open Source Excellence
>>> http://www.tirasa.net/
>>>
>>> Involved at The Apache Software Foundation:
>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC
>>> http://people.apache.org/~ilgrosso/
>>>
>>>
>>
>>  --
>> Dott. Marco Di Sabatino Di Diodoro
>> Tel. +39 3939065570
>>
>> Tirasa S.r.l.
>> Viale D'Annunzio 267 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>>
>> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>>
>>
>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>
>

Re: error on role panel V1.2.2

Posted by Marco Di Sabatino Di Diodoro <ma...@tirasa.net>.

Il 19/03/2015 22:06, Manfredo Hopp ha scritto:
> Marco, as far as I undesrtand if not in admin mode noone is able to 
> see roles. This should confirm that I efectively was admin!
> But in case of doubt I confirm that when error happened I was admin.
>

There are no difference if you install syncope in different tomcats (you 
must correctly configure the console.properties).
Check  in the core logs for more information about your error.

M

> Regards
>
> 2015-03-19 14:18 GMT-03:00 Marco Di Sabatino Di Diodoro 
> <marco.disabatino@tirasa.net <ma...@tirasa.net>>:
>
>
>
>     Il 06/03/2015 21:12, Manfredo Hopp ha scritto:
>>     Hi
>>      though this is a new installed Syncope,  there is a sligth
>>     difference with standard installation in which console and core
>>     are running in different Tomcats.
>>
>>     Thank you
>>
>>     2015-03-06 2:45 GMT-03:00 Francesco Chicchiriccò
>>     <ilgrosso@apache.org <ma...@apache.org>>:
>>
>>         On 05/03/2015 21:00, Manfredo Hopp wrote:
>>
>>             Use case: generate new role, click on link of generated role:
>>
>>
>>         Hi Manfredo,
>>         as usual, you should provide some more background on what you
>>         are trying to do: creating a new role and working with it
>>         (clicking, editing, etc.) works fine - I've just tested it
>>         again - when you have all the required entitlements.
>>
>>         Are you attempting to perform the operations above as admin
>>         or not? In the latter case, you're probably missing some
>>         entitlements ("Last cause: Remote unauthorized exception").
>>
>
>     You haven't answered to question: "Are you attempting to perform
>     the operations above as admin or not?"
>
>     M
>>
>>         HTH
>>         Regards.
>>
>>         -- 
>>         Francesco Chicchiriccò
>>
>>         Tirasa - Open Source Excellence
>>         http://www.tirasa.net/
>>
>>         Involved at The Apache Software Foundation:
>>         member, Syncope PMC chair, Cocoon PMC, Olingo PMC
>>         http://people.apache.org/~ilgrosso/
>>         <http://people.apache.org/%7Eilgrosso/>
>>
>>
>
>     -- 
>     Dott. Marco Di Sabatino Di Diodoro
>     Tel. +39 3939065570
>
>     Tirasa S.r.l.
>     Viale D'Annunzio 267 - 65127 Pescara
>     Tel +39 0859116307 / FAX +39 0859111173
>     http://www.tirasa.net
>
>     Apache Syncope PMC Member
>     http://people.apache.org/~mdisabatino/  <http://people.apache.org/%7Emdisabatino/>
>
>

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


Re: error on role panel V1.2.2

Posted by Manfredo Hopp <mh...@gmail.com>.
Marco, as far as I undesrtand if not in admin mode noone is able to see
roles. This should confirm that I efectively was admin!
But in case of doubt I confirm that when error happened I was admin.

Regards

2015-03-19 14:18 GMT-03:00 Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net>:

>
>
> Il 06/03/2015 21:12, Manfredo Hopp ha scritto:
>
> Hi
>  though this is a new installed Syncope,  there is a sligth difference
> with standard installation in which console and core are running in
> different Tomcats.
>
>  Thank you
>
> 2015-03-06 2:45 GMT-03:00 Francesco Chicchiriccò <il...@apache.org>:
>
>> On 05/03/2015 21:00, Manfredo Hopp wrote:
>>
>>> Use case: generate new role, click on link of generated role:
>>>
>>
>> Hi Manfredo,
>> as usual, you should provide some more background on what you are trying
>> to do: creating a new role and working with it (clicking, editing, etc.)
>> works fine - I've just tested it again - when you have all the required
>> entitlements.
>>
>> Are you attempting to perform the operations above as admin or not? In
>> the latter case, you're probably missing some entitlements ("Last cause:
>> Remote unauthorized exception").
>>
>
> You haven't answered to question: "Are you attempting to perform the
> operations above as admin or not?"
>
> M
>
>   HTH
>> Regards.
>>
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC
>> http://people.apache.org/~ilgrosso/
>>
>>
>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>
>

Re: error on role panel V1.2.2

Posted by Marco Di Sabatino Di Diodoro <ma...@tirasa.net>.

Il 06/03/2015 21:12, Manfredo Hopp ha scritto:
> Hi
>  though this is a new installed Syncope,  there is a sligth difference 
> with standard installation in which console and core are running in 
> different Tomcats.
>
> Thank you
>
> 2015-03-06 2:45 GMT-03:00 Francesco Chicchiriccò <ilgrosso@apache.org 
> <ma...@apache.org>>:
>
>     On 05/03/2015 21:00, Manfredo Hopp wrote:
>
>         Use case: generate new role, click on link of generated role:
>
>
>     Hi Manfredo,
>     as usual, you should provide some more background on what you are
>     trying to do: creating a new role and working with it (clicking,
>     editing, etc.) works fine - I've just tested it again - when you
>     have all the required entitlements.
>
>     Are you attempting to perform the operations above as admin or
>     not? In the latter case, you're probably missing some entitlements
>     ("Last cause: Remote unauthorized exception").
>

You haven't answered to question: "Are you attempting to perform the 
operations above as admin or not?"

M
>
>     HTH
>     Regards.
>
>     -- 
>     Francesco Chicchiriccò
>
>     Tirasa - Open Source Excellence
>     http://www.tirasa.net/
>
>     Involved at The Apache Software Foundation:
>     member, Syncope PMC chair, Cocoon PMC, Olingo PMC
>     http://people.apache.org/~ilgrosso/
>     <http://people.apache.org/%7Eilgrosso/>
>
>

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


Re: error on role panel V1.2.2

Posted by Manfredo Hopp <mh...@gmail.com>.
Hi
 though this is a new installed Syncope,  there is a sligth difference with
standard installation in which console and core are running in different
Tomcats.

Thank you

2015-03-06 2:45 GMT-03:00 Francesco Chicchiriccò <il...@apache.org>:

> On 05/03/2015 21:00, Manfredo Hopp wrote:
>
>> Use case: generate new role, click on link of generated role:
>>
>
> Hi Manfredo,
> as usual, you should provide some more background on what you are trying
> to do: creating a new role and working with it (clicking, editing, etc.)
> works fine - I've just tested it again - when you have all the required
> entitlements.
>
> Are you attempting to perform the operations above as admin or not? In the
> latter case, you're probably missing some entitlements ("Last cause: Remote
> unauthorized exception").
>
> HTH
> Regards.
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC
> http://people.apache.org/~ilgrosso/
>
>

Re: error on role panel V1.2.2

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 05/03/2015 21:00, Manfredo Hopp wrote:
> Use case: generate new role, click on link of generated role:

Hi Manfredo,
as usual, you should provide some more background on what you are trying 
to do: creating a new role and working with it (clicking, editing, etc.) 
works fine - I've just tested it again - when you have all the required 
entitlements.

Are you attempting to perform the operations above as admin or not? In 
the latter case, you're probably missing some entitlements ("Last cause: 
Remote unauthorized exception").

HTH
Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/