You shall look
www.radaeepdf.com/documentation/javadocs...ee/pdf/Document.html.
Find the Open() method definition.
If PDF is not password protected m_pwd shall be null, otherwise it shall contain the proper string.
If your documents have different passwords you shall provide the Open() the proper value, ie.: loading all the passwords in an array m_pwd[] and cycling through the index while doing the for{} cycle.
You should also modify the Open statement like this:
int iOpened=doc.Open(m_path, null)
if(iOpened == -1) iOpened = doc.Open(m_path, m_pwd)
if(iOpened == 0) {
...
}