You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ha...@apache.org on 2003/04/07 19:08:55 UTC
cvs commit: xml-axis/java/src/org/apache/axis/handlers SimpleAuthorizationHandler.java
haddadc 2003/04/07 10:08:55
Modified: java/src/org/apache/axis/handlers
SimpleAuthorizationHandler.java
Log:
updated usage information to match the code
PR: 18770
Revision Changes Path
1.42 +6 -1 xml-axis/java/src/org/apache/axis/handlers/SimpleAuthorizationHandler.java
Index: SimpleAuthorizationHandler.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/handlers/SimpleAuthorizationHandler.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- SimpleAuthorizationHandler.java 28 Mar 2003 12:36:43 -0000 1.41
+++ SimpleAuthorizationHandler.java 7 Apr 2003 17:08:55 -0000 1.42
@@ -73,7 +73,12 @@
* specified in the Bag in the MessageContext is allowed to preform this
* action.
*
- * Just look for 'user' and 'action' in a file called 'perms.lst'
+ * Look at the <code>allowedRoles</code> handler parameter to determine if
+ * user has rights to access the service
+ *
+ * The <code>allowByDefault</code> handler parameter can be used to authorize
+ * all users if the parameter is set to true and the <code>allowedRoles</code>
+ * access control list is not specified.
*
* Replace this with your 'real' Authorization code.
*