Class SoffidPasswordCipher

java.lang.Object
com.soffid.iam.tomcat.SoffidPasswordCipher
All Implemented Interfaces:
org.apache.openejb.cipher.PasswordCipher

public class SoffidPasswordCipher extends Object implements org.apache.openejb.cipher.PasswordCipher
  • Constructor Details

    • SoffidPasswordCipher

      public SoffidPasswordCipher()
  • Method Details

    • encrypt

      public char[] encrypt(String plainPassword)
      Specified by:
      encrypt in interface org.apache.openejb.cipher.PasswordCipher
      Throws:
      RuntimeException - in any case of error.
      See Also:
      • PasswordCipher.encrypt(String)
    • decrypt

      public String decrypt(char[] encodedPassword)
      Specified by:
      decrypt in interface org.apache.openejb.cipher.PasswordCipher
      Throws:
      RuntimeException - in any case of error.
      See Also:
      • PasswordCipher.decrypt(char[])
    • main

      public static void main(String[] args)