[
https://issues.apache.org/jira/browse/TWILL-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15460066#comment-15460066
]
Ali Anwar edited comment on TWILL-189 at 9/3/16 1:10 AM:
---------------------------------------------------------
Proposed change is to add a method to the SecureStore interface as follows:
/**
* Responsible for persisting the credentials to the specified URI.
*/
void persist(URI uri);
Additionally, TwillRunner's scheduleSecureStoreUpdate method's behavior will be
changed to only support one secure store updater at any given time.
Calling this method will replace any previously scheduled updater.
was (Author: anwar1):
Proposed change is to add a method to the SecureStore interface as follows:
/**
* Responsible for persisting the credentials to the specified URI.
*/
void persist(URI uri);
Additionally, TwillRunner's scheduleSecureStoreUpdate method's behavior will be
changed to only support one secure store updater at any given time.
Calling this method will replace any previously scheduled updater.
> SecureStoreUpdater should support updating secure store as other users
> ----------------------------------------------------------------------
>
> Key: TWILL-189
> URL: https://issues.apache.org/jira/browse/TWILL-189
> Project: Apache Twill
> Issue Type: New Feature
> Components: api
> Affects Versions: 0.7.0-incubating
> Reporter: Ali Anwar
> Fix For: 0.8.0
>
>
> SecureStoreUpdater always creates secure stores for the current user and
> writes these as the current user.
> It should allow writing the secure store as a different user.
> For an example use case, see: https://github.com/caskdata/cdap/pull/6380
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)