postClientAuth(subject, PasswordCredential.class); return subject; } else if (type == SecurityConstants.CERTIFICATE){ postClientAuth(subject, X509CertificateCredential.class); return subject; } else if (type == SecurityConstants.ALL){
postClientAuth(subject, PasswordCredential.class); return subject; } else if (type == SecurityConstants.CERTIFICATE){ postClientAuth(subject, X509CertificateCredential.class); return subject; } else if (type == SecurityConstants.ALL){