Updated config
This commit is contained in:
@@ -266,8 +266,8 @@ public class SecurityConfig {
|
||||
context.getAuthnRequest().setRequestedAuthnContext(buildRequestedAuthnContext());
|
||||
|
||||
// Log the SAML AuthnRequest after setting the authentication context
|
||||
String samlRequest = context.getAuthnRequest().toString(); // Get the updated AuthnRequest
|
||||
logger.info("SAML AuthnRequest after setting context: " + samlRequest); // Log the updated SAML request
|
||||
String samlRequest = SamlRequestLogger.convertSAMLObjectToString(context.getAuthnRequest());
|
||||
logger.info("SAML AuthnRequest after setting context: " + samlRequest);
|
||||
});
|
||||
|
||||
return authenticationRequestResolver;
|
||||
|
||||
Reference in New Issue
Block a user