Skip to content

Commit

Permalink
fix(jans-fido2): removed legacy SuperGluu support #9453 (#9468)
Browse files Browse the repository at this point in the history
Signed-off-by: Madhumita <madhu@gluu.org>
  • Loading branch information
maduvena authored and moabu committed Nov 7, 2024
1 parent bb3087e commit d7bd2b1
Show file tree
Hide file tree
Showing 25 changed files with 150 additions and 2,965 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
import io.jans.fido2.model.common.SuperGluuSupport;

import io.jans.orm.model.fido2.UserVerification;
@JsonIgnoreProperties(ignoreUnknown = true)
public class AssertionOptions extends SuperGluuSupport {
public class AssertionOptions {
private String username;
private UserVerification userVerification;
private String documentDomain;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

import com.google.common.base.Strings;
import io.jans.fido2.model.common.PublicKeyCredentialType;
import io.jans.fido2.model.common.SuperGluuSupport;

public class AssertionResult extends SuperGluuSupport {
public class AssertionResult {
private String id;
private String type = PublicKeyCredentialType.PUBLIC_KEY.getKeyName();
private String rawId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
import com.fasterxml.jackson.databind.JsonNode;
import io.jans.fido2.ctap.AttestationConveyancePreference;
import io.jans.fido2.ctap.AuthenticatorAttachment;
import io.jans.fido2.model.common.SuperGluuSupport;


@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AttestationOptions extends SuperGluuSupport {
public class AttestationOptions {
private String username ;
private String displayName;
private AttestationConveyancePreference attestation;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.jans.fido2.model.attestation;

import io.jans.fido2.model.common.PublicKeyCredentialType;
import io.jans.fido2.model.common.SuperGluuSupport;

public class AttestationResult extends SuperGluuSupport {

public class AttestationResult {
private String id;
private String type = PublicKeyCredentialType.PUBLIC_KEY.getKeyName();
private Response response;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ public class AppConfiguration implements Configuration, Serializable {
@DocProperty(description = "Custom object class list for dynamic person enrolment")
private List<String> personCustomObjectClassList;

@DocProperty(description = "Boolean value to enable disable Super Gluu extension")
private boolean superGluuEnabled;

@DocProperty(description = "Boolean value specifying whether to persist session_id in cache", defaultValue = "false")
private Boolean sessionIdPersistInCache = false;
Expand Down Expand Up @@ -197,14 +195,7 @@ public void setFido2Configuration(Fido2Configuration fido2Configuration) {
this.fido2Configuration = fido2Configuration;
}

public boolean isSuperGluuEnabled() {
return superGluuEnabled;
}

public void setSuperGluuEnabled(boolean superGluuEnabled) {
this.superGluuEnabled = superGluuEnabled;
}


public Boolean getSessionIdPersistInCache() {
if (sessionIdPersistInCache == null) sessionIdPersistInCache = false;
return sessionIdPersistInCache;
Expand Down
43 changes: 0 additions & 43 deletions jans-fido2/model/src/main/java/io/jans/fido2/sg/SuperGluuMode.java

This file was deleted.

Loading

0 comments on commit d7bd2b1

Please sign in to comment.