Changeset 27318 for main/trunk/greenstone2/common-src/cgi-bin/gsdlCGI.pm
- Timestamp:
- 2013-05-08T20:27:02+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/cgi-bin/gsdlCGI.pm
r27158 r27318 802 802 }else{ 803 803 $java_classpath = $java_gsdl3_classpath . ";" . $java_remaining_classpath; 804 } 804 } # can't use util::envvar_prepend(), since the $java_classpath here is not a $ENV type env variable 805 805 806 806 my $java_command="\"$java\" -classpath \"$java_classpath\" org.greenstone.gsdl3.service.Authentication \"$password\""; # 2>&1"; … … 808 808 809 809 return $hashedpwd; 810 } 811 812 sub encrypt_key 813 { 814 my $self = shift @_; 815 816 # I think the encryption method used on the key may be the same for GS3 and GS2 817 # (The encryption method used on the pw definitely differs between the two GS versions) 818 if (defined $self->param("ky")) { 819 require "$self->{'gsdlhome'}/perllib/cpan/Crypt/UnixCrypt.pm"; # This is OK on Windows 820 $self->param('-name' => "ky", '-value' => &Crypt::UnixCrypt::crypt($self->clean_param("ky"), "Tp")); 821 } 810 822 } 811 823
Note:
See TracChangeset
for help on using the changeset viewer.