|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.plugins.TmpFilePassword
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.
Constructor Summary | |
TmpFilePassword(java.lang.String file)
|
Method Summary | |
char[] |
toCharArray()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TmpFilePassword(java.lang.String file)
Method Detail |
public char[] toCharArray() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |