accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1041) Generic interface for arbitrary token handling
Date Tue, 05 Mar 2013 03:31:15 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593014#comment-13593014
] 

Hudson commented on ACCUMULO-1041:
----------------------------------

Integrated in Accumulo-Trunk-Hadoop-2.0 #116 (See [https://builds.apache.org/job/Accumulo-Trunk-Hadoop-2.0/116/])
    ACCUMULO-1140 display actual number of tservers using precise whole numbers
ACCUMULO-1041 ACCUMULO-1129 - purging instance.getConnector(Credential) (Revision 1452602)

     Result = FAILURE
vines : 
Files : 
* /accumulo/trunk
* /accumulo/trunk/core
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/cli/ClientOpts.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/Instance.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/OfflineScanner.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/util/InputConfigurator.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mock/MockInstance.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/shell/commands/PasswdCommand.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/shell/commands/TraceCommand.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/shell/commands/UserCommand.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/impl/TabletLocatorImplTest.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/mock/MockTableOperationsTest.java
* /accumulo/trunk/proxy/src/main/java/org/apache/accumulo/proxy/ProxyServer.java
* /accumulo/trunk/server
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/client/HdfsZooInstance.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/servlets/MasterServlet.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/servlets/PreciseNumberType.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/problems/ProblemReports.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/security/SecurityConstants.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/Admin.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/CheckForMetadataProblems.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/FindOfflineTablets.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/VerifyTabletAssignments.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/QueryMetadataTable.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/WrongTabletTest.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/performance/scan/CollectTabletStats.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/State.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/AlterTable.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/AlterTablePerm.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/Authenticate.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/ChangePass.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/CreateTable.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/CreateUser.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/DropTable.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/DropUser.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/SetAuths.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/TableOp.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/Validate.java
* /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/security/WalkingSecurity.java

                
> Generic interface for arbitrary token handling
> ----------------------------------------------
>
>                 Key: ACCUMULO-1041
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1041
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client
>            Reporter: John Vines
>            Assignee: John Vines
>             Fix For: 1.5.0
>
>
> [~ctubbsii], [~kturner] and I hashed out details for best approach for generic tokens
which should work both for our API and the proxy.
> # Client requests the Authenticator class name
> # Client creates instance of Authenticator, calls login(Properties)
> # Properties are used to create the appropriate Token, which implements Writable, and
return it to user.
> # Client uses principal + Token with getConnector call
> # Token is immediately serialized to be used within client api and packaged into a Credential
object
> # Credential gets sent to server via thrift
> # Principal is checked, if !SYSTEM treated as a PasswordToken, otherwise deserialized
as a class defined by the Authenticator (Writable's readFields method called on said class)
> # Token us then passed through the SecurityOperations impl as well as the authenticator
api.
> This allows the authenticator API to use their requested tokens without confusion/code
injection issues with deserialization happening for unknown token classes.
> The exact same process for token creation can also be used by the Proxy, with a Map of
properties being passed it to create a token on the proxy.
> For backward support, the ZKAuthenticator will expect a PasswordToken, which is simply
a byte array.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message