jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r160014 - in incubator/jackrabbit/trunk/contrib/examples: ./ src/java/org/apache/jackrabbit/examples/FirstSteps.java
Date Mon, 04 Apr 2005 09:19:55 GMT
Author: mreutegg
Date: Mon Apr  4 02:19:54 2005
New Revision: 160014

URL: http://svn.apache.org/viewcvs?view=rev&rev=160014
Log:
- Ignore target folder
- Change FirstSteps.java to use other credentials than anonymous. Jackrabbit now returns a
read-only session for a userid=anonymous.

Modified:
    incubator/jackrabbit/trunk/contrib/examples/   (props changed)
    incubator/jackrabbit/trunk/contrib/examples/src/java/org/apache/jackrabbit/examples/FirstSteps.java

Propchange: incubator/jackrabbit/trunk/contrib/examples/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Apr  4 02:19:54 2005
@@ -0,0 +1 @@
+target

Modified: incubator/jackrabbit/trunk/contrib/examples/src/java/org/apache/jackrabbit/examples/FirstSteps.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/examples/src/java/org/apache/jackrabbit/examples/FirstSteps.java?view=diff&r1=160013&r2=160014
==============================================================================
--- incubator/jackrabbit/trunk/contrib/examples/src/java/org/apache/jackrabbit/examples/FirstSteps.java
(original)
+++ incubator/jackrabbit/trunk/contrib/examples/src/java/org/apache/jackrabbit/examples/FirstSteps.java
Mon Apr  4 02:19:54 2005
@@ -47,7 +47,7 @@
     public static void main(String[] args) {
         try {
             Repository repository = getRepository();
-            SimpleCredentials creds = new SimpleCredentials("anonymous", "".toCharArray());
+            SimpleCredentials creds = new SimpleCredentials("username", "password".toCharArray());
             Session session = repository.login(creds);
             Node root = session.getRootNode();
 



Mime
View raw message