directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: [jira] Commented: (DIRSTUDIO-45) Migrate TripleSec GUI from Swing to an Eclipse Plugin for LDAP Studio
Date Fri, 26 Jan 2007 23:59:43 GMT

On Jan 26, 2007, at 3:45 PM, Ole Ersoy wrote:

> Hmmm
>
> Maybe you are talking about oranges and I'm talking
> about apples :-)
>
> Let me just define how I would architect it real quick
> so that we know where the puzzle pieces are.
>
> First I would model the "Model" we've been talking
> about for Triplesec.
>
> This is just a file with xmi content and a .ecore
> extension.
>
> This file is used to generate a Model.
>
> Essentially Java Beans for our purposes.  These can be
> turned into SDO (Beans) we wanted them to be.
>
> So now this model has to be populated somehow with
> triplesec data somehowe.
>
> I think you are saying that the Triplesec hierarchies
> (User, Permissions, URIs) is stored in
> ApacheDS...hypothetically.
>
> So if we were using SDO, we would needs a Data Access
> Service (DAS) for LDAP.  Maybe they have one.  I'll
> ask.  I made a simple one a while back to go between
> EMF models and ApacheDS.  It's very easy to make
> anyways.  I'll try to dig up the one I made.

Doing a simple object is certainly easy.  Does your code do  
relationships, e.g. in current model a profile has a collection of  
roles?

>
> So you are talking about the DAS right?

exactly

This auto-generation sounds kinda neat -- can it generate interfaces  
rather than classes?  I haven't tried to implement an enhancer but  
rather sort of stuffed what a jpa enhancer constructs directly inside  
the "pojos".  If these classes could implement a generated interface  
that might give us benefits of both approaches.  Or maybe what you  
have is sufficient.

thanks
david jencks
>
> Thanks,
> - Ole
>
>
>
>
>
> --- David Jencks <david_jencks@yahoo.com> wrote:
>
>> Just to make sure we're talking about the same
>> thing....
>>
>> there's an ldap backend for tuscany SDO?
>>
>> Eclipse EMF generates data access code for ldap?
>>
>> Any links for these?
>>
>> thanks
>> david jencks
>>
>> On Jan 26, 2007, at 1:04 PM, Ole Ersoy wrote:
>>
>>> Oh - One more thing - If the triplesec model were
>>> created in Ecore and the code generated, EMF also
>>> generates a .edit project containing adapters for
>> all
>>> the model objects (for interfacing the model with
>> SWT,
>>> etc.) and a model editor, so all that is needed is
>> to
>>> tweak the gui for the editor.
>>>
>>> Cheers,
>>> - Ole
>>>
>>>
>>> --- Ole Ersoy <ole_ersoy@yahoo.com> wrote:
>>>
>>>> Also,
>>>>
>>>> It might be interesting to look at Eclipse EMF
>> and
>>>> the
>>>> Apache Tuscany project for this.
>>>>
>>>> The Apache Tuscany project is building a Service
>>>> Data
>>>> Object implementation that could be used to house
>>>> and
>>>> manage the triplesec model.
>>>>
>>>> David, you may have done a lot of work here
>> already,
>>>> so I'm just mentioning it for awareness.  That
>> said
>>>> modeling what we are talking about EMF Ecore and
>>>> generating the model code only takes a few
>> minutes.
>>>>
>>>> Cheers,
>>>> - Ole
>>>>
>>>>
>>>> --- "David Jencks (JIRA)" <jira@apache.org>
>> wrote:
>>>>
>>>>>
>>>>>     [
>>>>>
>>>>
>>>
>> https://issues.apache.org/jira/browse/DIRSTUDIO-45?
>>>
>>
> page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
>>
>>> tabpanel#action_12467893
>>>>> ]
>>>>>
>>>>> David Jencks commented on DIRSTUDIO-45:
>>>>> ---------------------------------------
>>>>>
>>>>> I don't know if LDAP Studio has its own data
>>>> access
>>>>> framework but.... I've been developing a
>> somewhat
>>>>> jpa-like data access framework for ldap in
>>>>> sandbox/triplesec-jacc2/admin-api2.  I prefer it
>> a
>>>>> lot to the Modifier and DAO based code in
>>>> triplesec
>>>>> trunk and if the idea here is to use triplesec
>>>> data
>>>>> access for this plugin I'd suggest looking at it
>>>>> before proceeding.
>>>>>
>>>>>> Migrate TripleSec GUI from Swing to an Eclipse
>>>>> Plugin for LDAP Studio
>>>>>>
>>>>>
>>>>
>>>
>>
> ---------------------------------------------------------------------
>>>>>>
>>>>>>                 Key: DIRSTUDIO-45
>>>>>>                 URL:
>>>>>
>> https://issues.apache.org/jira/browse/DIRSTUDIO-45
>>>>>>             Project: Directory LDAP Studio
>>>>>>          Issue Type: Task
>>>>>>            Reporter: Pierre-Arnaud Marcelot
>>>>>>             Fix For: 0.8.0
>>>>>>
>>>>>>
>>>>>> TripleSec has a GUI based on Swing.
>>>>>> We got to migrate this GUI to an Eclipse Plugin
>>>>> that we can integrate into LDAP Studio.
>>>>>
>>>>> -- 
>>>>> This message is automatically generated by JIRA.
>>>>> -
>>>>> You can reply to this email to add a comment to
>>>> the
>>>>> issue online.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
> ______________________________________________________________________
>>
>>> ______________
>>>> Bored stiff? Loosen up...
>>>> Download and play hundreds of games for free on
>>>> Yahoo! Games.
>>>> http://games.yahoo.com/games/front
>>>>
>>>
>>>
>>>
>>>
>>>
>>
> ______________________________________________________________________
>>
>>> ______________
>>> Any questions? Get answers on any topic at
>> www.Answers.yahoo.com.
>>> Try it now.
>>
>>
>
>
>
>
> ______________________________________________________________________ 
> ______________
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews at  
> Yahoo! Games.
> http://videogames.yahoo.com/platform?platform=120121


Mime
View raw message