Maven의 공용설정이 담긴 setting.xml 파일이 있다. 여기에 들어가는 server 섹션에는 배포를 위해서 필요로하는 서버의 인증정보들이 보통 담겨져 있다. 문제는 암호화 되지 않은 단순 텍스트로 저장된다는 것. 보안상 위험을 초래할 수 있는 대표적인 취약점이다. 배포 서버의 계정 비밀번호등이 노출된다는 것은 결코 바람직하지 않다.

이를 위해서 2.1 에서는 엔코딩된 비밀번호를 넣을 수 있는 기능이 추가되었다.

이제는 다음처럼 암호화된 비밀번호를 settings.xml에 담아놓고 사용할 수 있는 기능이 추가되었다.

<server> 
    <id>my.server</id>  
    <username>foo</username>
    <password>{COQLCE6DU6GtcS5P=}</password>
</server>

자세한 내용은 New Feature: Maven Settings Password Encryption에 나와 있다.

문제는 언제 나올지 모르는, 이제 겨우 M2-SNAPSHOT 버전인 2.1에만 적용됐다는 점이다.

Related posts:

  1. Maven 다중 리포지토리와 버전 범위를 사용할 때의 주의점
  2. Nexus Maven Repository 1.0 출시
  3. Maven 3.0과 버전 포맷 문제
  4. Maven POM에 attribute 사용하기 (2)
  5. Maven POM에 attribute 사용하기 (1)
  6. Spring 2.0의 XML확장기능 (1)
  7. Spring 2.0 XML확장기능 (3)
  8. Spring 2.0의 XML확장기능 (2)
  9. 스프링 3.1 (6) web.xml의 활성 프로파일 설정
  10. Spring 3.0 (58) Static Class를 XML없이 빈으로 등록하기
  11. Maven 재도전기 (1)
  12. Maven 의존관계 수렁에 빠지다
  13. Spring 3.0 (34) R-941 스프링의 Maven 지원정책은?
  14. Ruby on Maven
  15. Maven: The Definitive Guide 사라지다

Facebook comments:

to “Maven settings.xml의 비밀번호 암호화”

  1. Thanks for giving your ideas in this article. The other element is that any time a problem comes up with a computer system motherboard, folks should not consider the risk with repairing it themselves for if it is not done right it can lead to permanent damage to all the laptop. It is almost always safe to approach the dealer of the laptop for that repair of motherboard. They’ve technicians that have an know-how in dealing with notebook motherboard problems and can make right analysis and execute repairs.

  2. you are truly a just right webmaster. The website loading pace is amazing. It kind of feels that you’re doing any unique trick. Also, The contents are masterpiece. you have done a magnificent task in this topic!

  3. Hmm is anyone else having problems with the pictures on this blog loading? I’m trying to figure out if its a problem on my end or if it’s the blog. Any responses would be greatly appreciated.

  4. Needed to compose you one bit of observation to thank you yet again on your nice opinions you have shown in this case. It is quite particularly generous of you to present unhampered exactly what a few individuals would’ve made available as an electronic book in order to make some profit for their own end, especially considering the fact that you might have tried it if you wanted. Those tactics also served to be a good way to fully grasp other individuals have a similar passion similar to my own to learn a whole lot more related to this condition. I think there are many more enjoyable times up front for folks who scan your site.

  5. I dugg some of you post as I cerebrated they were very helpful very useful

  6. I’m impressed, I must say. Rarely do I encounter a blog that’s both educative and entertaining, and let me tell you, you have hit the nail on the head. The problem is something that not enough people are speaking intelligently about. I’m very happy that I came across this during my hunt for something concerning this.

  7. Magnificent goods from you, man. I have understand your stuff previous to and you are just too great. I actually like what you have acquired here, really like what you’re saying and the way in which you say it. You make it entertaining and you still care for to keep it smart. I can not wait to read far more from you. This is really a tremendous web site.

  8. I¡¦ll immediately grab your rss feed as I can not to find your e-mail subscription link or e-newsletter service. Do you have any? Kindly permit me recognize so that I may subscribe. Thanks.

  9. I keep listening to the news lecture about getting boundless online grant applications so I have been looking around for the most excellent site to get one. Could you advise me please, where could i find some?

  10. I genuinely enjoy looking through on this web site, it has got great content. “Beware lest in your anxiety to avoid war you obtain a master.” by Demosthenes.

  11. Paris Hilton: So lovely spending time with Manny and h

  12. Hello! I know this is somewhat off topic but I was wondering which blog platform are you using for this site? I’m getting fed up of WordPress because I’ve had problems with hackers and I’m looking at options for another platform. I would be awesome if you could point me in the direction of a good platform.

  13. Good day very cool website!! Guy .. Excellent .. Superb .. I will bookmark your web site and take the feeds additionally…I am glad to find a lot of helpful information here within the post, we’d like develop extra strategies in this regard, thanks for sharing.

  14. I enjoy, cause I found just what I used to be taking a look for. You have ended my four day lengthy hunt! God Bless you man. Have a great day. Bye

  15. My husband and i got so happy when Emmanuel could round up his investigation out of the ideas he made through the web page. It is now and again perplexing to just continually be giving out guides which usually others have been selling. So we remember we need the writer to thank for that. All of the illustrations you have made, the easy web site navigation, the friendships you will assist to create – it’s most superb, and it’s facilitating our son in addition to us know that that topic is cool, and that is particularly vital. Many thanks for all!

  16. I found your weblog website on google and examine a couple of of your early posts. Proceed to maintain up the excellent operate. I simply additional up your RSS feed to my MSN News Reader. Searching for ahead to reading extra from you in a while!…

  17. It’s actually a great and helpful piece of info. I’m glad that you shared this helpful information with us. Please keep us up to date like this. Thanks for sharing.

  18. hi!,I really like your writing so so much! share we communicate extra approximately your article on AOL? I need a specialist in this space to unravel my problem. May be that is you! Taking a look ahead to see you.

  19. naturally like your web-site however you need to take a look at the spelling on several of your posts. Several of them are rife with spelling problems and I to find it very bothersome to inform the truth on the other hand I will definitely come again again.

  20. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a little bit, but instead of that, this is wonderful blog. An excellent read. I will definitely be back.

  21. It’s a shame you don’t have a donate button! I’d without a doubt donate to this brilliant blog! I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to brand new updates and will talk about this site with my Facebook group. Chat soon!

  22. I’m just writing to make you know what a helpful discovery my cousin’s girl had visiting the blog. She picked up a good number of issues, not to mention how it is like to possess an excellent teaching mindset to let many more smoothly know several grueling things. You truly exceeded her expectations. Many thanks for providing the essential, trusted, informative and easy tips on the topic to Tanya.

  23. You have brought up a very superb details , regards for the post.

  24. excellent issues altogether, you simply received a new reader. What might you suggest in regards to your publish that you simply made a few days ago? Any sure?

  25. Hi there, I found your web site by the use of Google whilst looking for a related topic, your site came up, it looks great. I’ve bookmarked it in my google bookmarks.

  26. I like reading through a post that can make people think. Also, many thanks for allowing for me to comment.

  27. I got what you intend, thanks for putting up.Woh I am pleased to find this website through google. “Food is the most primitive form of comfort.” by Sheila Graham.

  28. Good post. I study one thing tougher on different blogs everyday. It’ll all the time be stimulating to learn content from different writers and apply just a little one thing from their store. I’d favor to use some with the content on my weblog whether you don’t mind. Natually I’ll give you a hyperlink in your internet blog. Thanks for sharing.

  29. I was studying some of your articles on this website and I think this website is real informative ! Retain posting .

  30. I like what you guys are up too. Such smart work and reporting! Keep up the superb works guys I’ve incorporated you guys to my blogroll. I think it will improve the value of my site :) .

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2017 Toby's Epril Suffusion theme by Sayontan Sinha