RE: [U2] [UV/Redback] How can my UV code determine the redback user name?
Adrian, No one connects. Remember, this is the stateless web here. Redback merely has anonymous processes that handles incoming requests for U2 data. There is no identity.If you want to identify incoming requesters, that will have to be part of your application. For an intranet application for example, your 1st screen would be a login screen where you prompt for user name and password. Your application would have to validate and store it. That name can be retrieved by your UV code. Mike R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian Sent: Friday, January 28, 2005 3:49 AM To: u2-users@listserver.u2ug.org Subject: [U2] [UV/Redback] How can my UV code determine the redback user name? Another question from a Redback newbie. There's a file WWUSERS that contains a list of redback user names (eg. RBADMIN). I can create new users in this file and assign them a password. Using the RBOScope examples supplied, I can connect using one of these user names password. I've created a new UV subroutine that is called via the POSTWRITE method on one of the objects. What I'd like to do is access the username so I can add it to any audit records I may write. I've noticed that @LOGNAME @ACCOUNT are both blank but @AUTHORIZATION contains redback. Is there a variable (or a getProperty method) that I can use to determine the user who connected? AdrianW --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV/Redback] How can my UV code determine the redback user name?
Mike, Right now, I have an .htaccess/.htpassword file combo for apache web server when you hit the site, the webserver gives you a login box. This information is available to a .cgi program from the webserver. Can the ASP server supply the Redback routine this information as well? and/or does the ASP server have that username/password ability? George -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Randall Sent: Friday, January 28, 2005 9:05 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV/Redback] How can my UV code determine the redback user name? Adrian, No one connects. Remember, this is the stateless web here. Redback merely has anonymous processes that handles incoming requests for U2 data. There is no identity.If you want to identify incoming requesters, that will have to be part of your application. For an intranet application for example, your 1st screen would be a login screen where you prompt for user name and password. Your application would have to validate and store it. That name can be retrieved by your UV code. Mike R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian Sent: Friday, January 28, 2005 3:49 AM To: u2-users@listserver.u2ug.org Subject: [U2] [UV/Redback] How can my UV code determine the redback user name? Another question from a Redback newbie. There's a file WWUSERS that contains a list of redback user names (eg. RBADMIN). I can create new users in this file and assign them a password. Using the RBOScope examples supplied, I can connect using one of these user names password. I've created a new UV subroutine that is called via the POSTWRITE method on one of the objects. What I'd like to do is access the username so I can add it to any audit records I may write. I've noticed that @LOGNAME @ACCOUNT are both blank but @AUTHORIZATION contains redback. Is there a variable (or a getProperty method) that I can use to determine the user who connected? AdrianW --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV/Redback] How can my UV code determine the redback user name?
George, There you are getting into server authentication. Redback will run with Apache. I guess it is dependent on what web technology you are using with it (Java, JSP, CGI) as to how that info can be made available to U2. I focused on the Microsoft technologies (IIS, ASP, ASP.Net) because of a perceived shorter learning curve coming from a Pick background with VB/VB Script versus Java. With IIS, you can set a server for windows authentication where you get the windows user id dialog box. Although I haven't gone that route, I'm sure you can find a way to access it to use in your code. So I would say the answer to your question is yes. Instead, I write my own login/security routines which is tied to the application for things like specific program access, printer defaults, email addresses, etc. In your case, I imagine the htaccess/htpassword files could be used as a validation source in ASP but the piping to read it and get it back to U2 would have to be figured out. If it works now and you can get it via your cgi script, it most likely work the same if you continued to use Apache. Mike R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen Sent: Friday, January 28, 2005 9:39 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV/Redback] How can my UV code determine the redback user name? Mike, Right now, I have an .htaccess/.htpassword file combo for apache web server when you hit the site, the webserver gives you a login box. This information is available to a .cgi program from the webserver. Can the ASP server supply the Redback routine this information as well? and/or does the ASP server have that username/password ability? George --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/