lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/ac2/xsp PolicyHelper.java
Date Tue, 19 Aug 2003 18:46:03 GMT
andreas     2003/08/19 11:46:03

  Modified:    src/java/org/apache/lenya/cms/ac2/xsp PolicyHelper.java
  Log:
  building subtree policy when saving SSL protection
  
  Revision  Changes    Path
  1.6       +2 -2      cocoon-lenya/src/java/org/apache/lenya/cms/ac2/xsp/PolicyHelper.java
  
  Index: PolicyHelper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/ac2/xsp/PolicyHelper.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PolicyHelper.java	7 Aug 2003 10:23:27 -0000	1.5
  +++ PolicyHelper.java	19 Aug 2003 18:46:03 -0000	1.6
  @@ -324,7 +324,7 @@
        */
       public void setUrlSSLProtected(boolean ssl) throws ProcessingException {
           try {
  -            DefaultPolicy policy = policyManager.buildURLPolicy(accessController.getAccreditableManager(),
url);
  +            DefaultPolicy policy = policyManager.buildSubtreePolicy(accessController.getAccreditableManager(),
url);
               policy.setSSL(ssl);
               policyManager.saveSubtreePolicy(url, policy);
           } catch (AccessControlException e) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message