Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSIP-30738 Added exclusion for auth lock for resident portal #979

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ CREATE TABLE idrepo.uin_auth_lock(
is_deleted boolean,
del_dtimes timestamp,
unlock_expiry_datetime timestamp,
lock_excluded_auth_partners character varying(256),
CONSTRAINT pk_uinal PRIMARY KEY (uin_hash,auth_type_code,lock_request_datetime)

);
Expand Down
1 change: 1 addition & 0 deletions db_scripts/mosip_idrepo/ddl/idrepo-uin_auth_lock.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ CREATE TABLE idrepo.uin_auth_lock(
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
unlock_expiry_datetime timestamp,
lock_excluded_auth_partners character varying(256),
CONSTRAINT pk_uinal PRIMARY KEY (uin_hash,auth_type_code,lock_request_datetime)

);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.mosip.idrepository.core.dto;

import java.util.List;
import java.util.Map;

import lombok.AllArgsConstructor;
Expand Down Expand Up @@ -27,5 +28,7 @@ public AuthtypeStatus(String authType, Boolean locked, Map<String, Object> metad
private Boolean locked;
private Long unlockForSeconds;
private String requestId;
private List<String> excludeLockForResidentLogin;
private boolean lockExcludedAuthPartners;
private Map<String, Object> metadata;
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ public class AuthtypeLock {
@Column(name = "del_dtimes")
private LocalDateTime delDTimes;

@Column(name = "lock_excluded_auth_partners")
private String lockExcludedAuthPartners;

/**
* Instantiates a new compositeclass.
*/
Expand Down
Loading