Skip to content

Commit

Permalink
Adding missing option to specify keystore alias in SAML 2.0 SP4UI con…
Browse files Browse the repository at this point in the history
…figuration
  • Loading branch information
ilgrosso committed Jul 3, 2023
1 parent c0f5a14 commit 27c939a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected AbstractSAML2SP4UILogic(
protected SAML2Configuration newSAML2Configuration() {
SAML2Configuration cfg = new SAML2Configuration(
resourceResolver.getResource(props.getKeystore()),
null,
props.getKeystoreAlias(),
props.getKeystoreType(),
props.getKeystoreStorepass(),
props.getKeystoreKeypass(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public class SAML2SP4UIProperties {

private String keystoreKeypass;

private String keystoreAlias;

private long skew;

public String getKeystore() {
Expand Down Expand Up @@ -65,6 +67,14 @@ public void setKeystoreKeypass(final String keystoreKeypass) {
this.keystoreKeypass = keystoreKeypass;
}

public String getKeystoreAlias() {
return keystoreAlias;
}

public void setKeystoreAlias(final String keystoreAlias) {
this.keystoreAlias = keystoreAlias;
}

public long getSkew() {
return skew;
}
Expand Down

0 comments on commit 27c939a

Please sign in to comment.