cancel
Showing results for 
Search instead for 
Did you mean: 

Custon Login Screen with SSO Ticket

felix_dukek2
Explorer
0 Kudos

Hello experts,

I have a standalone WD Java application, where I want to have a custom login screen, which is able to create a SSO Login ticket.

Is there a possibility to customize the screen, which appears when setting authorization property to true or is there a functionality for creating a SSO ticket with a WD View?

Thanks in advance

Felix

Accepted Solutions (1)

Accepted Solutions (1)

felix_dukek2
Explorer
0 Kudos

Thanks Aviad and Pradeep,

SSO is already set up for the Modeldata JCo, but I want to have a custom login screen for the user.

So my question is, if there is a way to create a login screen by myself, with the help of a WD Java View and some SAP functionalities to create a SSO Ticket. Or if I can customize the standard login scree in terms of size and displayed input fields.

Best regards

Felix

Former Member
0 Kudos

Hi,

You can mimic SAP login screen in WD application, but the question is - what are you going to authenticate this login against?

Why do you need a seperate login and authentication for?

Aviad

felix_dukek2
Explorer
0 Kudos

Hi Aviad,

I need to authenticate against the backend system where my JCo is connected to.

And I need to create a custom login screen, because this screen should be quite stripped down and small, so it is possible to display it on a mobile device.

Best regards

Felix

Former Member
0 Kudos

Hi,

So isn't the application parameter "authentication mode" enough?

Set it to "true" and you will have the logon screen.

I am not sure how it will look on small screen device.

Aviad

p.s.

Maybe you can use model API to change the model logged on user.

felix_dukek2
Explorer
0 Kudos

Hi Aviad,

the default logon screen might be a workaround, but in addition I also need the possibility to log on with a specific client number, and in the default screen I only have the fields username and password.

Is there a possibility to add a client field?

Best regards

Felix

Former Member
0 Kudos

Hi,

One way is to do a two steps logon - first screen shows the standard logon and after that a screen in which he can enter his client number.

How do you connect a client to a specific user?

Can a user select more than one client?

Aviad

felix_dukek2
Explorer
0 Kudos

Hi,

at the moment I can't log on if I am using 'authentication=true', I just get the message 'user authentication failed'. I think this is because the standard client is 100 and I need to log on with the client 601. So there should be a way to either define another default client for the logon screen, or to provide the possibility to define the logon client manually.

Best regards

Felix

Former Member
0 Kudos

Hi,

Now I understand.

You want to change ECC client at runtime.

This feature is not available using JCO destinations.

You can use JCO API directly (and gain all the desired features as well - authenticating on yourself and so on) but bear in mind that no dictionary is created.

Aviad

felix_dukek2
Explorer
0 Kudos

Ok, but if I am using JCo, is there a possibility to create a SSO ticket?

Or where can I define a default client for the logon?

Former Member
0 Kudos

Hi,

When using the JCO API you need to connect using code and there you can set the client as well as the user name and password.

Let me search for those API.

Aviad

felix_dukek2
Explorer
0 Kudos

Hi,

I have already been working a little bit with JCo.

But I don't think, that there is a possibility to create a SSO ticket!?

Felix

Former Member
0 Kudos

check out this link-

Link: [http://help.sap.com/saphelp_nw04/helpdata/en/17/d609b48ea5f748b47c0f32be265935/frameset.htm]

look at the third example

there are more - you just need to search them.

Aviad

Edit - here's one more from the wiki

[https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/access%2br3%2bsystem%2band%2bexecute%2brfc%2bfrom%2bany%2bof%2bthe%2bportal%2bcomponents%2busing%2bsap%2bjco%2bapi%2bin%2bnwds]

Edited by: Aviad Levy on Jul 21, 2008 3:41 PM

felix_dukek2
Explorer
0 Kudos

Hi Aviad,

actually I want to avoid using JCo, because of the additional configuration effort.

Do you know if there is a possibility to change the default logon ECC Client for the logon screen?

Best regards

Felix

felix_dukek2
Explorer
0 Kudos

Hello experts,

I think we wandered a bit off the actual topic of this thread.

The actual question was if it is possible to recreate the logon screen, which appears when setting 'authentication=true' in the WD Java Application.

Because I need a custom logon screen for my Application which can also create a SSO ticket.

Thanks in advance

Felix

Former Member
0 Kudos

Hi,

Here is my solution -

1. Use the regular logon screen (authentication=true).

2. create a screen in with the user will have to select a client.

3. in the code change the model data jco destination (it will only work if change the model data alone, not the meta data).

4. continue to the application.

Pay attention that the first logon screen authenticate you against the portal ume and not the back end.

Also you need to prepare, in advance, all the model data jco destination (one per client).

In my opinion you can't combine these two screens.

Aviad

felix_dukek2
Explorer
0 Kudos

Hi Aviad,

this might work!

Thanks for your answer.

Best regards

Felix

Answers (2)

Answers (2)

PradeepBondla
Active Contributor
0 Kudos

Hi,

[Setting up a Web Dynpro Application for a Logon Ticket|http://help.sap.com/saphelp_nw04s/helpdata/en/44/45a04028f40160e10000000a1550b0/frameset.htm]

PradeeP

Former Member
0 Kudos

Hi,

If you set the authentication mode to true - it will show a login screen each time you enter the screen.

If you have configured an SSO between the WAS and the ECC there is no need for this login screen and the authentication mode.

Aviad