accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwa...@apache.org
Subject [accumulo-website] branch asf-site updated: Jekyll build from master:2619e97
Date Mon, 04 Jun 2018 18:19:27 GMT
This is an automated email from the ASF dual-hosted git repository.

mwalch pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 45f96c2  Jekyll build from master:2619e97
45f96c2 is described below

commit 45f96c21452ebc2677fe54ebe7e5c656a798cd38
Author: Mike Walch <mwalch@apache.org>
AuthorDate: Mon Jun 4 14:14:25 2018 -0400

    Jekyll build from master:2619e97
    
    Fix password typo in tour. (#86)
    
    The commissioner's name is Jim Gordon. Minor quibble, but may help avoid
    some amount of reader confusion.
---
 feed.xml                            | 4 ++--
 redirects.json                      | 2 +-
 tour/authorizations-code/index.html | 4 ++--
 tour/authorizations/index.html      | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/feed.xml b/feed.xml
index c65e661..4339e80 100644
--- a/feed.xml
+++ b/feed.xml
@@ -6,8 +6,8 @@
 </description>
     <link>https://accumulo.apache.org/</link>
     <atom:link href="https://accumulo.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Mon, 14 May 2018 17:04:29 -0400</pubDate>
-    <lastBuildDate>Mon, 14 May 2018 17:04:29 -0400</lastBuildDate>
+    <pubDate>Mon, 04 Jun 2018 14:14:10 -0400</pubDate>
+    <lastBuildDate>Mon, 04 Jun 2018 14:14:10 -0400</lastBuildDate>
     <generator>Jekyll v3.7.3</generator>
     
     
diff --git a/redirects.json b/redirects.json
index cc2442e..2ec52c0 100644
--- a/redirects.json
+++ b/redirects.json
@@ -1 +1 @@
-{"/release_notes/1.5.1.html":"https://accumulo.apache.org/release/accumulo-1.5.1/","/release_notes/1.6.0.html":"https://accumulo.apache.org/release/accumulo-1.6.0/","/release_notes/1.6.1.html":"https://accumulo.apache.org/release/accumulo-1.6.1/","/release_notes/1.6.2.html":"https://accumulo.apache.org/release/accumulo-1.6.2/","/release_notes/1.7.0.html":"https://accumulo.apache.org/release/accumulo-1.7.0/","/release_notes/1.5.3.html":"https://accumulo.apache.org/release/accumulo-1.5.3/"
[...]
\ No newline at end of file
+{"/release_notes/1.5.1.html":"https://accumulo.apache.org/release/accumulo-1.5.1/","/release_notes/1.6.0.html":"https://accumulo.apache.org/release/accumulo-1.6.0/","/release_notes/1.6.1.html":"https://accumulo.apache.org/release/accumulo-1.6.1/","/release_notes/1.6.2.html":"https://accumulo.apache.org/release/accumulo-1.6.2/","/release_notes/1.7.0.html":"https://accumulo.apache.org/release/accumulo-1.7.0/","/release_notes/1.5.3.html":"https://accumulo.apache.org/release/accumulo-1.5.3/"
[...]
\ No newline at end of file
diff --git a/tour/authorizations-code/index.html b/tour/authorizations-code/index.html
index 3fa9e1b..73c112c 100644
--- a/tour/authorizations-code/index.html
+++ b/tour/authorizations-code/index.html
@@ -171,7 +171,7 @@
     <span class="n">ColumnVisibility</span> <span class="n">colVis</span>
<span class="o">=</span> <span class="k">new</span> <span class="n">ColumnVisibility</span><span
class="o">(</span><span class="n">secretId</span><span class="o">);</span>
 
     <span class="c1">// Create a user with the "secretId" authorization and grant him
read permissions on our table</span>
-    <span class="n">conn</span><span class="o">.</span><span class="na">securityOperations</span><span
class="o">().</span><span class="na">createLocalUser</span><span class="o">(</span><span
class="s">"commissioner"</span><span class="o">,</span> <span class="k">new</span>
<span class="n">PasswordToken</span><span class="o">(</span><span
class="s">"gordanrocks"</span><span class="o">));</span>
+    <span class="n">conn</span><span class="o">.</span><span class="na">securityOperations</span><span
class="o">().</span><span class="na">createLocalUser</span><span class="o">(</span><span
class="s">"commissioner"</span><span class="o">,</span> <span class="k">new</span>
<span class="n">PasswordToken</span><span class="o">(</span><span
class="s">"gordonrocks"</span><span class="o">));</span>
     <span class="n">conn</span><span class="o">.</span><span class="na">securityOperations</span><span
class="o">().</span><span class="na">changeUserAuthorizations</span><span
class="o">(</span><span class="s">"commissioner"</span><span class="o">,</span>
<span class="n">auths</span><span class="o">);</span>
     <span class="n">conn</span><span class="o">.</span><span class="na">securityOperations</span><span
class="o">().</span><span class="na">grantTablePermission</span><span
class="o">(</span><span class="s">"commissioner"</span><span class="o">,</span>
<span class="s">"GothamPD"</span><span class="o">,</span> <span
class="n">TablePermission</span><span class="o">.</span><span class="na">READ</span><span
class="o">);</span>
 
@@ -198,7 +198,7 @@
     <span class="o">}</span>
 
     <span class="c1">// Read and print all rows of the commissioner can see. Pass Scanner
proper authorizations</span>
-    <span class="n">Connector</span> <span class="n">commishConn</span>
<span class="o">=</span> <span class="n">mac</span><span class="o">.</span><span
class="na">getConnector</span><span class="o">(</span><span class="s">"commissioner"</span><span
class="o">,</span> <span class="s">"gordanrocks"</span><span class="o">);</span>
+    <span class="n">Connector</span> <span class="n">commishConn</span>
<span class="o">=</span> <span class="n">mac</span><span class="o">.</span><span
class="na">getConnector</span><span class="o">(</span><span class="s">"commissioner"</span><span
class="o">,</span> <span class="s">"gordonrocks"</span><span class="o">);</span>
     <span class="k">try</span> <span class="o">(</span><span class="n">Scanner</span>
<span class="n">scan</span> <span class="o">=</span> <span class="n">commishConn</span><span
class="o">.</span><span class="na">createScanner</span><span class="o">(</span><span
class="s">"GothamPD"</span><span class="o">,</span> <span class="n">auths</span><span
class="o">))</span> <span class="o">{</span>
         <span class="n">System</span><span class="o">.</span><span
class="na">out</span><span class="o">.</span><span class="na">println</span><span
class="o">(</span><span class="s">"Gotham Police Department Persons of Interest:"</span><span
class="o">);</span>
         <span class="k">for</span> <span class="o">(</span><span
class="n">Map</span><span class="o">.</span><span class="na">Entry</span><span
class="o">&lt;</span><span class="n">Key</span><span class="o">,</span>
<span class="n">Value</span><span class="o">&gt;</span> <span
class="n">entry</span> <span class="o">:</span> <span class="n">scan</span><span
class="o">)</span> <span class="o">{</span>
diff --git a/tour/authorizations/index.html b/tour/authorizations/index.html
index 3d6b265..772c76a 100644
--- a/tour/authorizations/index.html
+++ b/tour/authorizations/index.html
@@ -182,7 +182,7 @@ visible to the user.</p>
      <span class="n">ColumnVisibility</span> <span class="n">colVis</span>
<span class="o">=</span> <span class="k">new</span> <span class="n">ColumnVisibility</span><span
class="o">(</span><span class="n">secretId</span><span class="o">);</span>
         
      <span class="c1">// Create a user with the "secretId" authorization and grant
him read permissions on our table</span>
-     <span class="n">conn</span><span class="o">.</span><span
class="na">securityOperations</span><span class="o">().</span><span
class="na">createLocalUser</span><span class="o">(</span><span class="s">"commissioner"</span><span
class="o">,</span> <span class="k">new</span> <span class="n">PasswordToken</span><span
class="o">(</span><span class="s">"gordanrocks"</span><span class="o">));</span>
+     <span class="n">conn</span><span class="o">.</span><span
class="na">securityOperations</span><span class="o">().</span><span
class="na">createLocalUser</span><span class="o">(</span><span class="s">"commissioner"</span><span
class="o">,</span> <span class="k">new</span> <span class="n">PasswordToken</span><span
class="o">(</span><span class="s">"gordonrocks"</span><span class="o">));</span>
      <span class="n">conn</span><span class="o">.</span><span
class="na">securityOperations</span><span class="o">().</span><span
class="na">changeUserAuthorizations</span><span class="o">(</span><span
class="s">"commissioner"</span><span class="o">,</span> <span class="n">auths</span><span
class="o">);</span>
      <span class="n">conn</span><span class="o">.</span><span
class="na">securityOperations</span><span class="o">().</span><span
class="na">grantTablePermission</span><span class="o">(</span><span
class="s">"commissioner"</span><span class="o">,</span> <span class="s">"GothamPD"</span><span
class="o">,</span> <span class="n">TablePermission</span><span class="o">.</span><span
class="na">READ</span><span class="o">);</span>
 </code></pre></div>    </div>

-- 
To stop receiving notification emails like this one, please contact
mwalch@apache.org.

Mime
View raw message