Discussion:
my user is not registred automatically
(too old to reply)
t***@yahoo.fr
2006-12-08 09:12:57 UTC
Permalink
I have JSP who display the registration form page with the following fields:
* - E-mail, Password, Verify password
* - First name, Last name
* - Preferred language and Preferred currency
* - Age and Gender
* - Send me e-mail checkbox
and it use the UserRegistrationAddCmd command,but after that i want to connect to my account but it failed and return "You do not have the proper authority to log in. Contact the store for further information", so after learning some rare information in the help ,i understand that i have to change something in the MemberRegistrationAttributes.xml file,but i'm not an experiment developer,
if you can help me to specify what I should change, I will be grateful
geo
2006-12-12 15:25:19 UTC
Permalink
If you are using UserRegistrationAddCmd it automatically logs you in after
it completes the registration. If you are getting the access message you
describe you have broken your access policies likely and I would look there.
Post by t***@yahoo.fr
* - E-mail, Password, Verify password
* - First name, Last name
* - Preferred language and Preferred currency
* - Age and Gender
* - Send me e-mail checkbox
and it use the UserRegistrationAddCmd command,but after that i want to
connect to my account but it failed and return "You do not have the
proper authority to log in. Contact the store for further information", so
after learning some rare information in the help ,i understand that i have
to change something in the MemberRegistrationAttributes.xml file,but i'm
not an experiment developer,
if you can help me to specify what I should change, I will be grateful
t***@yahoo.fr
2006-12-12 17:06:25 UTC
Permalink
i resolved the intial problem,so from now on ,my user can log on after successeful registration,but i have an other problem wich is; when i search for him in the Organization Administration Console and clik on access management-> find users , i don't see him,so how to proceed to mike him visible





here is my file MemberRegistrationAttributes.xml
//////////////////////////////////////////




<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MemberAttributes SYSTEM "MemberRegistrationAttributes.dtd">
<MemberAttributes>
<UserRoles>
<User registrationType="UserRegistration" memberAncestor="o=Default Organization,o=Root Organization" storeAncestor="o=Clarins,o=Root Organization">
<Role name="Store Administrator" roleContext="storeOwner" DN="o=Clarins,o=Root Organization"/>
<Role name="Store Administrator" roleContext="storeOwner" DN="o=Clarins,o=Root Organization"/>
</User>
</UserRoles>

<OrganizationRoles>
<Organization registrationType="UserRegistration" memberAncestor="o=Clarins,o=Root Organization"
storeAncestor="o=Root Organization">
<Role name="Seller"/>
<Role name="Category Manager"/>
<Role name="Logistics Manager"/>
<Role name="Marketing Manager"/>
<Role name="Sales Manager"/>
<Role name="Seller Administrator"/>
<Role name="Registered Customer"/>
</Organization>
</OrganizationRoles>

<BusinessEntities>
<Organization registrationType="" memberAncestor="o=Clarins,o=Root Organization" storeAncestor="o=Root Organization"/>
</BusinessEntities>


<RegistrationParents>
<Organization registrationType="UserRegistration" memberAncestor="o=Clarins,o=Root Organization"
storeAncestor="ou=b2c,o=clarins,o=root organization"/>
</RegistrationParents>



</MemberAttributes>
s***@mcsil.com
2007-01-12 15:55:17 UTC
Permalink
Hi,

Even I am facing a similar problem.
The user gets signed in when he registers through site. Once he logs out, he is not able to sign in again and getting the following error message:
"You do not have the proper authority to log in. Contact the store for further information."


Also the user is not visible in the accelerator's "find customer" section.
Please Help...

Thanks.
j***@sbcglobal.net
2007-01-13 17:15:31 UTC
Permalink
Can you find the user's record in the users and member tables? A lot of login problems have to do with a user getting created in the wrong organization and/or that organization not having the proper roles assigned.

As a test, try setting up your code to create a user in the root organization and with site administrator access (on your local development system, obviously not on a production system). If the user can successfully be found in the org admin console then it could be that the user that you are using to log into the org admin console is in a different sibling organization and cannot see the organization that the new user is assigned to.

Or it could just be a bug. :)
s***@mcsil.com
2007-01-16 06:45:51 UTC
Permalink
Thanks kbdrand, Ill try your suggestion...
m***@mcsil.com
2007-01-25 06:42:52 UTC
Permalink
Hi,
I am still getting same error. User is successfully registered & once he logs out he can't able to login again. Gives message as..
You do not have the proper authority to log in. Contact the store for further information.
I am attaching the logs as well for your reference....
Can somebody show me the right direction pls.

Thanks
m***@mcsil.com
2007-01-25 12:09:20 UTC
Permalink
Hi,
The problem is when new user registered, there is no entry for him inside MBRROLE table. I even checked my MemberRegistrationAttributes.xml file, but still it doesn't work.
Here is MemberRegistrationAttributes.xml file...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MemberAttributes SYSTEM "MemberRegistrationAttributes.dtd">
<MemberAttributes>
<UserRoles>
<User registrationType="SSO" memberAncestor="o=Default Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Registered Customer" roleContext="explicit" DN="o=Reseller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="o=Extended Sites Seller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="o=Seller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="o=Supplier Organization,o=Root Organization"/>
</User>
<User registrationType="LDAPLogon" memberAncestor="o=Default Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Reseller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Extended Sites Seller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Seller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Supplier Organization,o=Root Organization"/>
</User>
<!-- Applies to all models except supplier. -->
<User registrationType="UserRegistration" memberAncestor="o=Default Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Reseller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Extended Sites Seller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Seller Organization,o=Root Organization"/>
</User>
<!-- Business direct. ToolTech. -->
<User registrationType="UserRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Seller Organization,o=Root Organization">
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Seller Organization,o=Root Organization"/>
</User>
<User registrationType="BuyerRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Seller Organization,o=Root Organization">
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Seller Organization,o=Root Organization"/>
<Role name="Buyer (buy-side)" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Buyer Approver" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Buyer Administrator" roleContext="userParent" DN="o=Root Organization"/>
</User>
<!-- supplier hub supplier user registration -->
<User registrationType="UserRegistration" memberAncestor="o=Supplier Organization,o=Root Organization" storeAncestor="o=Supply Chain Management Organization,o=Root Organization">
<Role name="Seller" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="o=Supplier Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="ou=Supplier Hub Organization,o=Supply Chain Management Organization,o=Root Organization"/>
</User>
<!-- supplier hub buyer user registration -->
<User registrationType="UserRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Supply Chain Management Organization,o=Root Organization">
<Role name="Buyer (buy-side)" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="o=Supplier Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="ou=Supplier Hub Organization,o=Supply Chain Management Organization,o=Root Organization"/>
</User>
<!-- supplier hosted store buyer user registration -->
<User registrationType="UserRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Supplier Organization,o=Root Organization">
<Role name="Buyer (buy-side)" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="o=Supplier Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="ou=Supplier Hub Organization,o=Supply Chain Management Organization,o=Root Organization"/>
</User>
<!-- Business indirect reseller -->
<User registrationType="UserRegistration" memberAncestor="o=Reseller Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Registered Customer" roleContext="explicit" DN="ou=Reseller Hub Organization,o=Demand Chain Management Organization,o=Root Organization"/>
</User>
<!-- Extended Sites -->
<User registrationType="UserRegistration" memberAncestor="o=Extended Sites Seller Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Registered Customer" roleContext="explicit" DN="ou=Extended Sites Hub Organization,o=Extended Sites Organization,o=Root Organization"/>
</User>
<!-- Business indirect reseller -->
<User registrationType="UserRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Reseller Organization,o=Root Organization">
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Reseller Organization,o=Root Organization"/>
</User>
<!-- Extended Sites -->
<User registrationType="UserRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Extended Sites Seller Organization,o=Root Organization">
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Extended Sites Seller Organization,o=Root Organization"/>
</User>
<!-- supplier hub supplier admin registration -->
<User registrationType="ResellerRegistration" memberAncestor="o=Supplier Organization,o=Root Organization" storeAncestor="o=Supply Chain Management Organization,o=Root Organization">
<Role name="Seller" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Seller Administrator" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="o=Supplier Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="ou=Supplier Hub Organization,o=Supply Chain Management Organization,o=Root Organization"/>
</User>
<!-- Business indirect reseller -->
<User registrationType="ResellerRegistration" memberAncestor="o=Reseller Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Seller Administrator" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Seller" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="ou=Reseller Hub Organization,o=Demand Chain Management Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="ou=Distributor Proxy Organization,o=Demand Chain Management Organization,o=Root Organization"/>
</User>
<!-- Extended Sites -->
<User registrationType="ResellerRegistration" memberAncestor="o=Extended Sites Seller Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Seller Administrator" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Seller" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="ou=Extended Sites Hub Organization,o=Extended Sites Organization,o=Root Organization"/>
</User>
<!-- business direct and business indirect supplier -->
<User registrationType="BuyerRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Buyer Administrator" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Buyer Approver" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Buyer (buy-side)" roleContext="userParent" DN="o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="o=Supplier Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="explicit" DN="ou=Supplier Hub Organization,o=Supply Chain Management Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Seller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Extended Sites Seller Organization,o=Root Organization"/>
<Role name="Registered Customer" roleContext="storeOwner" DN="o=Reseller Organization,o=Root Organization"/>
</User>
<!-- -->
<User registrationType="ProcurementRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Registered Customer" roleContext="explicit" DN="o=Seller Organization,o=Root Organization"/>
</User>
</UserRoles>
<OrganizationRoles>
<Organization registrationType="ResellerRegistration" memberAncestor="o=Reseller Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Seller"/>
<Role name="Marketing Manager"/>
<Role name="Operations Manager"/>
<Role name="Category Manager"/>
<Role name="Customer Service Representative"/>
<Role name="Customer Service Supervisor"/>
<Role name="Seller Administrator"/>
<Role name="Registered Customer"/>
<Role name="Account Representative"/>
<Role name="Logistics Manager"/>
<Role name="Sales Manager"/>
<Role name="Pick Packer"/>
</Organization>
<Organization registrationType="ResellerRegistration" memberAncestor="o=Extended Sites Seller Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Buyer (sell-side)"/>
<Role name="Category Manager"/>
<Role name="Customer Service Representative"/>
<Role name="Customer Service Supervisor"/>
<Role name="Marketing Manager"/>
<Role name="Operations Manager"/>
<Role name="Pick Packer"/>
<Role name="Product Manager"/>
<Role name="Receiver"/>
<Role name="Returns Administrator"/>
<Role name="Seller"/>
<Role name="Seller Administrator"/>
<Role name="Registered Customer"/>
<Role name="Account Representative"/>
<Role name="Logistics Manager"/>
<Role name="Sales Manager"/>
</Organization>
<Organization registrationType="ResellerRegistration" memberAncestor="o=Supplier Organization,o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Seller"/>
<Role name="Category Manager"/>
<Role name="Customer Service Representative"/>
<Role name="Customer Service Supervisor"/>
<Role name="Logistics Manager"/>
<Role name="Marketing Manager"/>
<Role name="Sales Manager"/>
<Role name="Seller Administrator"/>
<Role name="Registered Customer"/>
<!-- The Supplier Organization also support these buyer roles -->
<Role name="Buyer (buy-side)"/>
<Role name="Buyer Approver"/>
<Role name="Buyer Administrator"/>
<Role name="Pick Packer"/>
</Organization>
<Organization registrationType="BuyerRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Root Organization">
<Role name="Buyer (buy-side)"/>
<Role name="Buyer Approver"/>
<Role name="Buyer Administrator"/>
<Role name="Organization Participant"/>
<Role name="Procurement Buyer Administrator"/>
<Role name="Procurement Buyer"/>
</Organization>
</OrganizationRoles>
<BusinessEntities>
<Organization registrationType="" memberAncestor="o=Supplier Organization,o=Root Organization" storeAncestor="o=Root Organization"/>
</BusinessEntities>
<RegistrationParents>
<Organization registrationType="ResellerRegistration" memberAncestor="o=Supplier Organization,o=Root Organization" storeAncestor="ou=Supplier Hub Organization,o=Supply Chain Management Organization,o=Root Organization"/>
<Organization registrationType="ResellerRegistration" memberAncestor="o=Reseller Organization,o=Root Organization" storeAncestor="ou=Reseller Hub Organization,o=Demand Chain Management Organization,o=Root Organization"/>
<Organization registrationType="ResellerRegistration" memberAncestor="o=Extended Sites Seller Organization,o=Root Organization" storeAncestor="ou=Extended Sites Hub Organization,o=Extended Sites Organization,o=Root Organization"/>
<Organization registrationType="BuyerRegistration" memberAncestor="o=Root Organization" storeAncestor="o=Root Organization"/>
</RegistrationParents>
</MemberAttributes>

Continue reading on narkive:
Loading...