Skip to content

Commit

Permalink
Upgrading ConnId SCIM bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Jul 5, 2023
1 parent d557acb commit ae2da63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import java.security.KeyStore;
import java.security.PrivateKey;
import java.security.cert.X509Certificate;
import java.util.Optional;
import org.apache.syncope.common.lib.to.EntityTO;
import org.apache.syncope.core.logic.saml2.NoOpLogoutHandler;
import org.pac4j.saml.config.SAML2Configuration;
Expand All @@ -47,14 +46,12 @@ protected AbstractSAML2SP4UILogic(
protected SAML2Configuration newSAML2Configuration() {
SAML2Configuration cfg = new SAML2Configuration(
resourceResolver.getResource(props.getKeystore()),
props.getKeystoreAlias(),
props.getKeystoreType(),
props.getKeystoreStorepass(),
props.getKeystoreKeypass(),
null);

Optional.ofNullable(props.getKeystoreAlias()).ifPresent(cfg::setKeystoreAlias);

cfg.setKeystoreType(Optional.ofNullable(props.getKeystoreType()).orElseGet(() -> KeyStore.getDefaultType()));

if (cfg.getKeystoreResource() instanceof FileUrlResource) {
cfg.setKeystoreGenerator(new BaseSAML2KeystoreGenerator(cfg) {

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ under the License.
<connid.ad.version>1.3.8</connid.ad.version>
<connid.googleapps.version>1.4.4</connid.googleapps.version>
<connid.azure.version>2.0.1</connid.azure.version>
<connid.scim.version>1.0.1</connid.scim.version>
<connid.scim.version>1.0.2</connid.scim.version>
<connid.servicenow.version>1.0.2</connid.servicenow.version>
<connid.okta.version>3.0.0</connid.okta.version>
<connid.cmd.version>0.5</connid.cmd.version>
Expand Down

0 comments on commit ae2da63

Please sign in to comment.