cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r290701 - /cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/AbstractRepository.java
Date Wed, 21 Sep 2005 14:03:51 GMT
Author: sylvain
Date: Wed Sep 21 07:03:47 2005
New Revision: 290701

URL: http://svn.apache.org/viewcvs?rev=290701&view=rev
Log:
JAAS is optional

Modified:
    cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/AbstractRepository.java

Modified: cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/AbstractRepository.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/AbstractRepository.java?rev=290701&r1=290700&r2=290701&view=diff
==============================================================================
--- cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/AbstractRepository.java (original)
+++ cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/AbstractRepository.java Wed Sep 21
07:03:47 2005
@@ -137,15 +137,13 @@
                     // WARNING: java.security.auth.login.config has already been set
                 }
             } catch (Exception e) {
-                throw new ConfigurationException("Cannot resolve jaas URI: " + jaasURI);
+                throw new ConfigurationException("Cannot resolve jaas URI: " + jaasURI +
" at " + config.getLocation());
             } finally {
                 if (jaasSrc != null) {
                     resolver.release(jaasSrc);
                 }
                 this.manager.release(resolver);
             }
-        } else {
-            throw new ConfigurationException("Path of jaas.config has not been configured");
         }
 
         Configuration credentials = config.getChild("credentials", false);



Mime
View raw message