欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

OracleWallet初探

Oracle Wallet初探

目前累計服務客戶千余家,積累了豐富的產品開發(fā)及服務經驗。以網站設計水平和技術實力,樹立企業(yè)形象,為客戶提供成都做網站、網站設計、網站策劃、網頁設計、網絡營銷、VI設計、網站改版、漏洞修補等服務。成都創(chuàng)新互聯始終以務實、誠信為根本,不斷創(chuàng)新和提高建站品質,通過對領先技術的掌握、對創(chuàng)意設計的研究、對客戶形象的視覺傳遞、對應用系統的結合,為客戶提供更好的一站式互聯網解決方案,攜手廣大客戶,共同發(fā)展進步。

1.  什么是Wallet

A datastructure used to store and manage security credentials for an individualentity.

從Oracle10gR2開始, 通過使用Oracle Wallet達到用戶不使用密碼登錄數據庫(非操作系統認證方式),這對于用腳本登錄數據庫進行操作來說是非常有用的;尤其對于企業(yè)安全要求很高,不希望用戶名和密碼明文存在配置文件中,而且對于密碼的維護是極為方便的,比如我把wallet放在指定路徑下,當修改密碼時,只需統一覆蓋wallet即可,對于有大量應用服務器尤為方便。

2.  Wallet的創(chuàng)建和管理

1.創(chuàng)建wallet

[oracle@daidai ~]$ mkdir -p/tmp/test_wallet

[oracle@daidai ~]$ mkstore-wrl /tmp/test_wallet –create

[oracle@daidai ~]$ cd /tmp/test_wallet/

[oracle@daidai test_wallet]$ ls

cwallet.sso  ewallet.p12

配置連接串tnsnames.ora

WALLET_OCP11G =

 (DESCRIPTION =

   (ADDRESS = (PROTOCOL = TCP)(HOST = daidai.com)(PORT = 1522))

   (CONNECT_DATA =

     (SERVER = DEDICATED)

     (SERVICE_NAME = ocp11g)

    )

  )

配置sqlnet.ora

WALLET_LOCATION=(SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY=/tmp/test_wallet)))

SQLNET.WALLET_OVERRIDE = TRUE

把登入數據庫的用戶認證信息添加到wallet中

[oracle@daidai ~]$ mkstore --help

Oracle Secret Store Tool : Version11.2.0.4.0 - Production

Copyright (c) 2004, 2013, Oracle and/or itsaffiliates. All rights reserved.

 

No wallet location specified.

mkstore [-wrl wrl] [-create] [-createSSO][-createLSSO] [-createALO] [-delete] [-deleteSSO] [-list] [-createEntry aliassecret] [-viewEntry alias] [-modifyEntry alias secret] [-deleteEntry alias] [-createCredential connect_string username password][-listCredential] [-modifyCredential connect_string username password][-deleteCredential connect_string] [-help] [-nologo]

[oracle@daidai ~]$ mkstore-wrl /tmp/test_wallet -createCredential wallet_ocp11g daidai love8013

Oracle Secret Store Tool : Version11.2.0.4.0 - Production

Copyright (c) 2004, 2013, Oracle and/or itsaffiliates. All rights reserved.

 

Enter wallet password:l         3

  

Create credential oracle.security.client.connect_string1

測試連接

至此,就可以使用wallet連接

[oracle@daidai ~]$ sqlplus/@wallet_ocp11g

 

SQL*Plus: Release 11.2.0.4.0 Production onTue Jun 14 14:47:49 2016

 

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

 

 

Connected to:

Oracle Database 11g Enterprise EditionRelease 11.2.0.4.0 - 64bit Production

With the Partitioning, OLAP, Data Miningand Real Application Testing options

 

SQL>

2.管理wallet

管理wallet同樣適用mkstore命令

查看Credential

[oracle@daidai ~]$ mkstore-wrl /tmp/test_wallet -listCredential

Oracle Secret Store Tool : Version11.2.0.4.0 - Production

Copyright (c) 2004, 2013, Oracle and/or itsaffiliates. All rights reserved.

 

Enter wallet password:love801   3

  

List credential (index: connect_stringusername)

1: wallet_ocp11g daidai

修改wallet中用戶密碼

[oracle@daidai ~]$ mkstore-wrl /tmp/test_wallet -modifyCredential wallet_ocp11g daidai love8014

Oracle Secret Store Tool : Version11.2.0.4.0 - Production

Copyright (c) 2004, 2013, Oracle and/or itsaffiliates. All rights reserved.

 

Enter wallet password:love80    

  

Modify credential

Modify 1

[oracle@daidai ~]$ sqlplus @/wallet_ocp11g

 

SQL*Plus: Release 11.2.0.4.0 Production onTue Jun 14 14:58:35 2016

 

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

 

SP2-0310: unable to openfile "/wallet_ocp11g.sql"

Enter user-name: daidai

Enter password:--此處輸入正確密碼則進入,錯誤密碼則不進入

刪除wallet的用戶認證信息

[oracle@daidai ~]$ mkstore -wrl/tmp/test_wallet -listCredential

Oracle Secret Store Tool : Version11.2.0.4.0 - Production

Copyright (c) 2004, 2013, Oracle and/or itsaffiliates. All rights reserved.

 

Enter wallet password:lov   e8  

  

List credential (index: connect_stringusername)

1: wallet_ocp11g daidai

[oracle@daidai ~]$ mkstore-wrl /tmp/test_wallet -deleteCredential wallet_ocp11g

Oracle Secret Store Tool : Version11.2.0.4.0 - Production

Copyright (c) 2004, 2013, Oracle and/or itsaffiliates. All rights reserved.

 

Enter wallet password: ove801   3

  

Delete credential

Delete 1

查看wallet詳細認證信息

[oracle@daidai ~]$ mkstore-wrl /tmp/test_wallet -list

Oracle Secret Store Tool : Version11.2.0.4.0 - Production

Copyright (c) 2004, 2013, Oracle and/or itsaffiliates. All rights reserved.

 

Enter wallet password:l  e8  013

  

Oracle Secret Store entries:

oracle.security.client.connect_string1

oracle.security.client.password1

oracle.security.client.username1

[oracle@daidai ~]$mkstore-wrl /tmp/test_wallet -viewEntry oracle.security.client.connect_string1

Oracle Secret Store Tool : Version11.2.0.4.0 - Production

Copyright (c) 2004, 2013, Oracle and/or itsaffiliates. All rights reserved.

 

Enter wallet password:lo   ve8  

  

oracle.security.client.connect_string1 =wallet_ocp11g

更改wallet里用戶認證信息的內容

mkstore -wrl/tmp/test_wallet -modifyEntry oracle.security.client.password1skatepwd1

mkstore -wrl/tmp/test_wallet -modifyEntry oracle.security.client.username1skate1

3.  遷移linux wallet至window 7

  1. 按照linux中的樣式修改tnsname.ora[IP & port]和sqlnet.ora[walletpath],注意測試連通性

  2. mkstore -wrl e:/test_wallet –create

  3. 拷貝出linux中wallet文件覆蓋windows中的wallet文件

Oracle Wallet初探

windows遷移至linux,我沒有測試。

名稱欄目:OracleWallet初探
文章鏈接:http://www.aaarwkj.com/article10/igegdo.html

成都網站建設公司_創(chuàng)新互聯,為您提供網站維護、服務器托管、標簽優(yōu)化、電子商務、營銷型網站建設網站制作

廣告

聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯

外貿網站制作
一本色桃子精品久久中文字幕| 欧美日韩视频在线第一页| 亚洲成人自拍在线视频| 国产成年人拍拍免费视频| 国产夫妻性生活视频播放| 日韩欧美一级性生活片| 男同午夜视频在线观看| 亚洲av永久精品一区二区三区 | 亚洲av日韩精品久久久| 日韩在线不卡免费视频一区| 丝袜亚洲激情欧美日韩偷拍| 国产一级三级视频在线| 一区二区三区av夏目彩春| 国产精品综合久久蜜臀av| heyzo高清中文字幕在线| 日本成熟亚洲中文字幕的| 亚洲精品视频久久免费 | 日韩欧美亚洲综合另类| 视频一区二区视频三区| 国产高清视频在线观看流白浆| 青青草原免费在线观看| 欧美一区二区三区高清正版| 欧美黄色一级在线免费观看| 91麻豆精品国产91久5久久| 亚洲最大色网在线观看| 全国最大成人免费视频| 日韩亚洲一区在线观看| 日韩人妻高清精品专区| 91成年精品一区在线观看| 欧美在线免费黄片视频| 曰本真人性做爰视频免费| 亚洲不卡免费在线视频| 中日韩一二三四区在线看| 一区二区三区都市激情| 欧美日韩一区二区综合性色| 门国产av一区二区三区| 91亚洲蜜臀精品国产| 91最新精品丝袜国产在线| 国产美女冒白浆视频免费| 日本高清有码中文字幕| 91精品国产综合久久男男|