Class TmpFilePassword


  • public class TmpFilePassword
    extends Object
    Read a password from a file specified via the ctor and then overwrite the file contents with garbage, and then remove it. This may be used as a password accessor in conjunction with the JaasSecurityDomain {CLASS}org.jboss.security.plugins.TmpFilePassword:password-file format of the KeyStorePass attribute. This class waits until the file exists if it does not when toCharArray() is called. It prints out to the console every 10 seconds the path to the file it is waiting on until the file is created.
    Version:
    $Revison:$
    Author:
    Scott.Stark@jboss.org
    • Constructor Detail

      • TmpFilePassword

        public TmpFilePassword​(String file)