You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Mathius Allo <mg...@yahoo.com> on 2007/10/22 20:56:52 UTC

How to create a login ID for a person?

Hi,
   
  Where is the link to create a login ID for a newly created person?
   
  Regards,
  Mathius

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: How to create a login ID for a person?

Posted by BJ Freeman <bj...@free-man.net>.
it should be already created and found in there profile

Mathius Allo sent the following on 10/22/2007 11:56 AM:
> Hi,
>    
>   Where is the link to create a login ID for a newly created person?
>    
>   Regards,
>   Mathius
> 
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

Re: How to create a login ID for a person?

Posted by BJ Freeman <bj...@free-man.net>.
that is fine, however you need to understand how ofbiz works to
accomplish this.
if is best if you walk thru the controller.xml and look at the widgets
that created the screens. I accomplish this by making a separate module
to put all my modifications in.
then looks that the services they call.
like createPersonAndUserLogin
you can see these in the webtools
services
https://localhost:8443/webtools/control/availableServices

Mathius Allo sent the following on 10/23/2007 10:30 AM:
> Hi BJ,
>    
>   I was trying to figure out on how the Party Manager application is working. My ultimate goal is as below:
>    
>   1. I want to create a separate access control module (should be a subset of Party Manager module). I found that Party Manager is an overkill to our requirement which is quite simple. I should be able to create a group/role, add permission to the group, assign user to a group. This access control module is only to be used by our own application.
>    
>   2. However, I want to ensure that the user created through our own access control module should conform to the OFBiz. i.e. the user can be used to access existing OFBiz application (if given correct permission through Party Manager application)
>    
>   Therefore, I was thinking of making use of the existing code (Party Manager Application) and just create a new GUI for the simple access control mechanism. 
>    
>   Does this approach make sense? Are there any issues from this approach?
>   
> Thanks in advanced.
>   Mathius
>   
> BJ Freeman <bj...@free-man.net> wrote:
>   Normally create person is used for adding a person to an already PartyID.
> going to the https://localhost:8443/partymgr/control/createUserLogin
> requires passing the partyid.
> Can you tell me what you are attempting to accomplish.
> 
> 
> 
> Mathius Allo sent the following on 10/22/2007 10:49 PM:
>> The following line shows me "No party found with the partyId of:" even after replacing "admin" with the newly created party ID
>>
>> The following are the steps tried to create a new Person:
>> 1. Click on "Create New Person" link from Party Manager Application
>>
>> 2. Enter details and click on save button. I verified that a new party is created under PARTY table. There isn't any record created under USER_LOGIN table. I should expect this as the system should not create my login ID automatically.
>>
>> Question: Where can I find the link to create a login ID and link it to this newly created person?
>>
>> Under PartyForm.xml I notice a form called "AddUserLogin" so there there must be a link to allow me to specify my login ID & password.
>>
>> I tried to add a new user login directly through the below URL but I don't know how to link this user login to a person:
>>
>> https://localhost:8443/partymgr/control/createUserLogin
>>
>> Thanks
>> Mathius
>>
>> Adrian Crum wrote: https://localhost:8443/partymgr/control/viewprofile#partyUserLogins?partyId=admin
>>
>> Mathius Allo wrote:
>>
>>> Hi,
>>>
>>> Where is the link to create a login ID for a newly created person?
>>>
>>> Regards,
>>> Mathius
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam? Yahoo! Mail has the best spam protection around 
>>> http://mail.yahoo.com 
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around 
>> http://mail.yahoo.com 
> 
> 
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

How to create a login ID for a person?

Posted by Mathius Allo <mg...@yahoo.com>.
Hi BJ,
   
  I was trying to figure out on how the Party Manager application is working. My ultimate goal is as below:
   
  1. I want to create a separate access control module (should be a subset of Party Manager module). I found that Party Manager is an overkill to our requirement which is quite simple. I should be able to create a group/role, add permission to the group, assign user to a group. This access control module is only to be used by our own application.
   
  2. However, I want to ensure that the user created through our own access control module should conform to the OFBiz. i.e. the user can be used to access existing OFBiz application (if given correct permission through Party Manager application)
   
  Therefore, I was thinking of making use of the existing code (Party Manager Application) and just create a new GUI for the simple access control mechanism. 
   
  Does this approach make sense? Are there any issues from this approach?
  
Thanks in advanced.
  Mathius
  
BJ Freeman <bj...@free-man.net> wrote:
  Normally create person is used for adding a person to an already PartyID.
going to the https://localhost:8443/partymgr/control/createUserLogin
requires passing the partyid.
Can you tell me what you are attempting to accomplish.



Mathius Allo sent the following on 10/22/2007 10:49 PM:
> The following line shows me "No party found with the partyId of:" even after replacing "admin" with the newly created party ID
> 
> The following are the steps tried to create a new Person:
> 1. Click on "Create New Person" link from Party Manager Application
> 
> 2. Enter details and click on save button. I verified that a new party is created under PARTY table. There isn't any record created under USER_LOGIN table. I should expect this as the system should not create my login ID automatically.
> 
> Question: Where can I find the link to create a login ID and link it to this newly created person?
> 
> Under PartyForm.xml I notice a form called "AddUserLogin" so there there must be a link to allow me to specify my login ID & password.
> 
> I tried to add a new user login directly through the below URL but I don't know how to link this user login to a person:
> 
> https://localhost:8443/partymgr/control/createUserLogin
> 
> Thanks
> Mathius
> 
> Adrian Crum wrote: https://localhost:8443/partymgr/control/viewprofile#partyUserLogins?partyId=admin
> 
> Mathius Allo wrote:
> 
>> Hi,
>> 
>> Where is the link to create a login ID for a newly created person?
>> 
>> Regards,
>> Mathius
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around 
>> http://mail.yahoo.com 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: How to create a login ID for a person?

Posted by BJ Freeman <bj...@free-man.net>.
Normally create person is used for adding a person to an already PartyID.
going to the https://localhost:8443/partymgr/control/createUserLogin
requires passing the partyid.
Can you tell me what you are attempting to accomplish.



Mathius Allo sent the following on 10/22/2007 10:49 PM:
> The following line shows me "No party found with the partyId of:" even after replacing "admin" with the newly created party ID
> 
> The following are the steps tried to create a new Person:
> 1. Click on "Create New Person" link from Party Manager Application
> 
> 2. Enter details and click on save button. I verified that a new party is created under PARTY table. There isn't any record created under USER_LOGIN table. I should expect this as the system should not create my login ID automatically.
> 
> Question: Where can I find the link to create a login ID and link it to this newly created person?
> 
> Under PartyForm.xml I notice a form called "AddUserLogin" so there there must be a link to allow me to specify my login ID & password.
> 
> I tried to add a new user login directly through the below URL but I don't know how to link this user login to a person:
> 
> https://localhost:8443/partymgr/control/createUserLogin
> 
> Thanks
> Mathius
> 
> Adrian Crum <ad...@hlmksw.com> wrote: https://localhost:8443/partymgr/control/viewprofile#partyUserLogins?partyId=admin
> 
> Mathius Allo wrote:
> 
>> Hi,
>>    
>>   Where is the link to create a login ID for a newly created person?
>>    
>>   Regards,
>>   Mathius
>>
>>  __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around 
>> http://mail.yahoo.com 
> 
> 
> 
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

Re: How to create a login ID for a person?

Posted by Mathius Allo <mg...@yahoo.com>.
The following line shows me "No party found with the partyId of:" even after replacing "admin" with the newly created party ID

The following are the steps tried to create a new Person:
1. Click on "Create New Person" link from Party Manager Application

2. Enter details and click on save button. I verified that a new party is created under PARTY table. There isn't any record created under USER_LOGIN table. I should expect this as the system should not create my login ID automatically.

Question: Where can I find the link to create a login ID and link it to this newly created person?

Under PartyForm.xml I notice a form called "AddUserLogin" so there there must be a link to allow me to specify my login ID & password.

I tried to add a new user login directly through the below URL but I don't know how to link this user login to a person:

https://localhost:8443/partymgr/control/createUserLogin

Thanks
Mathius

Adrian Crum <ad...@hlmksw.com> wrote: https://localhost:8443/partymgr/control/viewprofile#partyUserLogins?partyId=admin

Mathius Allo wrote:

> Hi,
>    
>   Where is the link to create a login ID for a newly created person?
>    
>   Regards,
>   Mathius
> 
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: How to create a login ID for a person?

Posted by Adrian Crum <ad...@hlmksw.com>.
https://localhost:8443/partymgr/control/viewprofile#partyUserLogins?partyId=admin

Mathius Allo wrote:

> Hi,
>    
>   Where is the link to create a login ID for a newly created person?
>    
>   Regards,
>   Mathius
> 
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com