diff _test/temp.pl @ 97:964587c5183c

Added SecureCall to Web QueryHandlers stack many bug fixes to Security and Web Application modules
author wizard
date Tue, 04 May 2010 04:04:37 +0400
parents 0667064553ef
children cf3b6ef2be22
line wrap: on
line diff
--- a/_test/temp.pl	Fri Apr 30 15:03:38 2010 +0400
+++ b/_test/temp.pl	Tue May 04 04:04:37 2010 +0400
@@ -1,19 +1,6 @@
 #!/usr/bin/perl
 use strict;
 
-package Boz;
-
-sub run {
-	my ($self,$code) = @_;
-	
-	$code->('Boz');
-}
+use IMPL::Security::Context;
 
-sub speak {
-	my ($self,$str) = @_;
-	print "Boz: $str";
-}
-
-sub type {	$_[0]; }
-
-print type Boz;
\ No newline at end of file
+print IMPL::Security::Context->current->principal->name;
\ No newline at end of file