Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User logged in via SSO or manually?

0 Kudos

Dear All,

Is there any option to see if a user is logged in with single sign on or if the user logged in manually?

We are currently allowing SSO and manual logins.

Thanks

Matthias

4 REPLIES 4

mvoros
Active Contributor
0 Kudos

Hi,

I don't believe this can be seen anywhere. Why do you need to differentiate between SSO and username/password authenticated users?

Cheers

Former Member
0 Kudos

Hello

From the server side you cannot judge how a user was authenticated (by logon credentials or SSO). You can perform customization in BasicPasswordLoginModule and EvaluateTicketLoginModule to set a cookie (or some parameter) that can tell you how the user was logged in.

Another way is look through traces (diagtool trace or tshw trace). There you can check the login module stack executed for each user. The login module stack that gets successful gets its "login" parameter value set as "True". But, for this you will have to keep the traces running all the time.

Cheers,

Tapan

Former Member
0 Kudos

Greetings,

Using SM20, I was able to determine the logon method.

Logon successful (type=A, method=P )  was using password

RFC/CPIC logon successful (type=F, method=R )  was using SSO.

Of course the logging filters for the corresponding events have to be activated.

Cheers,

Rick

Hello Richard,

Logon via SSO generates this entry:

Logon successful (type=A, method=S)

Regards, Viktor