[Jifty-commit] r4195 - in apps/CASPlus/trunk: lib/CASPlus

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Oct 2 16:35:50 EDT 2007


Author: sterling
Date: Tue Oct  2 16:35:50 2007
New Revision: 4195

Modified:
   apps/CASPlus/trunk/   (props changed)
   apps/CASPlus/trunk/lib/CASPlus/View.pm

Log:
 r12814 at dynpc145:  andrew | 2007-10-02 15:35:04 -0500
 Removing commented out bits.


Modified: apps/CASPlus/trunk/lib/CASPlus/View.pm
==============================================================================
--- apps/CASPlus/trunk/lib/CASPlus/View.pm	(original)
+++ apps/CASPlus/trunk/lib/CASPlus/View.pm	Tue Oct  2 16:35:50 2007
@@ -429,57 +429,4 @@
 
 =cut
 
-#use Template::Declare::XML;
-#use Jifty::View::Declare schema {
-#    namespace cas => 'http://www.yale.edu/tp/cas';
-#    default_prefix is 'cas';
-#
-#    tag serviceResponse =>
-#        is not_empty;
-#
-#    tag authenticationSuccess =>
-#        is not_empty;
-#
-#    tag user =>
-#        is data;
-#
-#    tag proxyGrantingTicket =>
-#        is data;
-#
-#    tag authenticationFailure =>
-#        attributes {
-#            attribute code =>
-#                is required;
-#        },
-#        is not_empty;
-#};
-#
-#template 'serviceValidate' => sub {
-#    my $result = get 'result';
-#
-#    xml_decl { version => 1.0, encoding => 'UTF-8' };
-#
-#    serviceResponse {
-#        if ($result->success) {
-#            authenticationSuccess {
-#                user { $result->content('username'); };
-#
-#                if ($result->content('proxy_granting_ticket')) {
-#                    proxyGrantingTicket {
-#                        $result->content('proxy_granting_ticket');
-#                    };
-#                }
-#            };
-#        }
-#
-#        else {
-#            authenticationFailure {
-#                attr { code => $result->content('code') };
-#                
-#                $result->error;
-#            };
-#        }
-#    };
-#};
-
 1;


More information about the Jifty-commit mailing list