add files with urls of authenticate module

This commit is contained in:
Marcin Michałek committed 2015-01-19 18:30:52 +01:00
1 parent 4681376ef1
commit 590c105987
3 files changed
+52

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package hello;
/**
* Created by Marcin on 2015-01-19.
*/
/**
* Contains URLs of our controllers
*/
public final class APIServicePaths {
private APIServicePaths() {
}
public static final String ROOT = "http://10.156.207.136:8080/";
}
+14
View File
@@ -0,0 +1,14 @@
package hello;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* Created by Marcin on 2015-01-19.
*/
@Controller
@RequestMapping("http://10.156.207.136:8080/auth-ws/")
public class LoginController {
}
@@ -0,0 +1,23 @@
package hello;
/**
* Created by Marcin on 2015-01-19.
*/
/**
* Contains URL for all other modules
*/
public final class ModuleServicePaths {
private ModuleServicePaths() {
}
public static final String ROOT= "http://10.156.207.136:8080";
//AUTHENTICATION
public static final String AUTHENTICATION_MODULE = ROOT + "/auth-ws";
public static final String AUTHENTICATICATE = AUTHENTICATION_MODULE + "/authenticate";
public static final String CHECK_PERMISSION_FOR_TOKEN = AUTHENTICATION_MODULE + "/checkPermissionForToken";
public static final String GET_USER_FOR_TOKEN = AUTHENTICATION_MODULE + "/getUserForToken";
public static final String INVALIDATE_TOKEN = AUTHENTICATION_MODULE + "/invalidateToken";
}