Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-3504

Password Encryption not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 5.6.0
    • None
    • features
    • None

    Description

      Hi Team,

      I am unable to encrypt passwords in servicemix.
      Below is my org.apache.karaf.jaas.cfg file.
      Please suggest do I need to change any other configuration or how does it encrypts password in users.properties

      #

      1. Boolean enabling / disabling encrypted passwords
        #
        encryption.enabled = true

      #

      1. Encryption Service name
      2. the default one is 'basic'
      3. a more powerful one named 'jasypt' is available
      4. when installing the encryption feature
        #
        encryption.name = basic

      #

      1. Encryption prefix
        #
        encryption.prefix = PRE

      #

      1. Encryption suffix
        #
        encryption.suffix = SUFFIX

      #

      1. Set the encryption algorithm to use in Karaf JAAS login module
      2. Supported encryption algorithms follow:
      3. MD2
      4. MD5
      5. SHA-1
      6. SHA-256
      7. SHA-384
      8. SHA-512
        #
        encryption.algorithm = SHA-1

      #

      1. Encoding of the encrypted password.
      2. Can be:
      3. hexadecimal
      4. base64
        #
        encryption.encoding = hexadecimal

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            pragyasrivastava pargya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: