Results 1 to 3 of 3

Thread: decrypt password....

  1. #1

    Question decrypt password....

    How to decrypt password. encrypted by spring security using :folloring code in spring 3.0


    <authentication-manager alias="authenticationManager">
    <authentication-provider user-service-ref="HibernateUserDetailsService">
    <password-encoder ref="passwordEncoder" hash="sha-256">
    <salt-source ref="saltSource"/>
    </password-encoder>
    </authentication-provider>
    </authentication-manager>


    answer replay on jpatel@logicom.in

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    You don't... It is a one-way hash code. I suggest a read on encryption mechanisms...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Dec 2008
    Location
    India
    Posts
    295

    Default

    you cant decrypt it, can you tell for what u need this? if you want to compare two passwords are same then, better encrypt user given password and then compare both encrypt password, which already spring do for us.
    Enjoy
    Rohan Chauhan
    ------------------------------------------------------------------------------
    SpringSource Certified Spring 3.0 Professional


Posting Permissions

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