cancel
Showing results for 
Search instead for 
Did you mean: 

USER AUTHENTICATION AT LOGIN PAGE IN WEB DYNPRO APPLICATION

Former Member
0 Kudos

Hi all.

I am new to Web Dynpro.

I have created a WD application .

It requires a login page.

i have made sap.authentication property true.

Now where and what coding i should write so that it allows list of users to login.

Kindly help..

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

// check whether the user belongs to particular role

IWDClientUser wduser = WDClientUser.getCurrentUser();

IUser user= wduser.getSAPUser();

IUserAccount userAcc=usr.getUserAccounts()[0];

if(userACC.isMemberOfRole("",true)){

//check

}

For ref:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/security-and-ident...

Regards,

Naga

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Are you going to use this page as part of portal iveiws?

Regards

Ayyapparaj

Former Member
0 Kudos

Hi..

NO..not in portal

thanks..

Former Member
0 Kudos

Hi,

Please tell me whether you are going to use this WD application as a Stand Alone Application or in Portal.

If in Portal then it has the Login Page as Default.

Just make ur Application as iViews and you can use it in Portal.

I am not sure about your Requirement.

I am also new to WD

Regards,

Palani

Former Member
0 Kudos

hi..

i want to use it as a stand alone application.

thanks...