Results 1 to 5 of 5
  1. #1
    Tokajac is offline Member
    Join Date
    Jun 2008
    Posts
    13
    Rep Power
    0

    Default Tomcat Realm DES encrypted passwords

    I want to create a project in Eclipse with Java, Tomcat and Struts.
    Login needs to be done with DES encrypted passwords.

    Where can I find examples for this? I'm in a hurry, and Google still doesn't help me a lot on this problem.

    Any constructive hints would be useful, but project example would be the best!

    Regards

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    10

    Exclamation no hurry

    It's discussed in Java Cryptography Architecture

    Do not get in a hurry doing crypto, that won't work
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    Tokajac is offline Member
    Join Date
    Jun 2008
    Posts
    13
    Rep Power
    0

    Default Tomcat Realm DES encrypted passwords

    Actually i need to extend JDBCRealm class and to use DES encryption for storing passwords in MySql database.
    I should use Struts architecture.

    Examples are welcome!


    Regards

  4. #4
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    10

    Default strength

    Quote Originally Posted by Tokajac View Post
    DES
    Why not AES?
    Actually i need to extend JDBCRealm class and to use
    Explaing why you selected JDBCRealm.
    Java Code:
    encryption for storing passwords in MySql database.
    Use HMAC, storing passwords anywhere is never-never land.
    I should use Struts architecture.
    Why. { not a question - basis for further work }
    Examples are welcome!
    Java Code:
    KeyGenerator KEY_GENERATOR;
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  5. #5
    Tokajac is offline Member
    Join Date
    Jun 2008
    Posts
    13
    Rep Power
    0

    Default

    I have a task that has to be implemented this way.

    I tried to do it alone, but without success.
    Any help is welcome, but i think that project examples would be the best!


    Regards

Similar Threads

  1. About Tomcat
    By sindhuri in forum JavaServer Pages (JSP) and JSTL
    Replies: 21
    Last Post: 04-25-2008, 10:13 AM
  2. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 11:33 AM
  3. Taking passwords on the console
    By eva in forum Advanced Java
    Replies: 2
    Last Post: 12-19-2007, 10:28 AM
  4. Replies: 0
    Last Post: 12-15-2007, 09:29 AM
  5. tomcat xml
    By Ed in forum XML
    Replies: 2
    Last Post: 07-04-2007, 05:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •