Fix PMD warnings
Support Application as SubjectCredentials (OPAL-2136)