What server are you using to get the credentials? if your windows uses LDAP AD, then you can configure your Application Server.
for example: oracle.security.jazn.login.module.LDAPLoginModule get the user name from getThreadLocalRequest().getRemoteUser(); On Feb 16, 3:13 pm, El Mentecato Mayor <[email protected]> wrote: > If the windows authentication uses some type of LDAP (ActiveDirectory > for instance has some lever of LDAP compliance), you can achieve what > you want with Spring Security (http://static.springframework.org/ > spring-security/site/reference/html/springsecurity.html). > > On Feb 13, 5:24 am, Damien Picard <[email protected]> wrote: > > > Hi, > > > Good to know that. As I understand, it only works with IE (via active > > directory), right ? > > > 2009/2/13 Matías Costa <[email protected]> > > > > Damien is 50% right. You can't get windows credentials from any internet > > > user. But both IE and mozilla on windows support http auth negotiate. IE > > > for > > > same active directory hosts out of the box, and in both you can add > > > exceptions. > > > > I know it, because I worked in a web single sign on project for a company > > > intranet. The mechanism is called SPNEGO. Other guy in the project > > > integrated it with jass and/or acegui, but I don't remember too much. > > > > On Fri, Feb 13, 2009 at 7:46 AM, Roger <[email protected]> wrote: > > > >> Hi all, > > > >> Greeting from Roger. > > >> I do not know how to get login user from Windows in GWT. I try solving > > >> this in the way below, unfortunately does not work. > > > >> In RemoteServiceServlet, > > > >> ............... > > >> Principal principal = getThreadLocalRequest().getUserPrincipal > > >> () // principal is NULL!! > > >> String userName = principal.getName(); > > >> .................... > > > >> Is there anyone can help me on this ? > > >> Thanks a ton. > > > >> BR, Roger --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
