I believe that will require the user to authenticate against the server first though right?
-- Matthew On 4/15/05, Matt Chotin <[EMAIL PROTECTED]> wrote: > > > > Building on what Abdul is suggesting (since getRemoteUser() is what you'll > want) you basically need to get your J2EE server to require authentication > using the Windows authentication method. I know that JRun supports this and > I assume other app servers as well but you'll need to check their docs as to > how to set it up. > > > > Basically have the amf gateway protected using this authentication (or the > whole server perhaps). Then in your RemoteObject get the appropriate > information (check out Working with session data in the docs) and away you > go! > > > > Matt > > > > ________________________________ > > > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 12:36 AM > To: [email protected] > Subject: RE: [flexcoders] Re: how to get the windows domain user id of the > loc al machine? > > > > > Hi, > > There are methods in server-side scripts for such details, I guess in java > servlets, you can look for getRemoteHost(), getRemoteUser(), > getUserPrincipal() etc... > > Check out JSP/Java-servlet documentation... > > -abdul > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 12:47 PM > To: [email protected] > Subject: [flexcoders] Re: how to get the windows domain user id of the loc > al machine? > > > > Thank you very much for your reply. > > My Flex application will run in a server box, and be used within a > domain. > What I want is to retrieve the user's login-ID to its own box(domain- > id), and make it the only one authorized login-ID to my flex > application. > > I tried to use "System.getProperty(user.name)" in remote object to do > that, but unforturnately, I can only get the login-id of the Server > box. I am wondering whether Flex can help me to retrieve the Client's > login-ID. > > Sincerely appreciate your help! > > > > > > --- In [email protected], Matt Chotin <[EMAIL PROTECTED]> wrote: > > The flash player doesn't have access to this information for > security > > reasons. What are you looking to do? > > > > > > > > Matt > > > > > > > > _____ > > > > From: youngceflex [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 13, 2005 7:25 AM > > To: [email protected] > > Subject: [flexcoders] how to get the windows domain user id of the > local > > machine? > > > > > > > > > > Use flex. Thank you.:) > > > > > > > > > > > > > > _____ > > > > Yahoo! Groups Links > > > > * To visit your group on the web, go to: > > http://groups.yahoo.com/group/flexcoders/ > > <http://groups.yahoo.com/group/flexcoders/> > > > > * To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > > <mailto:[EMAIL PROTECTED]> > > > > * Your use of Yahoo! Groups is subject to the Yahoo! > > <http://docs.yahoo.com/info/terms/> Terms of Service. > > > > > > > Yahoo! Groups Links > > > > > > > > > > ________________________________ > Yahoo! Groups Links > > > To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

