Class SpringSecurityCryptoEncryption

  • All Implemented Interfaces:
    org.apache.karaf.jaas.modules.Encryption

    public class SpringSecurityCryptoEncryption
    extends Object
    implements org.apache.karaf.jaas.modules.Encryption
    Spring Security Crypto implementation of the Encryption service.
    • Constructor Detail

      • SpringSecurityCryptoEncryption

        public SpringSecurityCryptoEncryption​(Map<String,​String> params)

        Default constructor with the encryption algorithm.

        Parameters:
        params - encryption parameters
    • Method Detail

      • encryptPassword

        public String encryptPassword​(String plain)
        Specified by:
        encryptPassword in interface org.apache.karaf.jaas.modules.Encryption
      • checkPassword

        public boolean checkPassword​(String password,
                                     String input)
        Specified by:
        checkPassword in interface org.apache.karaf.jaas.modules.Encryption