Skip to content

Instantly share code, notes, and snippets.

View davidmc24's full-sized avatar

David M. Carr davidmc24

  • Albany, NY, USA
  • 17:52 (UTC -04:00)
View GitHub Profile
import base.shiro.ShiroRole
import base.shiro.ShiroUser
import org.apache.shiro.cas.CasAuthenticationException
import org.apache.shiro.authc.AccountException
import org.apache.shiro.authc.SimpleAuthenticationInfo
import org.apache.shiro.util.StringUtils
import org.apache.shiro.util.CollectionUtils
import org.apache.shiro.subject.PrincipalCollection
import org.apache.shiro.subject.SimplePrincipalCollection
@davidmc24
davidmc24 / test.patch
Last active December 27, 2015 17:48 — forked from devmop/Junit test
diff --git a/build.gradle b/build.gradle
index 3da4379..699c56d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -70,6 +70,7 @@ project(':feign-gson') {
compile project(':feign-core')
compile 'com.google.code.gson:gson:2.2.4'
testCompile 'org.testng:testng:6.8.5'
+ testCompile 'com.google.mockwebserver:mockwebserver:20130706'
}