Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » After executing LDAPExSecurityFilter, how to get at the Scout Client side user and passw.(LDAPExSecurityFilter)
icon5.gif  After executing LDAPExSecurityFilter, how to get at the Scout Client side user and passw. [message #1022318] Thu, 21 March 2013 17:09 Go to next message
Ferran Siles Vila is currently offline Ferran Siles VilaFriend
Messages: 11
Registered: March 2013
Junior Member

Hello,

I have a question regarding to the LDAPExSecurityFilter, which it has been implemented by Urs Beeli, enhancing the functionality of the previous LDAPSecurityFilter, the process of which it is described here.
The thing is that, once that I am logged in without any problem, I would like to be able to retrieve the user and password in the client side of my Scout application, after have past this filter (LDAPExSecurityFilter).

Thank you for your time.

Ferran
Re: After executing LDAPExSecurityFilter, how to get at the Scout Client side user and passw. [message #1022730 is a reply to message #1022318] Fri, 22 March 2013 12:43 Go to previous message
Eclipse UserFriend
You should be able to access the username on ClientSession/ServerSession:

ClientSession.get().getUserId()


The username is kept on Server- and ClientSession as a shared variable. See also:
org.eclipse.scout.rt.server.AbstractServerSession.assignUserId()

If not let me know.

For security reason the password is never shipped to the client. If needed you could manage it the same way as the userId. Take note of security concepts!

/andreas
Previous Topic:Draw a shape on a SVG Field
Next Topic:switch communication from http to https
Goto Forum:
  


Current Time: Fri Apr 26 10:34:32 GMT 2024

Powered by FUDForum. Page generated in 0.03068 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top