File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
core/org.wso2.carbon.user.api/src/main/java/org/wso2/carbon/user/api Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ public class Claim implements Serializable {
9494 */
9595 private boolean multiValued ;
9696
97+ private boolean userStorePersistenceEnabled ;
98+
9799 public String getClaimUri () {
98100 return claimUri ;
99101 }
@@ -191,4 +193,22 @@ public void setMultiValued(boolean multiValued) {
191193
192194 this .multiValued = multiValued ;
193195 }
196+
197+ /**
198+ * Indicates whether the user store persistence is enabled for this claim.
199+ * @return true if enabled, false otherwise.
200+ */
201+ public boolean isUserStorePersistenceEnabled () {
202+
203+ return userStorePersistenceEnabled ;
204+ }
205+
206+ /**
207+ * Sets the user store persistence enabled status for this claim.
208+ * @param userStorePersistenceEnabled true to enable, false to disable.
209+ */
210+ public void setUserStorePersistenceEnabled (boolean userStorePersistenceEnabled ) {
211+
212+ this .userStorePersistenceEnabled = userStorePersistenceEnabled ;
213+ }
194214}
You can’t perform that action at this time.
0 commit comments