* local credential resolver
*/
protected Collection<? extends Credential> resolveByKeyName(String keyName) throws SecurityException {
ArrayList<Credential> localCreds = new ArrayList<Credential>();
CriteriaSet criteriaSet = new CriteriaSet( new KeyNameCriteria(keyName) );
for (Credential cred : getLocalCredentialResolver().resolve(criteriaSet)) {
if (isLocalCredential(cred)) {
localCreds.add(cred);
}
}