[jbosstools-issues] [JBoss JIRA] (JBDS-4520) Use credential manager API to store username/login

Denis Golovin (JIRA) issues at jboss.org
Thu Sep 21 02:43:00 EDT 2017


    [ https://issues.jboss.org/browse/JBDS-4520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466622#comment-13466622 ] 

Denis Golovin commented on JBDS-4520:
-------------------------------------

[~jrichter1] To configure for windows images and mac hosts follow https://github.com/nodejs/node-gyp. I used option 1 for windows and {code}npm install keytar{code}
worked without errors
{code}npm install keytar

> keytar at 4.0.4 install C:\p\rh\dpi\node_modules\keytar
> node-gyp rebuild


C:\p\rh\dpi\node_modules\keytar>if not defined npm_config_node_gyp (node "C:\Programs\nvm\v6.9.2\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  async.cc
  main.cc
  keytar_win.cc
  win_delay_load_hook.cc
     Creating library C:\p\rh\dpi\node_modules\keytar\build\Release\keytar.lib and object C:\p\rh\dpi\node_modules\keytar\build\Release\keytar.exp
  Generating code
  Finished generating code
  keytar.vcxproj -> C:\p\rh\dpi\node_modules\keytar\build\Release\\keytar.node
  keytar.vcxproj -> C:\p\rh\dpi\node_modules\keytar\build\Release\keytar.pdb (Full PDB)
devstudio-platform-installer at 2.1.0-GA C:\p\rh\dpi
+-- UNMET PEER DEPENDENCY istanbul at 1.1.0-alpha.1
`-- keytar at 4.0.4
  `-- nan at 2.5.1

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-linux@^1.1.0 (node_modules\7zip-bin\node_modules\7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-linux at 1.1.0: wanted {"os":"linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@^1.0.1 (node_modules\7zip-bin\node_modules\7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-mac at 1.0.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN ajv-keywords at 2.1.0 requires a peer of ajv@>=5.0.0 but none was installed.
npm WARN gulp-spawn-mocha at 3.3.1 requires a peer of istanbul@^0.4.3 but none was installed.{code}

It seems should just fork for macOS if xcode is installed.

> Use credential manager API to store username/login
> --------------------------------------------------
>
>                 Key: JBDS-4520
>                 URL: https://issues.jboss.org/browse/JBDS-4520
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: platform-installer
>    Affects Versions: 11.1.0.AM1
>            Reporter: Denis Golovin
>            Assignee: Sudhir Verma
>             Fix For: 11.x
>
>
> Installer should let to save user credentials to use them for next installer start. See details for API here 
> https://developers.google.com/web/updates/2016/04/credential-management-api



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list