on 04-14-2011 3:55 PM
Hey
I'm going to develop a small external facing portal , and i would like to have a small form where the user can login in the left side of the screen , how can i achiev this? Is it possible to do this in a static html page? I already have a framework with the proper layout , all i need is to create each component.
Thanks in advance
Hi,
Kindly follow the below steps for your requirement.
step1:goto rule collection, include one enty like
if Alias ="portal/anonymous"
then desktop = 'new_desktop"
this desktop is having some theme, and framework page that you have.
changet the permission of this desktop to include Anonymous user and Anonymous Groups.
step2: in your framework page, include this HTML page.
for this,
-store your HTML page with a .jsp extenstion in a portal project.(create an abstract portal component).
-make sure to change the authenticatioSchema parameter to 'Anonymous' in your portalapp.xml file.
-from the abstract portal component include the JSP page by using IReseource.JSP resource Interface.
step3: assuming the url of your external facing portal be, http:<myServer>:<port>/irj/portal/anonymous
when you call this URL the framework page containing the JSP will be loaded.
step4: user creation
in your jsp include, mandatory parameters for user creation, like userid, pswd, confirm pswd.
submit this form, on submission, under action of <form, post back to the abstact class above.(for this while running the application throught portalapp.xml, take note of the URL), and includ this url starting with '/irj/.....'.
[User Creation|http://wiki.sdn.sap.com/wiki/display/Snippets/CreateandeditEPuserwithJava+code]
step5: goto irj/portal and check with the created user id.
Thanks,
Jakes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.