[Ils-source] r1274 - trunk/src/com/resolutions/ils/data
scribe at crosswire.org
scribe at crosswire.org
Tue Dec 2 13:59:59 MST 2014
Author: scribe
Date: 2014-12-02 13:59:59 -0700 (Tue, 02 Dec 2014)
New Revision: 1274
Modified:
trunk/src/com/resolutions/ils/data/UserProfile.java
Log:
added properties for secondary login override setting per user
Modified: trunk/src/com/resolutions/ils/data/UserProfile.java
===================================================================
--- trunk/src/com/resolutions/ils/data/UserProfile.java 2014-11-07 18:32:17 UTC (rev 1273)
+++ trunk/src/com/resolutions/ils/data/UserProfile.java 2014-12-02 20:59:59 UTC (rev 1274)
@@ -633,6 +633,14 @@
return ("T".equals(getValue("USERPRIPRESTRICTOVERRIDE")));
}
+ public void setSecondaryValidationOverride(boolean val) {
+ setValue("USERPRSECONDLOGINOVERRIDE", (val) ? "T" : "F");
+ }
+
+ public boolean isSecondaryValidationOverride() {
+ return ("T".equals(getValue("USERPRSECONDLOGINOVERRIDE")));
+ }
+
public void setUserProfileStatusID(int userProfileStatusID) {
setIntValue("USERPRSTATUSID", userProfileStatusID);
if (userProfileStatusID == UserProfile.STATUS_INACTIVE) {
More information about the Ils-source
mailing list