Class PasswordDecoder

  • All Implemented Interfaces:
    Decoder

    public class PasswordDecoder
    extends java.lang.Object
    implements Decoder
    Decodes a password using Password.decode(String)

    Decodes system properties that are stored with the {password} scheme.

     sysprop.encrypted={password}PW:AAAAEDNPp8M3xBUiU+goN1cmjBYAAAAQorWHploKWvTb5bmjjgiCWQAAABCa6cnOef76qd67FXsgN4nV
     
    • Constructor Summary

      Constructors 
      Constructor Description
      PasswordDecoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String decode​(java.lang.String value)
      Decode the value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PasswordDecoder

        public PasswordDecoder()
    • Method Detail

      • decode

        public java.lang.String decode​(java.lang.String value)
                                throws java.lang.Exception
        Description copied from interface: Decoder
        Decode the value.
        Specified by:
        decode in interface Decoder
        Parameters:
        value - the original value
        Returns:
        the decoded value
        Throws:
        java.lang.Exception - upon exception.