[Google-Gadgets-API] Does gadget in sites know who the user is ?
Hi - I am working in a setting where Google Sites is accessed via Single Sign On. Because of this, it is awkward and inconvenient for the gadget to request a second login. I was wondering how a gadget embedded in a Sites page can figure out what the user's id might be ? Any way for the Gadget to get access to any of the SAML attributes used to provide the login ? - George Pipkin U.Va. -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to google-gadgets-...@googlegroups.com. To unsubscribe from this group, send email to google-gadgets-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-gadgets-api?hl=en.
[Google Wave APIs] Permissions within a wave
Is it possible to set certain wavlets within a wave to read/only mode for certain users, while leaving it read/write for others ? Is this something that is in the pipeline for the immediate future ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
Re: Install problem - Infinite redirect detected...
So - let me see if I unbderstand fully what you're advising. I remove reference to jsdk.jar or servlet.jar from build-turbine.sh, and it won't build. I remove references from these two files from tomcat.sh, and tomcat won't start. I'm a little confused here. - George Pipkin >on 4/25/00 9:43 AM, George Pipkin <[EMAIL PROTECTED]> wrote: > >> Well, I did exactly this - I downloaded jsdk2.0 and I put it ahead of >> servlet.jar in my tomcat.sh where it establishes the classpaths. After >> that, no servlets ran at all - I get a null pointer exception. So then I >> put it after servlet.jar, and I'm back to the infinate redirection >> exception. Is there something I'm missing ? >> >> - George Pipkin > >if you are using tomcat, you shouldn't download ANY servlet.jar's or jsdk >2.0or have them in your classpath. > >tomcat is a servlet engine that implements the latest jsdk. it comes with >its own copy of the interfaces that are needed for the jsdk. you don't need >to download them from sun. > >our previous instructions were for Apache JServ which we assumed you were >using because (i personally) didn't see you post messages about your >configuration. in the future, you should post clear messages about >configuration and version information so that we don't go into circles like >that again. > >you *should* make sure that you are using the latest version of tomcat >though which is 3.1. > >-jon > >-- >Scarab - > Java Servlet Based - Open Source > Bug/Issue Tracking System ><http://scarab.tigris.org/> > > > > > >To subscribe:[EMAIL PROTECTED] >To unsubscribe: [EMAIL PROTECTED] >Problems?: [EMAIL PROTECTED] To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
Re: Install problem - Infinite redirect detected...
Well, I did exactly this - I downloaded jsdk2.0 and I put it ahead of servlet.jar in my tomcat.sh where it establishes the classpaths. After that, no servlets ran at all - I get a null pointer exception. So then I put it after servlet.jar, and I'm back to the infinate redirection exception. Is there something I'm missing ? - George Pipkin >At 09:56 AM 4/25/00 -0400, you wrote: >>Thanks for answering. Unfortunately, that didn't fix it. One thing I'm >>wondering - when I built it, for the JSDK= argument, I used servlet.jar >>rather than /JSDK2.0/jsdk.jar because that's the current version of that >>library. Do you think that could have anything to do with it ? >> >> >> - George Pipkin > >yes. it has everything to do with it. >you don't want the current version of the library. >please ensure that jsdk.jar (2.0, not 2.1) is ahead of >servlet.jar in the classpath. > >Stephen > > > > >To subscribe:[EMAIL PROTECTED] >To unsubscribe: [EMAIL PROTECTED] >Problems?: [EMAIL PROTECTED] To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
Re: Install problem - Infinite redirect detected...
Do you know where I might go to get the 2.0 version of jsdk.jar ? - George >At 09:56 AM 4/25/00 -0400, you wrote: >>Thanks for answering. Unfortunately, that didn't fix it. One thing I'm >>wondering - when I built it, for the JSDK= argument, I used servlet.jar >>rather than /JSDK2.0/jsdk.jar because that's the current version of that >>library. Do you think that could have anything to do with it ? >> >> >> - George Pipkin > >yes. it has everything to do with it. >you don't want the current version of the library. >please ensure that jsdk.jar (2.0, not 2.1) is ahead of >servlet.jar in the classpath. > >Stephen > > > > >To subscribe:[EMAIL PROTECTED] >To unsubscribe: [EMAIL PROTECTED] >Problems?: [EMAIL PROTECTED] To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
Re: Install problem - Infinite redirect detected...
Thanks for answering. Unfortunately, that didn't fix it. One thing I'm wondering - when I built it, for the JSDK= argument, I used servlet.jar rather than /JSDK2.0/jsdk.jar because that's the current version of that library. Do you think that could have anything to do with it ? - George Pipkin >on 4/24/00 6:20 PM, George P. Pipkin <[EMAIL PROTECTED]> wrote: > >> database.default.url=jdbc:mysql://localhost3306/gpp8p_turbine > >this would be one problem...it should be localhost:3306 > >-- >Scarab - > Java Servlet Based - Open Source > Bug/Issue Tracking System ><http://scarab.tigris.org/> > > > > > >To subscribe:[EMAIL PROTECTED] >To unsubscribe: [EMAIL PROTECTED] >Problems?: [EMAIL PROTECTED] To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
Re: Embperl - where are the cookies ? Success....
Hi Everybody - Finally got it working, and I wanted to sum up what I did so if somebody else runs into this, it'll be waiting for 'em in the archives. In the startup.pl, here's what I got: BEGIN{ $ENV{EMBPERL_SESSION_CLASSES} = "DBIStore SysVSemaphoreLocker"; $ENV{EMBPERL_SESSION_ARGS}= "DataSource=dbi:mysql:gpp8p_casenet UserName=gpp 8p Password=x"; } use Apache::Session::Embperl; use HTML::Embperl; $Apache::Session::SysVSemaphoreLocker::nsems = 16; (note - I'm running Solaris so I gotta have the nsems argument) The table: mysql> describe sessions; +---+-+--+-+-+---+ | Field | Type| Null | Key | Default | Extra | +---+-+--+-+-+---+ | id| varchar(16) | | PRI | | | | expires | int(11) | YES | | NULL| | | length| int(11) | YES | | NULL| | | a_session | text| YES | | NULL| | +---+-+--+-+-+---+ The test script: Test of session features [+ if($udat{counter} == 0){$udat{counter} = 1} +] The page is requested [+ $udat{counter}++ +] occasions since [+ $udat{date} ||= localtime +] cookies: [+ $ENV{HTTP_COOKIE} +] I think that covers it. Thanks for your help. - George >George, > >This problem was mentioned in a previous post because it is wrong in the >documentation (it may be fixed now). > >The setting of $ENV{EMBPERL...} variables in this case need to be inside >a BEGIN block at the start of the script. This is because the value of >these variables are used to setup session tracking right when the >HTML::Embperl module is used (and this happens before your EMBPERL >environment variables are being set). > >So put a BEGIN {} around them and you should be ready to roll. >Incidentally if you are using starting and stopping apache by hand you >will see a message from Embperl when session tracking has been enabled. >If you do not see the message don't waste your time looking at your test >page. > >Another thing, the reason things update randomly is because each apache >child is keeping a copy of what you put in $udat. Since it is a special >Embperl variable it will hold it's value and not be cleaned up at the >end of page execution like other variables are each time you reload you >get a different child with a different incrementing number. > >-- Owen > >"George P. Pipkin" wrote: >> >> Hi Everybody - >> >>I have been playing around with Embperl. I have a little script that >> resembles the counter test mentioned in the docs, and it appears to >> run. Problem is, no cookies get set. And the value of the counter is >> erratic. One browser will appear to pick up the count from another. >> Then it will jump back. Here is the script: >> >> >> Test of session features >> [+ if($udat{counter} == 0){$udat{counter} = 1} +] >> The page is requested [+ $udat{counter}++ +] occasions >> since [+ $udat{date} ||= localtime +] >> >> cookies: [+ $ENV{HTTP_COOKIE} +] >> >> ~ >> >> Incidently, $ENV{HTTP_COOKIE} never shows any value at all. I have the >> session mechanics hooked up to a mysql database. Here's the setup stuff >> in startup.pl: >> >> $ENV{EMBPERL_SESSION_CLASSES} = "DBIStore SysVSemaphoreLocker"; >> $ENV{EMBPERL_SESSION_ARGS}= "DataSource=dbi:mysql:gpp8p_casenet >> UserName=gpp >> 8p Password=xxx"; >> use Apache::Session; >> use HTML::Embperl; >> >> And BTW, I did set up the two tables in that database >> >> Any ideas >> >> - George Pipkin >> >> -- >> >> >>*** >> George P. Pipkin h - (804)-245-9916 >> 1001 Emmet St. w - (804)-924-1329 >> Carruthers Hall fax - >> (804)-982-2777 >> Charlottesville, Va. 22903 >> http://jm.acs.virginia.edu/~gpp8p/ >> >> >>*** *** George Pipkin Advanced Technology Group University of Virginia (804)-924-1329 ***
Re: Embperl - where are the cookies ?
Hi Owen - Thanks for your response, but no cigar, unfortunately. Here's what I got: # set env vars for embedded perl BEGIN{ $ENV{EMBPERL_SESSION_CLASSES} = "DBIStore SysVSemaphoreLocker"; $ENV{EMBPERL_SESSION_ARGS}= "DataSource=dbi:mysql:gpp8p_casenet UserName=gpp 8p Password=\!\!gpp8p"; } use Apache::Session; use HTML::Embperl; I tried it with the braces surrounding the whole thing - same result. Perhaps I don't have the tables set up right in MySQL - do you know where this is described ? here's what I got: mysql> describe sessions -> ; +---+-+--+-+-+---+ | Field | Type| Null | Key | Default | Extra | +---+-+--+-+-+---+ | id| varchar(16) | | PRI | | | | expires | int(11) | YES | | NULL| | | length| int(11) | YES | | NULL| | | a_session | text| YES | | NULL| | +---+-+--+-+-+---+ 4 rows in set (0.07 sec) - George Pipkin *********** George Pipkin Advanced Technology Group University of Virginia (804)-924-1329 ***
Using JSSI withj other servlet engines
Hi Everybody - Does anybody have any experience with using ApacheJSSI with other servlet engines - particularly servletexec? In particular, I'm interested in the url re-writing feature - it appears that the querystring is somewhat different under servletexec than it is under JServe, and I was wondering if there is any way to accomodate this. - George Pipkin *** George Pipkin Advanced Technology Group University of Virginia (804)-924-1329 *** To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
Error initializing protocol wrapper
Hi Everybody - I configured ApacheJServ-1.0b4 to work with Apache v1.3 - configuration and makes went through Ok - used GMAKE. When I run httpd I get the following in my mod_jserv.log (and, of course, Apache won't come up): [20/05/1999 14:28:08:190] (EMERGENCY) Error initializing protocols [20/05/1999 14:28:52:122] (ERROR) an error returned initializing protocol "wrapp er" [20/05/1999 14:28:52:124] (ERROR) in init all protocols "wrapper" returned an er ror [20/05/1999 14:28:52:125] (EMERGENCY) Error initializing protocols ~ -- The Apache error_log says: [Thu May 20 14:28:52 1999] [crit] (2)No such file or directory: Apache JServ enc ountered a fatal error; check your ApJServLogFile for details if none are presen t in this file. Exiting. Anybody ever encounter this ?? - George Pipkin *********** George Pipkin Advanced Technology Group University of Virginia (804)-924-1329 *** -- -- To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] READ THE FAQ <http://java.apache.org/faq/> Archives and Other: <http://java.apache.org/main/mail.html/> Problems?: [EMAIL PROTECTED]