accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] mikewalch closed pull request #86: Fix password typo in tour.
Date Mon, 04 Jun 2018 17:54:36 GMT
mikewalch closed pull request #86: Fix password typo in tour.
URL: https://github.com/apache/accumulo-website/pull/86
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tour/authorizations-code.md b/tour/authorizations-code.md
index 98587805..e14710bf 100644
--- a/tour/authorizations-code.md
+++ b/tour/authorizations-code.md
@@ -16,7 +16,7 @@ static void exercise(MiniAccumuloCluster mac) throws Exception {
     ColumnVisibility colVis = new ColumnVisibility(secretId);
 
     // Create a user with the "secretId" authorization and grant him read permissions on
our table
-    conn.securityOperations().createLocalUser("commissioner", new PasswordToken("gordanrocks"));
+    conn.securityOperations().createLocalUser("commissioner", new PasswordToken("gordonrocks"));
     conn.securityOperations().changeUserAuthorizations("commissioner", auths);
     conn.securityOperations().grantTablePermission("commissioner", "GothamPD", TablePermission.READ);
 
@@ -43,7 +43,7 @@ static void exercise(MiniAccumuloCluster mac) throws Exception {
     }
 
     // Read and print all rows of the commissioner can see. Pass Scanner proper authorizations
-    Connector commishConn = mac.getConnector("commissioner", "gordanrocks");
+    Connector commishConn = mac.getConnector("commissioner", "gordonrocks");
     try (Scanner scan = commishConn.createScanner("GothamPD", auths)) {
         System.out.println("Gotham Police Department Persons of Interest:");
         for (Map.Entry<Key, Value> entry : scan) {
diff --git a/tour/authorizations.md b/tour/authorizations.md
index 5b66c895..4403e340 100644
--- a/tour/authorizations.md
+++ b/tour/authorizations.md
@@ -24,7 +24,7 @@ We now want to secure our secret identities of the heroes so that only users
wit
         ColumnVisibility colVis = new ColumnVisibility(secretId);
         
         // Create a user with the "secretId" authorization and grant him read permissions
on our table
-        conn.securityOperations().createLocalUser("commissioner", new PasswordToken("gordanrocks"));
+        conn.securityOperations().createLocalUser("commissioner", new PasswordToken("gordonrocks"));
         conn.securityOperations().changeUserAuthorizations("commissioner", auths);
         conn.securityOperations().grantTablePermission("commissioner", "GothamPD", TablePermission.READ);
 ```


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message