dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41200
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20976: Minor
------------------------------------------------------------
revno: 20976
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2015-11-07 18:12:43 +0100
message:
Minor
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java 2015-11-07 17:11:20 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java 2015-11-07 17:12:43 +0000
@@ -441,6 +441,14 @@
}
/**
+ * Indicates whether an LDAP identifier is set.
+ */
+ public boolean hasLdapId()
+ {
+ return ldapId != null && !ldapId.isEmpty();
+ }
+
+ /**
* Indicates whether a password is set.
*/
public boolean hasPassword()