[seam-dev] User Management in seam-gen
Shane Bryzak
shane.bryzak at jboss.com
Fri Apr 18 20:32:38 EDT 2008
I've modified this code listing to remove the reference to
identityManager. And I think I'll take you up on your offer for help
with seam-gen, thanks Dan :)
Dan Allen wrote:
> Okay, I have verified that this section is no longer in the branch 2_0
> docs (sorry, I had forgotten to update my branch SVN before looking).
> However, I do see one reference that still exists:
>
> <programlisting role="JAVA"><![CDATA[ new RunAsOperation() {
> @Override
> public String[] getRoles() {
> return new String[] { "admin" };
> }
>
> public void execute() {
> identityManager.createAccount(username, password);
> identityManager.grantRole(username, "user");
> }
> }.run();]]></programlisting>
>
> We probably just need a different example in the execute() since
> identityManager is not yet going to be available and will confuse the
> reader.
>
> Aside from this, we are thumb up in the branch!
>
> Looking forward to this feature in 2.1. Shane, let me know when you
> commit the seam-gen stuff and I will give you a hand if needed making
> sure it all looks consistent.
>
> -Dan
>
> On Fri, Apr 18, 2008 at 7:44 PM, Shane Bryzak <shane.bryzak at jboss.com> wrote:
>
>> I'm pretty sure I already removed all references to this in the 2_0 branch.
>>
>>
>>
>> Dan Allen wrote:
>>
>>
>>> Two things are certain. It is documented in the 2.0.x branch (and will
>>> thus need to be removed) and it is not yet checked in to seam-gen in
>>> the trunk. The second point is understandable given that development
>>> is still underway. All things need time. However, the first item will
>>> need to be reversed.
>>>
>>> -Dan
>>>
>>> On Fri, Apr 18, 2008 at 4:25 PM, Norman Richards <orb at nostacktrace.com>
>>>
>> wrote:
>>
>>>
>>>> On Apr 18, 2008, at 3:05 PM, Dan Allen wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> I'm concerned that we have documented something that is not actually
>>>>> part of Seam yet. According to this section of the documentation:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>> http://docs.jboss.com/seam/2.0.2.CR1/reference/en-US/html/security.html#d0e9446
>>
>>>>
>>>>> ...there is a user management screen in seam-gen. However, I have yet
>>>>> to see this screen when I use seam-gen and I am guessing that unless I
>>>>> am missing something, it's because it doesn't exist. I think this
>>>>> would be a great feature, but we need to make sure that it is deliver
>>>>> if we say it is there.
>>>>>
>>>>>
>>>>>
>>>>>
>>>> I thought all that user management stuff was just for 2.1.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
More information about the seam-dev
mailing list