cancel
Showing results for 
Search instead for 
Did you mean: 

Login in External Facing Portal

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)