diff options
author | James Moger <james.moger@gitblit.com> | 2013-06-17 16:00:17 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-06-17 16:00:17 -0400 |
commit | 06116dd5f166ec2fff0531d21d6a291c9018703c (patch) | |
tree | c46a97a5fa6fb3dcd496251b66ce4d3ae9bb1e35 /src/main/java/com/gitblit/SalesforceUserService.java | |
parent | 06b691211585fbe4049099b15fffb4cdc42cb728 (diff) | |
download | gitblit-06116dd5f166ec2fff0531d21d6a291c9018703c.tar.gz gitblit-06116dd5f166ec2fff0531d21d6a291c9018703c.zip |
Minor tweaks to SalesForce user service
Diffstat (limited to 'src/main/java/com/gitblit/SalesforceUserService.java')
-rw-r--r-- | src/main/java/com/gitblit/SalesforceUserService.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/SalesforceUserService.java b/src/main/java/com/gitblit/SalesforceUserService.java index 989b4878..aa0795ac 100644 --- a/src/main/java/com/gitblit/SalesforceUserService.java +++ b/src/main/java/com/gitblit/SalesforceUserService.java @@ -5,6 +5,7 @@ import java.io.File; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import com.gitblit.Constants.AccountType; import com.gitblit.models.UserModel; import com.gitblit.utils.ArrayUtils; import com.gitblit.utils.StringUtils; @@ -18,7 +19,11 @@ public class SalesforceUserService extends GitblitUserService { public static final Logger logger = LoggerFactory .getLogger(SalesforceUserService.class); private IStoredSettings settings; - + + protected AccountType getAccountType() { + return AccountType.SALESFORCE; + } + @Override public void setup(IStoredSettings settings) { this.settings = settings; |