]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1327] choose a better default for login
authorBrett Porter <brett@apache.org>
Thu, 20 Jan 2011 04:20:21 +0000 (04:20 +0000)
committerBrett Porter <brett@apache.org>
Thu, 20 Jan 2011 04:20:21 +0000 (04:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1061114 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java

index b1e5f548d8ef91e00d1dfdfe63374458905d6fff..78ae146a8322a9ff42a1dc6c084fc475f7e4ebb8 100644 (file)
@@ -99,7 +99,7 @@ public class JcrMetadataRepository
         this.metadataFacetFactories = metadataFacetFactories;
         this.repository = repository;
 
-        session = repository.login( new SimpleCredentials( "username", "password".toCharArray() ) );
+        session = repository.login( new SimpleCredentials( "admin", "admin".toCharArray() ) );
     }
 
     static void initialize( Session session )