git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2830
ab3bd59b-922f-494d-bb5f-
6f0a3c29deca
}
if(authnContext.getAuthnContextClassRef() == null || authnContext.getAuthnContextDeclRef() == null){
- AuthnContextDeclRef ref = authnContextDeclRefBuilder.buildObject();
- ref.setAuthnContextDeclRef(loginContext.getAuthenticationMethod());
- authnContext.setAuthnContextDeclRef(ref);
+ AuthnContextClassRef ref = authnContextClassRefBuilder.buildObject();
+ ref.setAuthnContextClassRef(loginContext.getAuthenticationMethod());
+ authnContext.setAuthnContextClassRef(ref);
}
return authnContext;