version 1.13, 2006/07/17 17:34:46
|
version 1.15, 2008/11/20 15:19:22
|
Line 26
|
Line 26
|
# http://www.lon-capa.org/ |
# http://www.lon-capa.org/ |
# |
# |
|
|
|
|
|
|
package Apache::lonuploadedacc; |
package Apache::lonuploadedacc; |
|
|
# |
|
# The way this is supposed to work: |
|
# |
|
# User A has client machine C |
|
# User A is logged into LON-CAPA server S |
|
# needs file from user B |
|
# homeserver for user B is H |
|
# |
|
# This handler runs on H |
|
# To access a userfile: |
|
# Server S generates a token and puts it into the query string of URL for H |
|
# Client box C asks H for file with token issued by C |
|
# H now must ask S if token is valid, uses S's lond-command tokenauthuserfile |
|
|
|
use strict; |
use strict; |
use Apache::Constants qw(:common :http); |
use Apache::Constants qw(:common :http); |
Line 76 __END__
|
Line 65 __END__
|
|
|
|
|
|
|
|
=head1 NAME |
|
|
|
Apache::lonuploadedacc |
|
|
|
=head1 SYNOPSIS |
|
|
|
The way this is supposed to work: |
|
|
|
User A has client machine C |
|
User A is logged into LON-CAPA server S |
|
needs file from user B |
|
homeserver for user B is H |
|
|
|
This is part of the LearningOnline Network with CAPA project |
|
described at http://www.lon-capa.org. |
|
|
|
=head1 HANDLER SUBROUTINE |
|
|
|
This handler runs on H |
|
To access a userfile: |
|
Server S generates a token and puts it into the query string of URL for H |
|
Client box C asks H for file with token issued by C |
|
H now must ask S if token is valid, uses S's lond-command tokenauthuserfile |
|
|
|
=cut |
|
|
|
|
|
|