Author: vtence
Date: Mon Mar 21 07:40:28 2005
New Revision: 158467
URL: http://svn.apache.org/viewcvs?view=rev&rev=158467
Log:
Added missing file
Added:
directory/authx/trunk/script/src/test/org/apache/authx/script/groovy/geeks.groovy
(with props)
Added:
directory/authx/trunk/script/src/test/org/apache/authx/script/groovy/geeks.groovy
URL:
http://svn.apache.org/viewcvs/directory/authx/trunk/script/src/test/org/apache/authx/script/groovy/geeks.groovy?view=auto&rev=158467
==============================================================================
---
directory/authx/trunk/script/src/test/org/apache/authx/script/groovy/geeks.groovy
(added)
+++
directory/authx/trunk/script/src/test/org/apache/authx/script/groovy/geeks.groovy
Mon Mar 21 07:40:28 2005
@@ -0,0 +1,9 @@
+class Geeks {
+
+ evaluate( request )
+ {
+ geeks = new org.apache.authx.authentication.attribute.GroupPrincipal(
"geeks" );
+ if ( request.getSubject().getPrincipals().contains( geeks ) )
request.grant();
+ }
+
+}
\ No newline at end of file
Propchange:
directory/authx/trunk/script/src/test/org/apache/authx/script/groovy/geeks.groovy
------------------------------------------------------------------------------
svn:executable = *