|
|
|
|
|
|
|
|
|
Re: password protection [message #466565 is a reply to message #466432] |
Wed, 11 January 2006 17:29 |
Alex Blewitt Messages: 946 Registered: July 2009 |
Senior Member |
|
|
There's an AuthorizationDatabase for tracking user passwords already in Eclipse. It's part of the core platform.
Platform.addAuthorizationInfo()
Platform.getAuthorizationInfo()
You can essentially store any data that you want, and it's encrypted to disk. Of course, given that the password is known in the code, it's not that impossible to reverse engineer it, but much the same could be said about a database.
<a href=" http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/core/runtime/Platform.html#g etAuthorizationInfo(java.net.URL,%20java.lang.String,%20java.lang.String)"> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/core/runtime/Platform.html#a ddAuthorizationInfo (java.net.URL,%20java.lang.String,%20java.lang.String,%20jav a.util.Map) </a>
<a href=" http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/core/runtime/Platform.html#g etAuthorizationInfo(java.net.URL,%20java.lang.String,%20java.lang.String)</a>
Alex.
|
|
|
Powered by
FUDForum. Page generated in 0.04443 seconds