On Fri, Jun 22, 2012 at 12:15 AM, Senaka Fernando <[email protected]> wrote:

> Hi all,
>
> One fix suggested was that the GhostRegistry extends the UserRegistry. I
> had a look and we can do this, but the constructor of the GhostRegistry
> would also require a reference to the RealmService of the particular
> tenant. Possibly a GhostRealm, :). Until that's done, we can't do this.
>
>
I've also looked at this issue for an issue of uploading a keystore via the
UI. Then there was a ClassCaseException for the same above. For some
reason, I wasn't convinced that the bringing the GhostRegistry further down
the hierarchy didn't work. Let me remember it, and let you know. May be
DimuthuL able to provide some more insight.

Thanks,
--KasunG


> Thanks,
> Senaka.
>
>
> On Fri, Jun 22, 2012 at 12:00 AM, Thilina Buddhika <[email protected]>wrote:
>
>> Only a part of the issue is fixed.
>>
>> This component was written assuming the config/governance registry
>> instances that an admin service impl gets through the abstract admin can be
>> cast to the User Registry. But with the introduction of the ghost registry,
>> it is no longer an User Registry. Senaka and myself had a discussion on
>> this, and the plan was to make the fix the Ghost Registry properly. We can
>> fix this particular issue with  a couple of work arounds, but there are so
>> many components which were written with the above assumption and it is not
>> practical to search and fix each of them.
>>
>> Thanks,
>> Thilina
>>
>>
>> On Thu, Jun 21, 2012 at 9:20 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> Is this fixed?
>>>
>>>
>>> On Mon, Jun 11, 2012 at 7:33 PM, Thilina Buddhika <[email protected]>wrote:
>>>
>>>> This is due to the recent fixes on defining a super tenant domain. I
>>>> fixed this particular issue. But there seems to be other issues due to the
>>>> newly introduced Ghost Registry.
>>>>
>>>> Will fix them as well.
>>>>
>>>> Thanks,
>>>> Thilina
>>>>
>>>> On Mon, Jun 11, 2012 at 6:34 PM, Kasun Gajasinghe <[email protected]>wrote:
>>>>
>>>>>
>>>>> Hi folks,
>>>>>
>>>>> I'm seeing the following issue for default wso2carbon.jks keystore in
>>>>> appserver trunk. Already created a JIRA at [1]. Any idea what's going 
>>>>> wrong?
>>>>>
>>>>> The security keystore selection page for services doesn't show any
>>>>> keystores. No errors stack traces. The keystore-mgt also doesn't show it. 
>>>>> I
>>>>> can't upload the same wso2carbon.jks manually via keystore-mgt either. It
>>>>> gives following error. [1]
>>>>>
>>>>> I could still upload any other keystore successfully.
>>>>>
>>>>> I'll attach the security keystore selection page screenshot now.
>>>>>
>>>>> [1]
>>>>> [2012-06-11 18:19:44,639] ERROR
>>>>> {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} - Key store
>>>>> wso2carbon.jks already available
>>>>> org.wso2.carbon.security.SecurityConfigException: Key store
>>>>> wso2carbon.jks already available
>>>>> at
>>>>> org.wso2.carbon.security.keystore.KeyStoreAdmin.addKeyStore(KeyStoreAdmin.java:194)
>>>>> at
>>>>> org.wso2.carbon.security.keystore.KeyStoreAdmin.addKeyStore(KeyStoreAdmin.java:184)
>>>>> at
>>>>> org.wso2.carbon.security.keystore.service.KeyStoreAdminServiceImpl.addKeyStore(KeyStoreAdminServiceImpl.java:35)
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>> at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>> at
>>>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>>>>> at
>>>>> org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
>>>>> at
>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>>>> ----
>>>>> ----
>>>>> [2012-06-11 18:19:44,645] ERROR
>>>>> {org.wso2.carbon.security.ui.client.KeyStoreAdminClient} -
>>>>> org.apache.axis2.AxisFault: Key store wso2carbon.jks already available
>>>>>
>>>>>
>>>>> [1] https://wso2.org/jira/browse/CARBON-13438
>>>>>
>>>>> --
>>>>> *Kasun Gajasinghe*
>>>>> Software Engineer;
>>>>> Development Technologies Team, WSO2 Inc.; http://wso2.com ,
>>>>> *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
>>>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe*
>>>>> *
>>>>>  *blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org>*
>>>>> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>*
>>>>> *
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thilina Buddhika
>>>> Associate Technical Lead
>>>> WSO2 Inc. ; http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>> phone : +94 77 44 88 727
>>>> blog : http://blog.thilinamb.com
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> Thilina Buddhika
>> Associate Technical Lead
>> WSO2 Inc. ; http://wso2.com
>> lean . enterprise . middleware
>>
>> phone : +94 77 44 88 727
>> blog : http://blog.thilinamb.com
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; WSO2 Inc.; http://wso2.com
> *
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Gajasinghe*
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com ,
*email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
*linked-in: *http://lk.linkedin.com/in/gajasinghe*
*
*blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org>*
twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to