Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Jan 28, 2025
1 parent 94ed08e commit 1a3d015
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 357 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
import org.apache.syncope.core.logic.saml2.NoOpSessionStore;
import org.apache.syncope.core.logic.saml2.SAML2ClientCache;
import org.apache.syncope.core.logic.saml2.SAML2SP4UIContext;
import org.apache.syncope.core.logic.saml2.SAML2SP4UIFrameworkAdapter;
import org.apache.syncope.core.logic.saml2.SAML2SP4UIUserManager;
import org.apache.syncope.core.persistence.api.dao.NotFoundException;
import org.apache.syncope.core.persistence.api.dao.SAML2SP4UIIdPDAO;
Expand All @@ -71,7 +70,6 @@
import org.opensaml.saml.saml2.metadata.AssertionConsumerService;
import org.opensaml.saml.saml2.metadata.EntityDescriptor;
import org.opensaml.saml.saml2.metadata.impl.AssertionConsumerServiceBuilder;
import org.pac4j.core.config.Config;
import org.pac4j.core.context.CallContext;
import org.pac4j.core.credentials.Credentials;
import org.pac4j.core.exception.http.RedirectionAction;
Expand Down Expand Up @@ -139,8 +137,6 @@ public SAML2SP4UILogic(
this.userManager = userManager;
this.idpDAO = idpDAO;
this.authDataAccessor = authDataAccessor;

SAML2SP4UIFrameworkAdapter.INSTANCE.applyDefaultSettingsIfUndefined(new Config());
}

protected static String validateUrl(final String url) {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,6 @@ protected void sso(final String baseURL, final String username, final String pas

// 2c. WA attribute consent screen
if (isOk) {
// check attribute repository
assertTrue(responseBody.contains("identifier"));
assertTrue(responseBody.contains("[value1]"));

String execution = extractWAExecution(responseBody);

List<NameValuePair> form = new ArrayList<>();
Expand Down
4 changes: 0 additions & 4 deletions sra/src/main/java/org/apache/syncope/sra/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
import org.apache.syncope.sra.security.saml2.SAML2SecurityConfigUtils;
import org.apache.syncope.sra.security.saml2.SAML2WebSsoAuthenticationWebFilter;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.pac4j.core.config.Config;
import org.pac4j.core.http.callback.NoParameterCallbackUrlResolver;
import org.pac4j.jee.adapter.JEEFrameworkAdapter;
import org.pac4j.saml.client.SAML2Client;
import org.pac4j.saml.config.SAML2Configuration;
import org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator;
Expand Down Expand Up @@ -251,8 +249,6 @@ public ReactiveJwtDecoder oauth2JWTDecoder(
@ConditionalOnMissingBean
@ConditionalOnProperty(prefix = SRAProperties.PREFIX, name = SRAProperties.AM_TYPE, havingValue = "SAML2")
public SAML2Client saml2Client(final ResourcePatternResolver resourceResolver, final SRAProperties props) {
JEEFrameworkAdapter.INSTANCE.applyDefaultSettingsIfUndefined(new Config());

SAML2Configuration cfg = new SAML2Configuration(
resourceResolver.getResource(props.getSaml2().getKeystore()),
null,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1a3d015

Please sign in to comment.