Cov txheej txheem:

Kuv yuav encrypt cov khoom hauv mule li cas?
Kuv yuav encrypt cov khoom hauv mule li cas?

Video: Kuv yuav encrypt cov khoom hauv mule li cas?

Video: Kuv yuav encrypt cov khoom hauv mule li cas?
Video: PRESTIN - Hnub No Koj Yuav Ncaim Mus (Cover) 2024, Kaum ib hlis
Anonim

khoom file thiab xaiv Qhib nrog -> Mule Properties Editor. Nyem rau ntawm ntsuab + icon hauv lub studio. Hauv Ntxiv Tshiab Khoom qhov rais, ntxiv tus yuam sij thiab tus nqi. Nyem rau Nkag mus khawm yog tias koj xav tau encryption tus nqi, thiab tsis yog tias koj tsis xav tau.

Tsis tas li cov lus nug yog, koj ua li cas kom ruaj ntseg hauv mule?

Ntxiv thiab Configure Secure Configuration Properties rau koj App

  1. Mus rau koj cov ntaub ntawv teeb tsa Mule app.
  2. Xaiv cov khoom thoob ntiaj teb tab.
  3. Nyem Tsim.
  4. Xaiv Secure Properties Config.
  5. Configure lub ntiaj teb no lub caij nrog ib tug ntaub ntawv qhov chaw, Ntsiab, algorithm, hom, ntaub ntawv qib encryption, thiab encoding.
  6. Nyem OK.

Kuj Paub, Kuv yuav encrypt thiab decrypt password li cas hauv mule? properties - Txoj cai nyem rau ntawm cov ntaub ntawv cov khoom thiab qhib nrog Mule Properties Editor. 4. Ob npaug nyem rau ntawm qhov tseem ceeb uas koj xav tau encryption ( Cov passwords teb) - Nkag mus / Decryption kev xaiv yuav muaj.

Tsis tas li ntawd, kuv yuav ua li cas encrypt tus mule?

Yog tias tus yuam sij raug khaws cia hauv qhov chaw khaws khoom tseem ceeb, nkag mus rau tus lej nkag mus rau lub khw muag khoom. Xaiv algorithm siv rau encryption cov ntaub ntawv. Xaiv ib encryption code rau Mule siv rau encryption cov ntaub ntawv.

Nyem qhov ntsuab + thiab teeb tsa raws li hauv qab no:

  1. Host: localhost.
  2. Chaw nres nkoj: 8081.
  3. Method: POST.
  4. Txoj kev: encrypt.

Kuv yuav saib cov ntaub ntawv muaj nyob hauv mule li cas?

Yuav Ua Li Cas Nyeem Cov Ntaub Ntawv Cov Ntaub Ntawv Hauv Mule

  1. Ua ntej tsim cov ntaub ntawv nrog.properties extension (yuav ua tau txawv extension tab sis pom zoo) nyob rau hauv src/main/resources #first-lub xeem npe ua ke Jane = Doe John = Mavis.
  2. Tsim ib lub ntiaj teb no rau cov ntaub ntawv khoom.
  3. Siv ${} - "${Jane}"
  4. Siv p() - p("Jane")

Pom zoo: